From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Rusi Newsgroups: gmane.emacs.help Subject: Re: Disable menu bar mode Date: Mon, 18 Dec 2017 17:45:33 -0800 (PST) Message-ID: <6eb917e5-a6a3-46b2-b6c5-7b2488647935@googlegroups.com> References: <7816d4f5-f412-4a7e-8aa2-ce45a489e9ed@googlegroups.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1513648118 20387 195.159.176.226 (19 Dec 2017 01:48:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Dec 2017 01:48:38 +0000 (UTC) Injection-Date: Tue, 19 Dec 2017 01:45:34 +0000 User-Agent: G2/1.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 19 02:48:34 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eR71C-0004XL-Ta for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Dec 2017 02:48:31 +0100 Original-Received: from localhost ([::1]:35387 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eR737-0005KK-WD for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Dec 2017 20:50:30 -0500 X-Received: by 10.200.8.17 with SMTP id u17mr1191392qth.35.1513647934774; Mon, 18 Dec 2017 17:45:34 -0800 (PST) X-Received: by 10.31.48.213 with SMTP id w204mr156611vkw.12.1513647934395; Mon, 18 Dec 2017 17:45:34 -0800 (PST) Original-Path: usenet.stanford.edu!g35no3616186qtk.1!news-out.google.com!v55ni1351qtc.0!nntp.google.com!m31no3630615qtf.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Original-Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=117.223.154.11; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 117.223.154.11 Original-Xref: usenet.stanford.edu gnu.emacs.help:221274 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:115389 Archived-At: On Tuesday, December 19, 2017 at 3:10:46 AM UTC+5:30, B. T. Raven wrote: > On 12/13/2017 7:55 PM, Rusi wrote: > > Doc for menu-bar-mode says (among other things): > >=20 > > | If called from Lisp, enable Menu Bar mode if ARG is omitted or nil. > >=20 > > That this seems backwards is one thing > >=20 > > The other is that neither of these seem to work (ie turn off menu-bar) > >=20 > > (menu-bar-mode t) > > (menu-bar-mode nil) > >=20 > > This does: > >=20 > > (menu-bar-mode 0) > >=20 > > Can someone confirm? > >=20 > >=20 > > Emacs version 25.1.1 > >=20 >=20 > On 25.3 it seems to be working as advertised. >=20 > " > (menu-bar-mode &optional ARG) >=20 > Toggle display of a menu bar on each frame (Menu Bar mode). > With a prefix argument ARG, enable Menu Bar mode if ARG is > positive, and disable it otherwise. If called from Lisp, enable > Menu Bar mode if ARG is omitted or nil. > " >=20 >=20 > You can turn it off with menubar > options > show/hide and then on by=20 > evaluating (menu-bar-mode [nil]) > or > M-x menu-bar-mode >=20 > (menu-bar-mode 0) evaluated turns it off because 0 is not positive. >=20 > Ed My init has (scroll-bar-mode 0) (tool-bar-mode 0) (setq inhibit-startup-message t) (setq initial-scratch-message nil) ;(fringe-mode 1) ;(menu-bar-mode 0) Has been so for years=E2=80=A6 [The menu-bar-mode was probably commented out after I started using org mod= e] IOW the complaint is with the confusing and incomplete documentation: =C2=ABnil =3D true (turn on)?? So what is false then?=C2=BB