From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Paul Wallington Newsgroups: gmane.emacs.devel Subject: Re: Info menu item bugs Date: Fri, 21 Mar 2003 15:53:05 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87el50af8e.fsf@indigo.shootybangbang.com> References: <200303211526.h2LFQsbL023703@stubby.bodenonline.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048262064 6507 80.91.224.249 (21 Mar 2003 15:54:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Mar 2003 15:54:24 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Mar 21 16:54:22 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18wOqc-0001gf-00 for ; Fri, 21 Mar 2003 16:54:22 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18wOsP-0001p7-00 for ; Fri, 21 Mar 2003 16:56:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18wOqa-0000rZ-04 for emacs-devel@quimby.gnus.org; Fri, 21 Mar 2003 10:54:20 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18wOq1-0008TS-00 for emacs-devel@gnu.org; Fri, 21 Mar 2003 10:53:45 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18wOpi-0007MQ-00 for emacs-devel@gnu.org; Fri, 21 Mar 2003 10:53:27 -0500 Original-Received: from host217-44-221-152.range217-44.btcentralplus.com ([217.44.221.152] helo=indigo.shootybangbang.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18wOpa-0006pG-00 for emacs-devel@gnu.org; Fri, 21 Mar 2003 10:53:18 -0500 Original-Received: from jpw by indigo.shootybangbang.com with local (Exim 3.36 #1 (Debian)) id 18wOpN-0000Pk-00; Fri, 21 Mar 2003 15:53:05 +0000 Original-To: "Jan D." In-Reply-To: <200303211526.h2LFQsbL023703@stubby.bodenonline.com> ("Jan D."'s message of "Fri, 21 Mar 2003 15:34:17 +0100 (CET)") X-Attribution: jpw X-Face: R(_z-rF:grdKO.*u`n); p.i$Eiz=h^CO5eDYv"4:K@#\HN09*Ykx}}B{kF/KH}%f_o^Wp Original-cc: bob@rattlesnake.com X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12511 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12511 "Jan D." 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))