只是习惯于在OS X上的emacs中进行分析 - C-C怎么不起作用? [英] Just getting used to paredit in emacs on OS X - how come C-) doesn't work?
问题描述
C-),绑定到 paredit-forward-slurp-sexp
,不是前进诽谤sexps,而是回应号码 0
。我正在使用Mac,在iTerm和Terminal之间交替使用。两个应用程序中都存在同样的问题。
我在GNU Emacs的GUI版本中尝试了相同的组合键,而且它的工作。不幸的是,Emacs的图形版本不能满足我的需要;我想继续使用我的基于iTerm的钻机。
所以我问你,stackoverflow:我要做什么来获得C-)组合以注册iTerm ?
IIRC,控制和移位的修改器组合不能发送到终端中的Emacs。 C - )
需要shift键,所以它是超出范围。我不相信任何数量的终端调整都会改变这一点。
我相信 paredit-forward-slurp-sexp
也默认绑定到 C-< right>
,这在终端中应该可以正常工作,所以也许你可以训练你的手指来使用该键。 / p>
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.
这篇关于只是习惯于在OS X上的emacs中进行分析 - C-C怎么不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!