From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: menu-bar-map variable Date: Fri, 30 Mar 2007 18:52:49 +1200 Message-ID: <17932.46017.825959.576713@farnswood.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1175237753 14574 80.91.229.12 (30 Mar 2007 06:55:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Mar 2007 06:55:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 30 08:55:46 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HXB1U-0001PF-Jt for ged-emacs-devel@m.gmane.org; Fri, 30 Mar 2007 08:55:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HXB48-0006K6-ME for ged-emacs-devel@m.gmane.org; Fri, 30 Mar 2007 01:58:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HXB45-0006Jp-Gi for emacs-devel@gnu.org; Fri, 30 Mar 2007 02:58:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HXB44-0006JV-1d for emacs-devel@gnu.org; Fri, 30 Mar 2007 02:58:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HXB43-0006JS-SD for emacs-devel@gnu.org; Fri, 30 Mar 2007 01:58:23 -0500 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HXB1M-0000db-Sf for emacs-devel@gnu.org; Fri, 30 Mar 2007 02:55:37 -0400 Original-Received: from farnswood.snap.net.nz (36.62.255.123.dynamic.snap.net.nz [123.255.62.36]) by viper.snap.net.nz (Postfix) with ESMTP id 04A733D958F for ; Fri, 30 Mar 2007 18:55:30 +1200 (NZST) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 500) id 794D9627ED; Fri, 30 Mar 2007 07:52:50 +0100 (BST) X-Mailer: VM 7.19 under Emacs 22.0.96.2 X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68771 Archived-At: An earlier thread suggested that tool bar icons should _add to_ rather than replace existing icons. I would like to suggest the converse for the menubar i.e. a variable, menu-bar-map, that can be made buffer-local like tool-bar-map can. The reason for this is that I'd like to use the menu-bar like a tool bar on text-only terminals, but currently the global menu items get in the way. A buffer-local variable would allow them to be hidden. Actually, I don't understand why the tool-bar has it's own map, while the menu-bar doesn't anyway. -- Nick http://www.inet.net.nz/~nickrob