From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#31020: 27.0; Please provide a way to know about menu-bar wrapping Date: Sun, 1 Apr 2018 20:03:00 -0700 (PDT) Message-ID: <37c99926-a5e5-4fa8-b734-6f9c146740e9@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1522638135 4830 195.159.176.226 (2 Apr 2018 03:02:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 2 Apr 2018 03:02:15 +0000 (UTC) To: 31020@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 02 05:02:11 2018 Return-path: Envelope-to: geb-bug-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 1f2pjX-0001AQ-88 for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Apr 2018 05:02:11 +0200 Original-Received: from localhost ([::1]:55269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f2pla-0005Ye-VP for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Apr 2018 23:04:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f2plQ-0005Xe-0E for bug-gnu-emacs@gnu.org; Sun, 01 Apr 2018 23:04:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f2plK-0001IY-GT for bug-gnu-emacs@gnu.org; Sun, 01 Apr 2018 23:04:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54919) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f2plK-0001IO-CL for bug-gnu-emacs@gnu.org; Sun, 01 Apr 2018 23:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f2plK-0006Vl-3i for bug-gnu-emacs@gnu.org; Sun, 01 Apr 2018 23:04: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, 02 Apr 2018 03:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31020 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152263819924974 (code B ref -1); Mon, 02 Apr 2018 03:04:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Apr 2018 03:03:19 +0000 Original-Received: from localhost ([127.0.0.1]:34583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2pkc-0006Uj-R6 for submit@debbugs.gnu.org; Sun, 01 Apr 2018 23:03:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2pka-0006UV-6a for submit@debbugs.gnu.org; Sun, 01 Apr 2018 23:03:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f2pkU-0000nF-8q for submit@debbugs.gnu.org; Sun, 01 Apr 2018 23:03:11 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38615) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f2pkU-0000n9-6A for submit@debbugs.gnu.org; Sun, 01 Apr 2018 23:03:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f2pkT-0005LB-02 for bug-gnu-emacs@gnu.org; Sun, 01 Apr 2018 23:03:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f2pkP-0000ju-TJ for bug-gnu-emacs@gnu.org; Sun, 01 Apr 2018 23:03:09 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:59944) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f2pkP-0000j3-Ju for bug-gnu-emacs@gnu.org; Sun, 01 Apr 2018 23:03:05 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w322qv5o112375 for ; Mon, 2 Apr 2018 03:03:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=KEZT97ddslzfiCkg+gMdwH45q789lT7l83D2g3mVdxY=; b=lcEj/SWdFN6ckVyJ0CD3E271YKZ+G9sHjfUx9VYoqK6/UxXTmdsWrGVI562PYTd3ei+P zMba4v76xvGKdrb8ecg/MLk/r5+YZ8h4XRkqrqlVIbx9YhguSmpIAMJk6WNobSxwkivH xlkDi8fN8Osn5OCibNq/sBVFb19qPL/gTw/6/dzJUIWo1lEFuUf0ZPADNS4Sh/THFbNL RdbZmrcoi5/a4SxYKOAwYnKOz1O3NftVQK+QAK4dhzfEbRN9ZJKq2U6ZmFnW9fXIeo6n KbSsETod76mHKUcPhX40eqD1W1YHn6888K0tFI88u04yuKC4usBW+CIhd/EwJX6LDEhe xg== Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2130.oracle.com with ESMTP id 2h3c4300ha-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 02 Apr 2018 03:03:03 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w32331Xu005856 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 2 Apr 2018 03:03:02 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w32331jN006034 for ; Mon, 2 Apr 2018 03:03:01 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4666.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8850 signatures=668697 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=827 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804020022 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144785 Archived-At: Enhancement request. When a frame is narrower than the text in the menu-bar, that text is wrapped. And yet the value of frame parameter `menu-bar-lines' is not increased (which is good). It would be good to be able to know (from Elisp) how many "visual" (effective) menu-bar lines there are currently, that is, how many times the menu-bar text is wrapped. (It is typically wrapped zero or one time, producing text that appears visually to be two lines.) In GNU Emacs 27.0.50 (build 3, x86_64-w64-mingw32) of 2018-03-21 Repository revision: e70d0c9e66d7a8609450b2889869d16aeb0363b5 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install -C 'CFLAGS=3D-O2 -static -g3''