From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: Disable menu bar mode Date: Mon, 18 Dec 2017 15:39:39 -0600 Organization: NewsGuy - Unlimited Usenet $23.95 Message-ID: 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; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1513633414 7616 195.159.176.226 (18 Dec 2017 21:43:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Dec 2017 21:43:34 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 18 22:43:29 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 1eR3C4-0001ab-Pb for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Dec 2017 22:43:28 +0100 Original-Received: from localhost ([::1]:45472 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eR3E2-0001pd-OK for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Dec 2017 16:45:30 -0500 X-Received: by 10.55.15.76 with SMTP id z73mr846552qkg.36.1513633244382; Mon, 18 Dec 2017 13:40:44 -0800 (PST) Original-Path: usenet.stanford.edu!m31no3520072qtf.0!news-out.google.com!t48ni1420qtc.1!nntp.google.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news7 Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-NNTP-Posting-Host: p5b50c0e920e8b6b4ef6528ece413352b96265460e6b2e708.newsdawg.com In-Reply-To: <7816d4f5-f412-4a7e-8aa2-ce45a489e9ed@googlegroups.com> X-Received-Bytes: 1777 X-Received-Body-CRC: 556773547 Content-Language: en-US Original-Xref: usenet.stanford.edu gnu.emacs.help:221272 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:115387 Archived-At: On 12/13/2017 7:55 PM, Rusi wrote: > Doc for menu-bar-mode says (among other things): > > | If called from Lisp, enable Menu Bar mode if ARG is omitted or nil. > > That this seems backwards is one thing > > The other is that neither of these seem to work (ie turn off menu-bar) > > (menu-bar-mode t) > (menu-bar-mode nil) > > This does: > > (menu-bar-mode 0) > > Can someone confirm? > > > Emacs version 25.1.1 > On 25.3 it seems to be working as advertised. " (menu-bar-mode &optional ARG) 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. " You can turn it off with menubar > options > show/hide and then on by evaluating (menu-bar-mode [nil]) or M-x menu-bar-mode (menu-bar-mode 0) evaluated turns it off because 0 is not positive. Ed