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

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

Re: frame parameter menu-bar-lines changes height of frame


From: Eli Zaretskii
Subject: Re: frame parameter menu-bar-lines changes height of frame
Date: Tue, 13 Jun 2006 21:39:48 +0300

> From: "Drew Adams" <address@hidden>
> Date: Mon, 12 Jun 2006 08:24:37 -0700
> 
> You've said that the reason to not fix this now or soon is that fixing it
> would be difficult. Could you explain why menu-bar-lines is different from
> tool-bar-lines in this respect?

Because, historically, the menu bar was just a line of text at the
upper edge of the frame (and still is, in the non-toolkit and tty
builds).  Tool bar was never an integral number of text lines.

> The latter works correctly. Couldn't the tool-bar-lines
> implementation (fix) apply also to menu-bar-lines?

Theoretically, yes.  But even the thread you cited (which started
about a different issue, and only touched the menu bar tangentially)
reveals that people are divided on what should be the right behavior.
There are also other complications, IIRC: the size of the menu bar may
not be known with some toolkits, so resizing the text area might be
tricky.

That is why I don't think we should try to fix this now.  The fact
that two years have passed (actually much more, since this issue was
discussed back when Gerd Moellmann was the head maintainer) is
unfortunate, but I think we will shoot in our foot if we add now as
yet additional complication in the display-related code.  I fear the
redisplay-dont-pause changes already complicated things enough, and
might prolong the pretest.  Emacs had this misfeature for a long time,
and complaints, if there were any, were minimal.  I think the fix can
wait a little longer.




reply via email to

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