unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: acm@muc.de, emacs-devel@gnu.org
Subject: Re: Semi-unhelpful error message given when trying to (provide 'CUA-mode)
Date: Tue, 23 May 2006 22:18:34 -0400	[thread overview]
Message-ID: <E1FiixG-0006VZ-An@fencepost.gnu.org> (raw)
In-Reply-To: <4472AB5F.9090305@swipnet.se> (message from Jan Djärv on Tue, 23 May 2006 08:27:43 +0200)

    > You use arrow keys to navigate the menu and enter/return to select an item.
    >  Using the keyboard is the right thing.
    > 
    > Some X toolkits have conventions for using the keyboard to activate menus
    > and menu items.  I am not sure what they are; do you know? To what extent
    > do they work with Emacs?  Is your patch coherent with them?  Could it be?

    The patch is coherent in that it implements opening menus on F10, which is 
    standard for many toolkits.

I see that my words were unclear.  The issue I meant to raise is
specifically about the use of arrow keys and RET to select menu items.
How does that compare with what various X toolkits do?

    When a menu has been opened there may be 
    more accelerators (like S for Save), so instead of using the arrow to navigate 
    down to Save and then press RET, you can press just S or Alt+S to select Save.

That answers the question I meant to ask.

    My patch does not implement this, but it is quite easy to do in Lesstif/Motif 
    and Gtk+ (harder in Lucid).  The thing is to decide which accelerators to use 
    and how to represent them in the current lisp menu structures.

Since the motive for this would be compatibility with various
toolkits, I think it ought to try to choose the accelerators in the
same way that the toolkit in use does it.

You say this is "harder in Lucid".  Why is that?  Do the Lucid menus
support navigating within a menu with the keyboard using accelerators?
If not, then the arrow key solution you have already implemented is as
compatible as any other would be.

    This is more work, so I have not started to look in to it.  I'll
    will do that after the release though.

Ok.

    Another way to activate menus is with accelerator keys, usually Alt + the 
    first letter in the menu entry (the letter in question is underlined in the 
    menu).

I don't think we want this in Emacs, in general.  On terminals where
Alt is different from Meta, it could be useful to be able to set this
up; but that is not very important.

  parent reply	other threads:[~2006-05-24  2:18 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-20 13:15 Semi-unhelpful error message given when trying to (provide 'CUA-mode) Alan Mackenzie
2006-05-20 13:25 ` David Kastrup
2006-05-20 16:44   ` Alan Mackenzie
2006-05-20 18:32     ` David Kastrup
2006-05-20 19:18       ` Werner LEMBERG
2006-05-20 20:07         ` David Kastrup
2006-05-21  7:49           ` Jan Djärv
2006-05-21  9:54             ` David Kastrup
2006-05-21 17:43               ` Jan Djärv
2006-05-21 21:22                 ` David Kastrup
2006-05-21 22:51                   ` Lennart Borgman
2006-05-22  5:50                     ` Jan Djärv
2006-05-22  8:53                       ` Lennart Borgman
2006-05-22  9:47                         ` Jan Djärv
2006-05-22 10:21                           ` Lennart Borgman
2006-05-22 10:49                             ` David Kastrup
2006-05-22 11:26                             ` Kim F. Storm
2006-05-22 12:50                               ` Lennart Borgman
2006-05-22 13:02                                 ` David Kastrup
2006-05-22 13:32                                   ` Lennart Borgman
2006-05-22 13:34                                     ` David Kastrup
2006-05-22 13:44                                       ` Lennart Borgman
2006-05-22 13:51                                         ` David Kastrup
2006-05-22 13:58                                           ` Lennart Borgman
2006-05-22 14:57                                             ` David Kastrup
2006-05-22 22:04                                               ` Lennart Borgman
2006-05-23  8:19                                                 ` David Kastrup
2006-05-22 12:06                             ` martin rudalics
2006-05-22 12:47                               ` Lennart Borgman
2006-05-22 13:01                                 ` David Kastrup
2006-05-22 13:30                                   ` Lennart Borgman
2006-05-22 13:32                                     ` David Kastrup
2006-05-22 13:43                                       ` Lennart Borgman
2006-05-22 13:47                                         ` David Kastrup
2006-05-22 13:55                                           ` Lennart Borgman
2006-05-22 14:01                                             ` David Kastrup
2006-05-22 14:21                                               ` Lennart Borgman
2006-05-21 11:27             ` Stefan Monnier
2006-05-22  2:38             ` Richard Stallman
2006-05-22  3:32               ` Eli Zaretskii
2006-05-22  5:48               ` Jan Djärv
2006-05-22 20:37                 ` Richard Stallman
2006-05-23  6:27                   ` Jan Djärv
2006-05-23  8:22                     ` David Kastrup
2006-05-23 13:33                       ` Lennart Borgman
2006-05-23 13:45                         ` David Kastrup
2006-05-23 14:12                         ` Stefan Monnier
2006-05-23 14:32                           ` Lennart Borgman
2006-05-23 22:35                             ` Kim F. Storm
2006-05-24  2:18                         ` Richard Stallman
2006-05-23 11:54                     ` Kim F. Storm
2006-05-23 13:02                       ` Jan Djärv
2006-05-24  2:18                     ` Richard Stallman [this message]
2006-05-24 11:16                       ` Jan Djärv
2006-05-24 12:27                         ` Lennart Borgman
2006-05-24 12:59                           ` David Kastrup
2006-05-24 14:23                             ` Jan D.
2006-05-24 14:32                               ` David Kastrup
2006-05-24 14:48                                 ` Jason Rumney
2006-05-24 14:53                                   ` Lennart Borgman
2006-05-24 15:00                                   ` David Kastrup
2006-05-25  0:36                               ` Richard Stallman
2006-05-29  7:30                                 ` Jan Djärv
2006-05-29  7:49                                   ` David Kastrup
2006-05-29  8:16                                     ` Jan Djärv
2006-05-29  8:21                                       ` David Kastrup
2006-05-29  8:48                                         ` Jan Djärv
2006-05-29  9:06                                           ` David Kastrup
2006-06-01  7:48                                             ` Jan Djärv
2006-05-31 23:08                                   ` Menus (was: Semi-unhelpful error message etc.) Johan Bockgård
2006-05-31 23:14                                     ` Luc Teirlinck
2006-06-01  5:41                                       ` Menus Jan Djärv
2006-06-01  6:46                                         ` Menus Romain Francoise
2006-06-01  7:31                                           ` Menus David Kastrup
2006-06-01  7:30                                         ` Menus David Kastrup
2006-06-02  3:13                                         ` Menus Richard Stallman
2006-06-02  3:12                                     ` Menus (was: Semi-unhelpful error message etc.) Richard Stallman
2006-05-25  0:36                         ` Semi-unhelpful error message given when trying to (provide 'CUA-mode) Richard Stallman
2006-05-25 10:52                           ` Jason Rumney
2006-05-25 10:56                             ` David Kastrup
2006-05-25 13:29                               ` Jan Djärv
2006-05-26  2:22                                 ` Richard Stallman
2006-05-26  2:22                             ` Richard Stallman
2006-05-25 13:28                           ` Jan Djärv
2006-05-24  2:18                     ` Richard Stallman
2006-05-24 11:19                       ` Jan Djärv
2006-05-24 11:50                         ` Stefan Monnier
2006-05-24 16:36                           ` Jan Djärv
2006-05-24 17:14                             ` Stefan Monnier
2006-05-23  9:58             ` public
2006-05-23 11:03               ` Jan Djärv
2006-05-22  6:12     ` Miles Bader
2006-05-22  8:42       ` David Kastrup
2006-05-22 20:37         ` Richard Stallman
2006-05-23 11:48           ` Kim F. Storm
2006-05-24  2:18             ` Richard Stallman
2006-05-21  0:56   ` Richard Stallman
2006-05-20 21:38 ` Kim F. Storm
2006-05-20 22:57   ` Alan Mackenzie
2006-05-20 23:18     ` Kim F. Storm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1FiixG-0006VZ-An@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).