Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

height of emacs bottom command line

Tags:

emacs

elisp

How do I change the height of the emacs bottom command line. It seems it's a fraction of the whole frame, which takes too much space. Thanks in advance.

like image 787
small_potato Avatar asked Dec 22 '09 00:12

small_potato


1 Answers

The minibuffer can automatically take the minimal amount of space required. There is some tweaking that you can do to help it use space more effectively. From the Emacs manual:

Normally, the minibuffer window occupies a single screen line. However, if you add two or more lines' worth of text into the minibuffer, it expands automatically to accomodate the text. The variable resize-mini-windows controls the resizing of the minibuffer. The default value is grow-only, which means the behavior we have just described. If the value is t, the minibuffer window will also shrink automatically if you remove some lines of text from the minibuffer, down to a minimum of one screen line. If the value is nil, the minibuffer window never changes size automatically, but you can use the usual window-resizing commands on it (see Windows).

like image 175
Russell Avatar answered Sep 28 '22 11:09

Russell