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

From: Dani Moncayo <[email-masked]>
Date: Thu, 9 Sep 2010 17:14:34 +0200

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)
>