From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#43383: 26.3; `toggle-menu-bar-mode-from-frame' Date: Mon, 14 Sep 2020 15:16:40 +0000 (UTC) Message-ID: <2577f0a1-5380-48dd-8327-f813d5693058@default> References: <<7f20fd70-b8f0-490d-a3f8-36a7554c6ccd@default>> <<838sdcbes6.fsf@gnu.org>> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39619"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43383@debbugs.gnu.org To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 14 17:34:19 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kHqUl-000ACz-C9 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Sep 2020 17:34:19 +0200 Original-Received: from localhost ([::1]:33826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHqUk-0006OW-AR for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Sep 2020 11:34:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHqE2-0002CI-Rq for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2020 11:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44348) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHqE2-0001wR-IO for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2020 11:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kHqE2-0004QI-C0 for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2020 11:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Sep 2020 15:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43383 X-GNU-PR-Package: emacs Original-Received: via spool by 43383-submit@debbugs.gnu.org id=B43383.160009661116473 (code B ref 43383); Mon, 14 Sep 2020 15:17:02 +0000 Original-Received: (at 43383) by debbugs.gnu.org; 14 Sep 2020 15:16:51 +0000 Original-Received: from localhost ([127.0.0.1]:55894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHqDr-0004HM-DQ for submit@debbugs.gnu.org; Mon, 14 Sep 2020 11:16:51 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:34826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHqDp-0004C1-IH for 43383@debbugs.gnu.org; Mon, 14 Sep 2020 11:16:50 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08EF8k5c037035; Mon, 14 Sep 2020 15:16:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=MzlW/R4XsBVnp44orgUP8H62UeiNizYK7NW6/ZjIFlM=; b=DRA3FmqkZyl+8QIr/SHP7o6hKh0nPLUuWSgnYQ1vvNdE7AHnSEZ+8QgF7tzFAdcAjyTB JeS2HTjKnE0qg2lybT952ocihR78mPXPCvtqF5ehPbUOtk5RPUQcQDVOEns9mLVhCMzE huSgChOqpLgC9a/WPAsr1G+b6mJNQ4/LX/lKzyhBs5h2DaVh6SUP9kShYrp+DKYKyj6I oMe+Yg8JyIuwmfo2Zgkqmc79TvYdWmMCeYejQmbSpvhm3QySs7nFaMWeJgSTAzkXAPma tVQUksCEECzLxeO23FmfShz72pdG0zLfF3m0WtlyTgFbg2PnmJzeIbo9fE1IxTifhklo 2g== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2120.oracle.com with ESMTP id 33gp9ky7qh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 14 Sep 2020 15:16:43 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08EF9lHQ189081; Mon, 14 Sep 2020 15:16:42 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3020.oracle.com with ESMTP id 33hm2xau29-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 14 Sep 2020 15:16:42 +0000 Original-Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 08EFGfKH001067; Mon, 14 Sep 2020 15:16:42 GMT In-Reply-To: <<838sdcbes6.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5044.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9744 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 bulkscore=0 mlxlogscore=999 malwarescore=0 mlxscore=0 phishscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009140124 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9744 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxlogscore=999 adultscore=0 malwarescore=0 clxscore=1015 lowpriorityscore=0 phishscore=0 spamscore=0 priorityscore=1501 suspectscore=0 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009140124 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188068 Archived-At: > > What is this command - what's its use case? >=20 > If you set the menu-bar-lines parameter of a frame to zero, but don't > turn off menu-bar-mode, the menu bar will not be displayed. In that > situation, "M-x menu-bar-mode RET" will do the exact opposite of what > you want, whereas this command, when invoked from the menu popped up > by C-mouse-3, will do what you expect. That's the use case. Thanks for the explanation. So its use is only when the menu-bar is not shown. The doc string should probably at least point that out. And perhaps it can be shown only by C-mouse-3, and only when the menu-bar is not shown (in the clicked frame). And maybe use the command I mentioned instead, either from the keyboard or from C-mouse-3. Or when the menu-bar is shown, from there too. It just toggles the menu-bar for the selected frame (or the FRAME arg).