I've recently set up a Common Lisp programming environment in Mac OS X Leopard. One emacs module which I've found to be indispensable is paredit. Paredit is doing its part to help me wrangle my Lisp code more easily, but I've ran into a bit of a snare.
C-), bound to paredit-forward-slurp-sexp
, is not forward slurping sexps but instead echoing the number 0
. I'm using a Mac, alternating between iTerm and Terminal. The same problem is present in both apps.
I tried the same key combination in GNU Emacs' GUI version, and lo, it worked. Unfortunately the graphical version of Emacs does not satisfy my needs; I would like to keep using my iTerm based rig.
So I ask you, stackoverflow: what do I have to do to get the C-) combo to register with iTerm?
IIRC, the modifier combination of Control and Shift cannot be sent to Emacs in a terminal. C-)
requires the shift key, so it's out of bounds. I'm not convinced that any amount of terminal tweaking will change this.
I believe paredit-forward-slurp-sexp
also gets bound to C-<right>
by default, which should work fine in a terminal, so perhaps you can train your fingers to use that key instead.