unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31020: 27.0; Please provide a way to know about menu-bar wrapping
@ 2018-04-02  3:03 Drew Adams
  2018-04-02  6:08 ` Eli Zaretskii
  2019-09-28 18:42 ` Stefan Kangas
  0 siblings, 2 replies; 9+ messages in thread
From: Drew Adams @ 2018-04-02  3:03 UTC (permalink / raw)
  To: 31020

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=x86_64-w64-mingw32
 --without-compress-install -C 'CFLAGS=-O2 -static -g3''





^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <<37c99926-a5e5-4fa8-b734-6f9c146740e9@default>]

end of thread, other threads:[~2019-09-28 18:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-02  3:03 bug#31020: 27.0; Please provide a way to know about menu-bar wrapping Drew Adams
2018-04-02  6:08 ` Eli Zaretskii
2018-04-02  8:54   ` martin rudalics
2018-04-02 13:32     ` Drew Adams
2019-09-28 18:42 ` Stefan Kangas
     [not found] <<37c99926-a5e5-4fa8-b734-6f9c146740e9@default>
     [not found] ` <<837epq6sxx.fsf@gnu.org>
2018-04-02 13:25   ` Drew Adams
2018-04-03  6:49     ` martin rudalics
2018-04-03 14:28       ` Drew Adams
2018-04-04  7:49         ` martin rudalics

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).