bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

remapped C-x and term-mode


From: Ben Sturmfels
Subject: remapped C-x and term-mode
Date: Mon, 3 Jul 2006 23:52:03 +1000
User-agent: Mutt/1.5.11+cvs20060403

Hi,

Firstly, I should mention how amazingly useful I find
Emacs. Cheers!

I'm not sure whether modes making assumptions about keybindings
would be considered a bug, but here it is anyway.

After swapping C-x and C-u like this:

(global-set-key (kbd "C-u") ctl-x-map)
(global-set-key (kbd "C-x") 'universal-argument)

I get the following error when entering term mode:

Debugger entered--Lisp error: (wrong-type-argument 
                                 keymapp universal-argument)
  copy-keymap(universal-argument)
  term-char-mode()
  term("/bin/bash")
* call-interactively(term)
  execute-extended-command(nil)
* call-interactively(execute-extended-command)

Thanks,
Ben




reply via email to

[Prev in Thread] Current Thread [Next in Thread]