Subject: Re: bug#7004: 23.2; In fullscreen mode, the echo area takes too much vertical space

From: Jan Djärv <[email-masked]>
Date: Fri, 10 Sep 2010 11:01:23 +0200

Please do not post in html.

 From your picture:
The height of tool bar + menu bar is 73 pixels.
Your font height is 17 pixels.

(1024 - 73)/17 = 55.94117

The remnant (0.94117) is just wasted space, no whole line can be made to fit 
in to it so it shows up at the botton as unused space.  Any window height that 
isn't an integral of the font height will show like this.

There is no bug here,

	Jan D.

2010-09-09 17:14, Dani Moncayo skrev:
>
> When I put Emacs in fullscreen mode, it seems to me that the last line
> (echo area/minibuffer) takes too much, unnecessary vertical space.
>
> Test conditions:
>   - emacs-version => "GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version
> 2.20.1) of 2010-07-31 on jesus-desktop".
>   - OS: Ubuntu 10.04 (32 bits CPU).
>
> To reproduce the bug:
>   1.- Start Emacs in fullscreen: "emacs -Q -fs" (see "fullscreen.png").
> Here you will see the echo area too high.
>   2.- Now, to compare, start Emacs in normal window: "emacs -Q" (see
> "normal-window.png"). Here you will see the echo area properly dimensioned.
>
>
> Another (i think easier) way to reproduce the bug: switch from normal
> window to fullscreen mode, by using the following Elisp function:
>
>     (defun toggle-fullscreen ()
>       (interactive)
>       (let ((current-value (frame-parameter nil 'fullscreen)))
>          (set-frame-parameter nil 'fullscreen
>                  (if (equal current-value 'fullboth)
>                      (if (boundp 'old-fullscreen) old-fullscreen nil)
>                    (progn (setq old-fullscreen current-value)
>     'fullboth)))))
>
>     ; optional shortcut
>     (global-set-key [f11] 'toggle-fullscreen)
>
>
>
>
>
>
>
>