emacs-devel
[Top][All Lists]
Advanced

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

Re: Semi-unhelpful error message given when trying to (provide 'CUA-mode


From: Richard Stallman
Subject: Re: Semi-unhelpful error message given when trying to (provide 'CUA-mode)
Date: Thu, 25 May 2006 22:22:11 -0400

    > I suspect another miscommunication here.  What do you mean by
    > "accelerators"?  I thought we were talking about typing a letter _once
    > the menu is active_ to select a given menu item.  Is that what you
    > mean, too?
    >   
    Technically, GTK calls these mnemonics, and what it calls accelerators 
    are the normal keybindings, which we already display to the right of the 
    menu item.

In that case, the issue here is the mnemonics, not the accelerators,
right?  We already handle accelerators.

    Probably the best way to handle this then is for the Windows menu code 
    to replace _ in menu item text with &, and for mac, tmm and non-toolkit 
    X menu code to strip out the _ (or build the code in to handle it). Then 
    we can go through our menus and add _'s as appropriate.

That seems like a good approach.  But let's put it in etc/TODO
and work on the release.

    Menus are often consed together from various modules.  I don't think
    that this would work reliably.  I think it would be better when the
    abbreviations would be chosen automatically in most cases.  Even
    though it might make sense if the automatisms would try to obey
    suggestions where possible.

Mixing menu items from various keymaps can happen in Emacs, but it
does not happen very much.  So I don't think it will make the feature
ineffective.  Of course, it should avoid getting confused in the case
where two menu items have the same mnemonic.





reply via email to

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