unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: John Paul Wallington <jpw@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Info menu item bugs
Date: Fri, 21 Mar 2003 15:53:05 +0000	[thread overview]
Message-ID: <87el50af8e.fsf@indigo.shootybangbang.com> (raw)
In-Reply-To: <200303211526.h2LFQsbL023703@stubby.bodenonline.com> ("Jan D."'s message of "Fri, 21 Mar 2003 15:34:17 +0100 (CET)")

"Jan D." <jan.h.d@swipnet.se> wrote:

> Anyway, it must be a bug that the Info menu is placed to the left of File,
[...]
> Something must have happened in info-mode.

No, it is caused by the change to `easy-menu-add-item' to default MAP
to the current-global-map.  We can back out like so, but it would be
nice to fix it instead.


diff -u -r1.57 easymenu.el
--- easymenu.el	16 Mar 2003 00:39:23 -0000	1.57
+++ easymenu.el	20 Mar 2003 02:24:01 -0000
@@ -516,9 +516,6 @@
 ITEM is either defined as in `easy-menu-define' or a non-nil value returned
 by `easy-menu-item-present-p' or `easy-menu-remove-item' or a menu defined
 earlier by `easy-menu-define' or `easy-menu-create-menu'."
-  (unless map
-    (setq map (current-global-map))
-    (push 'menu-bar path))
   (setq map (easy-menu-get-map map path
 			       (and (null map) (null path)
 				    (stringp (car-safe item))

  reply	other threads:[~2003-03-21 15:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-20 13:15 Info menu item bugs Robert J. Chassell
2003-03-21  4:43 ` Eli Zaretskii
2003-03-21 11:34   ` Robert J. Chassell
2003-03-21 14:34     ` Jan D.
2003-03-21 15:53       ` John Paul Wallington [this message]
2003-03-23  2:54         ` Richard Stallman
2003-03-23  2:53     ` Richard Stallman
2003-03-23 12:08       ` Robert J. Chassell
2003-03-23  3:32     ` Eli Zaretskii

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=87el50af8e.fsf@indigo.shootybangbang.com \
    --to=jpw@gnu.org \
    --cc=emacs-devel@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).