From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Paul Wallington Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: [calendar] Holidays menu doesn't go away Date: Thu, 20 Mar 2003 02:36:06 +0000 Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Message-ID: <871y12epd5.fsf@indigo.shootybangbang.com> References: <8765qf178q.fsf@indigo.shootybangbang.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048127808 16107 80.91.224.249 (20 Mar 2003 02:36:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2003 02:36:48 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Thu Mar 20 03:36:46 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18vpvC-0004Bb-00 for ; Thu, 20 Mar 2003 03:36:46 +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 18vpvA-0006xq-03 for gebp-emacs-pretest-bug@gmane.org; Wed, 19 Mar 2003 21:36:44 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18vpv4-0006ec-00 for emacs-pretest-bug@gnu.org; Wed, 19 Mar 2003 21:36:38 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18vpuy-0006Ik-00 for emacs-pretest-bug@gnu.org; Wed, 19 Mar 2003 21:36:34 -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 18vpus-0005uI-00; Wed, 19 Mar 2003 21:36:26 -0500 Original-Received: from jpw by indigo.shootybangbang.com with local (Exim 3.36 #1 (Debian)) id 18vpuY-0007mN-00; Thu, 20 Mar 2003 02:36:06 +0000 Original-To: Jesper Harder In-Reply-To: <8765qf178q.fsf@indigo.shootybangbang.com> (John Paul Wallington's message of "Wed, 19 Mar 2003 19:33:41 +0000") 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 List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.pretest.bugs:99 gmane.emacs.devel:12478 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12478 [apologies for replying to myself] >> The "Holidays" menu doesn't go away after quitting from the calendar. > There is a similar symptom if you invoke then quit `info'. Getting rid of the (push 'menu-bar path) avoids those problems, but causes `recentf-mode' not to add its menu. This reversion avoids that too. But I don't why the change was made. 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))