all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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!

  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

* 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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.