C-<SPC> is intercepted in emacs -nw (terminal intercept?)

╄→гoц情女王★ 提交于 2019-12-25 02:43:42

问题


I use urxvt (terminal) under awesome (window manager) and ubuntu (os). In graphical mode, c- set the mark but in text mode it inserts a space. The problem is solved when using gnome-terminal but some other key combinations still does not work. For instance, C-: insert a : in both terminals. I do not know where to look at to correct this behaviour. C-h k (help on key combination) followed by one of these combination shows only the key pressed along ctrl, for instance C- is interpreted as .

As stated in comments, the terminal is probably the cause. I believe that C- should not enter a space at the terminal prompt, which it does here.

I identified this question as being related. This one too.


回答1:


In my case, Ctrl-Space was being used to change input methods. Running ibus-setup and unbinding it fixed my problem (it now produces Nul)

See also: https://askubuntu.com/questions/243639/ctrlspace-has-been-bound-to-invoke-some-input-method-and-does-not-work-in-ema



来源:https://stackoverflow.com/questions/21456717/c-spc-is-intercepted-in-emacs-nw-terminal-intercept

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!