From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: ignore is bound to but is META Date: Mon, 03 Apr 2006 21:52:45 +0200 Message-ID: <44317D0D.9000802@student.lu.se> References: <44315469.1080203@student.lu.se> <443167E4.8060702@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1144094002 7276 80.91.229.2 (3 Apr 2006 19:53:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Apr 2006 19:53:22 +0000 (UTC) Cc: Emacs Devel , Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 03 21:53:20 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FQV70-0007Jx-Mc for ged-emacs-devel@m.gmane.org; Mon, 03 Apr 2006 21:53:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FQV70-0003t1-98 for ged-emacs-devel@m.gmane.org; Mon, 03 Apr 2006 15:53:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FQV6d-0003mM-Me for emacs-devel@gnu.org; Mon, 03 Apr 2006 15:52:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FQV6c-0003kz-4S for emacs-devel@gnu.org; Mon, 03 Apr 2006 15:52:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FQV6b-0003ki-SF for emacs-devel@gnu.org; Mon, 03 Apr 2006 15:52:53 -0400 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FQV9e-0001NP-JU; Mon, 03 Apr 2006 15:56:02 -0400 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn1.fre.skanova.net (7.2.070) id 441DB94F003D2262; Mon, 3 Apr 2006 21:52:45 +0200 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: Stefan Monnier In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:52377 Archived-At: 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, , > " all it means is that if you somehow manage to generate events > M-c, or , 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 . > 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?