emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: key binding of `M-&' shows up in menu as (M-)


From: Lennart Borgman (gmail)
Subject: Re: key binding of `M-&' shows up in menu as (M-)
Date: Fri, 15 Jun 2007 17:47:00 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.666

Drew Adams wrote:
emacs -Q

Bind a command `foo' in a minibuffer completion map to `M-&'.
Add `foo' to the Minibuf menu:
(define-key map [menu-bar minibuf foo] '(menu-item "Foo It" foo))

In the Minibuf menu, the item appears with the wrong binding:

 Foo It  (M-)

The `&' was removed - it should show "(M-&)".
Perhaps the `&' needs to be automatically escaped?


In GNU Emacs 22.1.50.1 (i386-mingw-nt5.1.2600)
 of 2007-05-22 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/g/include'


I think this is specific to w32. Yes & needs to be escaped there.




reply via email to

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