Problem with Super key

Glynn Clements glynn at gclements.plus.com
Wed Mar 14 07:00:26 EDT 2007


Glynn Clements wrote:

> > > If I had a nickel for every time I 
> > > tried to backward-kill-sexp by pressing Ctrl-Alt-Backspace and killed X 
> > > server instead... 
> > 
> > Earlier in thread, Glynn Clements wrote:
> > 
> > > Meta-Tab does completion within XEmacs.
> > 
> > These are very useful functions, but their key bindings are difficult for KDE
> > and Gnome users to press.  Perhaps it'd be a worthwhile idea to create
> > additional bindings that do these things?
> 
> If you have trouble with Alt/Meta-modified keypresses, you can always
> use the Escape prefix instead. Or you can use key-translation-map to
> globally map some other sequence to Meta-Tab, e.g.:
> 
> 	(define-key key-translation-map [(control ?c) ?t] [(meta tab)])

Actually, this doesn't work right; it causes C-c to always expect a
following key, so e.g. C-c C-c in a shell-mode buffer
(comint-interrupt-subjob) just waits for the next key, with
"C-c C-c -" displayed in the echo area.

[This sort of makes sense; C-c C-c t gets mapped to C-c M-Tab.]

So, if you want to globally remap something to M-Tab, you'll need to
use a single chord rather than a sequence.

-- 
Glynn Clements <glynn at gclements.plus.com>



More information about the XEmacs-Beta mailing list