如何使迷你缓冲区窗口更大?它默认显示向上/向下箭头不够大

时间:2016-08-09 11:55:21

标签: emacs

  

如何使迷你缓冲区窗口更大?它默认显示向上/向下箭头不够大。

如下所示,迷你缓冲区窗口不足以显示下行阵列,这让我感到困扰。

有没有办法增加它的高度,使其外观适应其内容?

应该说,我已经安装了leuven主题和zoom-frm.el添加。

enter image description here

1 个答案:

答案 0 :(得分:1)

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.

要让迷你缓冲区窗口自动调整大小,请在init文件中将此变量设置为tgrow-only。例如:

(setq resize-mini-windows  t)

但如果C-h v告诉您该值已经是tgrow-only,则必然会出现其他一些问题。 (在这种情况下,递归地将您的init文件一分为二,以找到导致它的原因。)