0

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.

Community
  • 1
  • 1
M. Toya
  • 485
  • 6
  • 22
  • I didn't find about gnome-terminal. Personally I abandoned that workflow. I work almost exclusively in Emacs + an emacs M-x shell. I like the fact that it is a normal buffer too, I can open pdf and images, I browse files with dired, I listen to music with mpg123, I call a shell with shell-pop, I have tabs with elscreen, etc (some nice tips: http://wikemacs.org/index.php/Shell). – Ehvince Jan 30 '14 at 13:20
  • I need the text version of emacs to work over ssh. – M. Toya Jan 30 '14 at 13:51
  • You can use tramp to work over ssh. Regarding your question, I don't think it is an Emacs issue but something related to your terminal (how it translate key combination to keycodes). Maybe your chances of find an expert on that will improve if you add some labels to your question related to text terminals. – juanleon Jan 30 '14 at 14:08
  • I too work sometimes over ssh from emacs' shell-mode (to get a SQL prompt or similar). – Ehvince Jan 30 '14 at 14:22

1 Answers1

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

Emil Mikulic
  • 111
  • 1
  • 3