all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: public@heslin.eclipse.co.uk, Stefan <monnier@iro.umontreal.ca>,
	emacs-devel@gnu.org
Subject: Re: easymenu.el
Date: Tue, 09 Nov 2004 12:21:57 +0100	[thread overview]
Message-ID: <x5pt2n6ze2.fsf@lola.goethe.zz> (raw)
In-Reply-To: <E1CRTxY-0005Fq-3O@fencepost.gnu.org> (Richard Stallman's message of "Tue, 09 Nov 2004 06:14:48 -0500")

Richard Stallman <rms@gnu.org> writes:

[Stefan:]

>     BTW, I've just installed a patch to easymenu that makes it look
>     for menu-item *names* when looking up keymaps, so you should now
>     be able to say (easy-menu-add-item nil '("File") ["foo" bar]) to
>     add an entry "foo" in the "File" menu even though that menu's
>     key name is `files'.  As can be guessed by the different
>     spelling, this now works regardless of the actual definition of
>     easy-menu-intern, so I (re-)propose the additional patch below,
>
> That's clever.

Actually, I'd say it's natural.  So I can't help suspecting that the
original design was there for a purpose.

> I guess the problem is solved now, and we don't have to change other
> code.

Is there any serious performance degradation to be expected, Stefan?
I think there was a time when calling menus the first time was rather
expensive.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2004-11-09 11:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-03 17:08 easymenu.el B. Anyos
2004-11-03 17:33 ` easymenu.el David Kastrup
2004-11-03 18:47   ` easymenu.el Stefan
2004-11-03 19:46     ` easymenu.el Peter Heslin
2004-11-06  5:22       ` easymenu.el Richard Stallman
2004-11-06 10:07         ` easymenu.el Stefan
2004-11-08 14:33           ` easymenu.el David Kastrup
2004-11-09 11:14             ` easymenu.el Richard Stallman
2004-11-09 11:18               ` easymenu.el David Kastrup
2004-11-09 21:30                 ` easymenu.el Richard Stallman
2004-11-09 22:11                   ` easymenu.el David Kastrup
2004-11-11  3:15                     ` easymenu.el Richard Stallman
2004-11-09 11:14           ` easymenu.el Richard Stallman
2004-11-09 11:21             ` David Kastrup [this message]
2004-11-09 14:26               ` easymenu.el Stefan
2004-11-06  5:22       ` easymenu.el Richard Stallman
2004-11-06 17:37         ` easymenu.el Vinicius Jose Latorre

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

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

  git send-email \
    --in-reply-to=x5pt2n6ze2.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=public@heslin.eclipse.co.uk \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.