tags:

views:

136

answers:

3

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.

+1  A: 

Do you mean the minibuffer?

Using C-h v minibuffer <tab> will give you a list of minibuffer related variable and if you finish the command give you the help.

Likewise, C-h f minibuffer <tab> will give you a list of minibuffer related function.

I don't see anything obvious that would effect the height of the buffer.

dmckee
+1  A: 

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:

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

GNU Reference

Russell
For the win. But you might highlight the variable name.
dmckee
A: 

Thanks for the help. I scan the GNU window reference. There is also a variable max-mini-window-height allow me to adjust the height of the minibuffer.

Cheers

small_potato