emacs-devel
[Top][All Lists]
Advanced

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

Re: ignore is bound to <lwindow> but <lwindow> is META


From: Lennart Borgman
Subject: Re: ignore is bound to <lwindow> but <lwindow> is META
Date: Mon, 03 Apr 2006 21:52:45 +0200
User-agent: Thunderbird 1.5 (Windows/20051201)

Stefan Monnier wrote:
at least to be more consistent? On the other hand I do not think that
Emacs should say that a key is bound to anything if it is used as META.

It's more general than that:  When Emacs says "foo is bound to M-c, <prior>,
<S-C-mouse-3>" all it means is that if you somehow manage to generate events
M-c, <prior> or <S-C-mouse-3>, then that'll call those functions.

But M-c may be remapped via key-translation-map to something else, so
hitting Meta+c may not actually call your function `foo'.

And the key that you think of as "prior" may not send the event <prior>.
Think of the RET vs `return' case.

Even after your (setq w32-lwindow-modifier 'meta), you may still be able to
generate `lwindow' event (using some other key(combo)).
        Stefan
Oh, I see. But is not that quite confusing? There might be many ways to generate an event (I actually do not know), but when I see "foo is bound to M-c, ..." I believe that when I hit M-c Emacs will call foo. I suspect most users will expect the same.

Is not key-translation-map a simple case? Can't this be checked in help?




reply via email to

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