From: Miles Bader <miles@lsi.nec.co.jp>
Cc: lektu@terra.es, emacs-devel@gnu.org
Subject: Re: Attempt to modify read-only value
Date: 23 Apr 2002 17:48:04 +0900 [thread overview]
Message-ID: <buopu0qu7gb.fsf@mcspd15.ucom.lsi.nec.co.jp> (raw)
In-Reply-To: <200204230812.RAA16183@etlken.m17n.org>
Kenichi Handa <handa@etl.go.jp> 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.
-Miles
--
Run away! Run away!
next prev parent reply other threads:[~2002-04-23 8:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-23 8:12 Attempt to modify read-only value Kenichi Handa
2002-04-23 8:48 ` Miles Bader [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-04-23 11:20 Kenichi Handa
2002-04-23 7:50 Juanma Barranquero
2002-04-23 8:43 ` Miles Bader
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=buopu0qu7gb.fsf@mcspd15.ucom.lsi.nec.co.jp \
--to=miles@lsi.nec.co.jp \
--cc=emacs-devel@gnu.org \
--cc=lektu@terra.es \
--cc=miles@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).