From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: Removing menu from menu bar Date: Thu, 05 Jun 2008 20:50:41 +0200 Message-ID: <878wxjvhq6.fsf@escher.local.home> References: <4848203C.6000901@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212691879 6841 80.91.229.12 (5 Jun 2008 18:51:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Jun 2008 18:51:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 05 20:52:01 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K4KZ6-0003Rx-UE for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Jun 2008 20:52:01 +0200 Original-Received: from localhost ([127.0.0.1]:36748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4KYK-0005sX-E9 for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Jun 2008 14:51:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4KY3-0005sS-Ry for help-gnu-emacs@gnu.org; Thu, 05 Jun 2008 14:50:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4KY1-0005sG-GC for help-gnu-emacs@gnu.org; Thu, 05 Jun 2008 14:50:54 -0400 Original-Received: from [199.232.76.173] (port=39214 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4KY1-0005sD-9g for help-gnu-emacs@gnu.org; Thu, 05 Jun 2008 14:50:53 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:46506 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K4KY1-0007d1-Fw for help-gnu-emacs@gnu.org; Thu, 05 Jun 2008 14:50:53 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K4KXw-0002Ws-LG for help-gnu-emacs@gnu.org; Thu, 05 Jun 2008 18:50:48 +0000 Original-Received: from i5387d36e.versanet.de ([83.135.211.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jun 2008 18:50:48 +0000 Original-Received: from stephen.berman by i5387d36e.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jun 2008 18:50:48 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 10 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i5387d36e.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54486 Archived-At: Thanks, Drew and Martin. I had actually tried using define-key before posting (because that is what the elisp manual suggests) and it didn't work. This was with a menu defined using easymenu.el, so I thought maybe something was different with that library. But of course, in fact it does work, and I'm not sure any more what I did wrong (maybe I had simply failed to put the undefining statements on the mode hook, though I thought I had tried that). Anyway, thanks again for the quick and helpful responses! Steve Berman