[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: feature/icomplete-vertical

From: Ergus
Subject: Re: feature/icomplete-vertical
Date: Fri, 18 Sep 2020 19:05:38 +0200

On Fri, Sep 18, 2020 at 11:08:48AM +0800, jixiuf wrote:

Thanks, it is fixed .

But  the bug of  "disappearing prompt and entered text problem" came back 
again, when I  (setq max-mini-window-height 10)


(setq icomplete-show-matches-on-no-input t)
(icomplete-mode 1)
(setq icomplete-format 'vertical)

(defface vmacs-minibuffer-font
`((t :inherit default :height 1.3))
"The default font for minibuffer buffer.
Monospaced font whihc is fixed idth and height is recommended."
:group 'minibuffer)

(defun vmacs-minibuffer-hook()
(set (make-local-variable 'buffer-face-mode-face) 'vmacs-minibuffer-font)
(buffer-face-mode t))

(add-hook 'minibuffer-setup-hook #'vmacs-minibuffer-hook)

(setq max-mini-window-height 10)   ;; add  this line

After asking Stefan he agrees that the problem is in the documentation
of max-mini-window-height that should specify that the height is
expressed in terms of the default's frame font.

So according to that it is fixed now in icomplete-vertical and waiting
for a patch to improve the documentation of max-mini-window-height.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]