all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: emacs-devel@gnu.org
Subject: Re: menu-bar-map variable
Date: Sun, 01 Apr 2007 17:42:18 -0400	[thread overview]
Message-ID: <E1HY7oY-0002g3-8o@fencepost.gnu.org> (raw)
In-Reply-To: <17935.30516.272171.376755@farnswood.snap.net.nz> (message from Nick Roberts on Sun, 1 Apr 2007 21:11:16 +1200)

    (define-key lisp-interaction-mode-map [menu-bar edit] 'undefined)

    then I get:

    (local-key-binding [menu-bar])
    (keymap (edit . undefined))

    but tmm still thinks it's there because it's still in the global list

    (global-key-binding [menu-bar]):

    ...(edit "Edit" keymap (undo ...
	      ^^^^

Well, that shows the bug.  The definition as `undefined'
in the local map should not just be discarded.  It should be kept,
so that it overrides the global binding.  Only at the last moment
should it be treated as no definition.

  reply	other threads:[~2007-04-01 21:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-30  6:52 menu-bar-map variable Nick Roberts
2007-03-30 21:22 ` Richard Stallman
2007-03-31  6:10   ` Nick Roberts
2007-03-31 20:42     ` Richard Stallman
2007-04-01  9:11       ` Nick Roberts
2007-04-01 21:42         ` Richard Stallman [this message]
2007-04-03 21:37           ` Nick Roberts
2007-04-04 14:02             ` Richard Stallman

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=E1HY7oY-0002g3-8o@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=nickrob@snap.net.nz \
    /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.