[linux] Re: emacs question

Phillip Garland pgarland at u.washington.edu
Fri May 23 21:42:51 PDT 2003

You can also do:

(global-set-key "\C-q" ctl-x-map)

which may be a bit nicer because it remaps keys, not input events (as the first solution does). This makes a couple of small things less confusing:

1) the interactive emacs help system will list key-bindings correctly when you do things like C-q f foo RET or C-q C-h

2) When you hit C-q, "C-q" will echo in the minibuffer, not "C-x" (as with the first solution)


On Fri, 23 May 2003, Jing Su wrote:

> after a lucky random google click, I found the answer to my previous question...


> I added a:


> (keyboard-translate ?\C-q ?\C-x)


> to my .emacs file.



More information about the Linux mailing list