emacs-devel
[Top][All Lists]
Advanced

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

Re: Will default key bindings spell the death of Emacs?


From: Stefan Monnier
Subject: Re: Will default key bindings spell the death of Emacs?
Date: Fri, 30 May 2003 09:10:50 -0400

> >I'm not sure what you mean by keybindings being hard to change,
> >but let's suppose it's because C-c, C-x and ESC are so pervasive
> >that you can't really move them.
> >
> Yes, that quite much my problem. And I do use key-translation-map
> to swap keys as you suggest. But I feel that is a workaround rather
> than a real solution. Messages from Emacs then become wrong when
> they refer to those key bindings.

Good point.  We could change those messages to take key-translation-map
into account, but it would probably be wrong (because of other uses of
key-translation-map where it shouldn't happen).

So we'd need to add a new key-remapping layer, after key-translation-map
and before the actual key-lookup.  And the remapping should not be
done by `read-key-sequence' but should be done just before looking
up the various global/local/minor maps instead.


        Stefan





reply via email to

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