unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: Emacs Devel <emacs-devel@gnu.org>, Jason Rumney <jasonr@gnu.org>
Subject: Re: ignore is bound to <lwindow> but <lwindow> is META
Date: Mon, 03 Apr 2006 21:52:45 +0200	[thread overview]
Message-ID: <44317D0D.9000802@student.lu.se> (raw)
In-Reply-To: <jwvbqviv4oq.fsf-monnier+emacs@gnu.org>

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	other threads:[~2006-04-03 19:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-03 16:59 ignore is bound to <lwindow> but <lwindow> is META Lennart Borgman
2006-04-03 18:05 ` Stefan Monnier
2006-04-03 18:08 ` Jason Rumney
2006-04-03 18:22   ` Lennart Borgman
2006-04-03 19:33     ` Stefan Monnier
2006-04-03 19:52       ` Lennart Borgman [this message]
2006-04-03 20:29         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44317D0D.9000802@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).