Permanently increase size of minibuffer / echo area
Joost Kremers <[email protected]> Thu, 28 May 2026 16:47:16 +0200
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
Hi list,
I'm trying to find a way to permanently increase the size of the
minibuffer / echo area, but so far, haven't been totally successful.
Through trial and error and a little help from an AI, I ended up with the
following:
```
(setq resize-mini-windows nil)
(run-with-timer 0.1 nil
(lambda ()
(set-window-text-height (minibuffer-window) 2)))
```
I tried the same lambda in `window-setup-hook`, but that didn't work
reliably (it worked sometimes, but not always), and also a direct call to
`set-window-text-height`, but that didn't seem to work at all.
Despite this, the size of the minibuffer sometimes reverts to 1, especially
on Android, but also on Linux.
So I was wondering: is there a better way to make sure that the minibuffer
/ echo area is always at least 2 lines high, even when it's empty? Is there
perhaps even a "right" way to do it?
TIA
Joost
--
Joost Kremers
Life has its moments