[Top][All Lists]

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

Re: Key bindings proposal

From: Lennart Borgman
Subject: Re: Key bindings proposal
Date: Tue, 3 Aug 2010 12:02:53 +0200

On Tue, Aug 3, 2010 at 11:45 AM, Jan Djärv <address@hidden> wrote:
> 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.

Thanks for the info.

>> 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?

Yes I think so (or perhaps rather a cons ("menu-string" . pos)). But
this would require some changes on a lower level and I do not want to
do that until it is moved into Emacs. (I have too many patches.)

reply via email to

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