unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: lennart.borgman.073@student.lu.se, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Semi-unhelpful error message given when trying to (provide	'CUA-mode)
Date: Mon, 29 May 2006 11:06:46 +0200	[thread overview]
Message-ID: <854pz9fbdl.fsf@lola.goethe.zz> (raw)
In-Reply-To: <447AB54C.9050906@swipnet.se> (Jan Djärv's message of "Mon, 29 May 2006 10:48:12 +0200")

Jan Djärv <jan.h.d@swipnet.se> writes:

> David Kastrup skrev:
>> Jan Djärv <jan.h.d@swipnet.se> writes:
>>
>>> David Kastrup skrev:
>>>
>>>> I just took a look across the fence.  In XEmacs, they have
>>>>
>>>>     `accelerate-menu' is an interactive built-in function
>>>>     (accelerate-menu)
>>>>
>>>>     Documentation:
>>>>     Make the menubar active.  Menu items can be selected using menu
>>>>     accelerators or by actions defined in menu-accelerator-map.
>>>>
>>>> It would probably not be the worst idea to do this via a keybinding
>>>> instead of hardwired.  If that is infeasible for some reason or
>>>> already done like this, never mind.  I seem to remember from what I
>>>> saw in the patch that you did it in some other manner?
>>> You mean that navigation with arrow keys/Return/ESC should not be
>>> hardwired but done with a keybinding?
>>
>> Oh no, that would be a total mess, I guess.  No, just the F10 key
>> function should be a keybinding pointing to something like
>> "accelerate-menu".  Again, if it is already done like this, never
>> mind.
>
> The function I added is called menu-bar-start.  x-win.el does
> (and (fboundp 'menu-bar-start)
>      (global-set-key [f10] 'menu-bar-start))

Ok, so I remembered a lot of nonsense.  Don't ask me why.  Sorry for
the confusion.

> Should we name it accelerate-menu?  Does the XEmacs function take
> any parameters?

The XEmacs function does not take any parameters.  But I find its name
ugly: it is probably not something I would hit with an apropos search.
Also it does not fit our menu-bar name space.  For our function, I'd
find `menu-bar-open' a better name: one does not actually `start' a
menu bar.  `menu-bar-activate' would also be a possibility.

It might be worth adding an alias of `accelerate-menu': for those
coming from XEmacs, it will make it easier to transfer their .emacs
and they will also be more likely to find the functionality when using
apropos.

As the main function name, I find `accelerate-menu' too awkward.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2006-05-29  9:06 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
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 [this message]
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=854pz9fbdl.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman.073@student.lu.se \
    --cc=rms@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).