[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: easymenu suffix problem?
From: |
Stefan Monnier |
Subject: |
Re: easymenu suffix problem? |
Date: |
Mon, 26 Nov 2007 23:26:11 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
>> What should happen, is that easymenu should detect that it's seeing
>> "the same name" again in the same menu and then generate a different
>> key.
> It's not obvious to me how to do that. easy-menu-convert-item-1, which
> would need to choose a new name in the event of a clash, only
> processes a single item, and does not know anything about the map
> which the items will be installed in.
Indeed, it may require a bit of reshuffling.
> Is the comment in that function about "merge multiple entries with the
> same name" referring to some other, desired, functionality? In other
> words, the choosing-a-unique-name thing would only be needed in the
> case of name clashes caused by the use of :suffix?
Hmm... now I can't quite remember eactly why I wanted to merge
those entries. Maybe it was just that relying on string eq-tests was
a bit brittle.
Stefan