Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I make the mini-buffer window larger? It is not big enough to display up/down arrows by default

Tags:

emacs

How do I make the mini-buffer window larger? It is not big enough to display up/down arrows by default.

As can be seen below, the mini-buffer window is not sufficiently large to display the down-array and this bothers me.

Is there a way to increase its height so that its appearance adapt to its content?

It should be said, that I've installed the leuven theme and zoom-frm.el additions.

enter image description here

like image 350
Shuzheng Avatar asked Jan 21 '26 19:01

Shuzheng


1 Answers

C-h v resize-mini-windows:

resize-mini-windows is a variable defined in `C source code'.
Its value is grow-only

Documentation:
How to resize mini-windows (the minibuffer and the echo area).
A value of nil means don't automatically resize mini-windows.
A value of t means resize them to fit the text displayed in them.
A value of `grow-only', the default, means let mini-windows grow only;
they return to their normal size when the minibuffer is closed, or the
echo area becomes empty.

To let minibuffer windows resize automatically, set this variable to either t or grow-only, in your init file. For example:

(setq resize-mini-windows  t)

But if C-h v tells you that the value is already t or grow-only then there must be some other problem. (In that case, recursively bisect your init file to find what is causing it.)

like image 50
Drew Avatar answered Jan 23 '26 19:01

Drew