From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Customising menus... removing bars Date: Sat, 7 Jun 2014 13:56:20 -0700 (PDT) Message-ID: <78d762d8-e967-4454-a08b-46b144aacaec@default> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1402174624 19058 80.91.229.3 (7 Jun 2014 20:57:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Jun 2014 20:57:04 +0000 (UTC) To: James Freer , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 07 22:56:56 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WtNfZ-0004wD-8a for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jun 2014 22:56:53 +0200 Original-Received: from localhost ([::1]:53138 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtNfY-0007UJ-Vf for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jun 2014 16:56:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtNfF-0007UA-60 for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 16:56:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtNf5-0008EG-J0 for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 16:56:33 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:50263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtNf5-0008Dc-Cy for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 16:56:23 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s57KuLRD029327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 7 Jun 2014 20:56:21 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s57KuJeV020300 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 7 Jun 2014 20:56:20 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s57KuIW4020283; Sat, 7 Jun 2014 20:56:19 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:98079 Archived-At: > I want to remove the Buffers, Tools, Lisp-Interpreter, Help - to put it s= imply. In your init file: (define-key global-map [menu-bar buffer] nil) (define-key global-map [menu-bar tools] nil) (define-key global-map [menu-bar help-menu] nil) Lisp-Interpreter is mode-specific. Find the major mode that uses it and then remove it from that major-mode's keymap (instead of `global-map', as above). > I don't want all the contents of File, Edit, Options really. Look in file `menu-bar.el', find which menu items you want to remove, and s= et those command bindings to nil.