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 22:54:24 +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:
I think this is specific to w32. Yes & needs to be escaped there.
I hope you mean that Emacs or Emacs W32 should do the escaping. These
binding indications are added automatically.
I am not sure I understand you, but & is the character you put before a
character in the menu string on w32 to mark that character as an
accelerator in menu. (It will be shown underlined then.)

An example: "&Help" will show "Help" in the menu with "H" underlined.

So fixing this is a w32 specific problem.

We discussed a little bit before adding the possibility to use
accelerators in the menus. Perhaps this should be fixed when that is
done to avoid splitting the code to much?

The key-binding indication, e.g. "(`C-x C-f')" or "(`M-&')", is added
automatically by Emacs. This is not text that I added as a user (e.g. using
:keys). So the problem needs to be fixed at the program level (Emacs W32 or
Emacs), not at the user level. That's all I am saying.

Yes, that is what I tried to say too ;-)




reply via email to

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