emacs-devel
[Top][All Lists]
Advanced

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

Re: Key bindings proposal


From: Jan Djärv
Subject: Re: Key bindings proposal
Date: Tue, 03 Aug 2010 11:45:21 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6

2010-08-02 20:10, Lennart Borgman skrev:
On Mon, Aug 2, 2010 at 7:59 PM, Drew Adams<address@hidden>  wrote:

AFAIK, Lennart added support for the MS Windows menu navigation keystrokes (aka
menu accelerators) - see his library `menacc.el'.


Yes and we were also discussing adding this to GNU/Linux but it has
not happened yet.


It would be a different implementation for native menus (probably not worth it), Lucid, Motif/Lesstif, Nextstep and Gtk+. Motif doesn't have a marker character, you must at the C level tell the widget in question which letter to use. The Emacs C level could perhaps translate a marker character to this. Gtk+ has _ as marker character, and Lucid currently has no keyboard handling in menus except arrow keys.
I don't know what Nextstep uses.

A problem is of course that Emacs uses the Alt key by default as Emacs
META key. (I have a patch for this for w32 as I have said  before many
times).


How do you handle buffer names (for the Buffer menu) that have the marker
character in them (& I think for W32)?  Wouldn't it be better to use a text
property at the lisp level and let each platform specific code sort this out?

        Jan D.





reply via email to

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