bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31020: 27.0; Please provide a way to know about menu-bar wrapping


From: Eli Zaretskii
Subject: bug#31020: 27.0; Please provide a way to know about menu-bar wrapping
Date: Mon, 02 Apr 2018 09:08:58 +0300

> Date: Sun, 1 Apr 2018 20:03:00 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> 
> 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.)

I don't understand why you think that the menu-bar-lines parameter
should not be it.  AFAIU, the problem with setting it (or any other
frame parameter) to the actual value is that with many toolkits Emacs
simply doesn't know the correct value.  But maybe Martin will have
some trick up his sleeves.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]