[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: easymenu.el
From: |
David Kastrup |
Subject: |
Re: easymenu.el |
Date: |
Tue, 09 Nov 2004 12:21:57 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
Richard Stallman <address@hidden> 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
- Re: easymenu.el, (continued)
- Re: easymenu.el, Vinicius Jose Latorre, 2004/11/06
- Re: easymenu.el, Richard Stallman, 2004/11/06
- Re: easymenu.el, Stefan, 2004/11/08
- Re: easymenu.el, David Kastrup, 2004/11/08
- Re: easymenu.el, Richard Stallman, 2004/11/09
- Re: easymenu.el, David Kastrup, 2004/11/09
- Re: easymenu.el, Richard Stallman, 2004/11/09
- Re: easymenu.el, David Kastrup, 2004/11/09
- Re: easymenu.el, Richard Stallman, 2004/11/10
- Re: easymenu.el, Richard Stallman, 2004/11/09
- Re: easymenu.el,
David Kastrup <=
- Re: easymenu.el, Stefan, 2004/11/09