[Top][All Lists]

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

Re: New easymenu behavior

From: David Kastrup
Subject: Re: New easymenu behavior
Date: Wed, 03 Nov 2004 15:27:52 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

David Ponce <address@hidden> writes:

>>> > What does your code do that did not already break in Emacs 21.3?
>>>recentf simply uses (easy-menu-add-item nil '("files") ...) to add
>>>the recentf menu into the "File" menu which is identified with the
>>>'files key symbol. This worked well in 21.3 because the code just
>>>interned "files" to get the key symbol.
>> That appears very shaky.
> I agree.
>>>Notice that XEmacs directly use menu item names to locate them.  For
>>>example you can use '("File") to locate the "File" menu in the menu
>>>bar. Maybe is it a better mechanism to use in external libraries?
>> Actually, that is all that I ever used with regard to easymenu.  It
>> is
>> probably a bad idea to create and manage menus by a mixture of direct
>> accesses and easymenu.
> recentf only uses easymenu not a mixture of direct access and
> easymenu.

If the menus were not created using easymenu, this amounts to a
mixture of direct access and easymenu.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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