emacs-devel
[Top][All Lists]
Advanced

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

Re: Attempt to modify read-only value


From: Kenichi Handa
Subject: Re: Attempt to modify read-only value
Date: Tue, 23 Apr 2002 20:20:09 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.1.30 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

Miles Bader <address@hidden> writes:
> Kenichi Handa <address@hidden> writes:
>>  fixes this problem.  But, this workaround is very weird.
>>  There should be a better solution.

> I suspect the prettiest thing would be to not construct raw menu
> entries, but rather use official functions like `define-key' to make
> them.

> However, this throws away the cached key lookups that the low-level menu
> code adds (this is why it's modifying the menu entry), which might be
> bad because the Buffers menu can get rebuilt pretty often.

Thank you for the explanation.  I understand.

---
Ken'ichi HANDA
address@hidden



reply via email to

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