emacs-devel
[Top][All Lists]
Advanced

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

Re: Select completions from the minibuffer


From: Ergus
Subject: Re: Select completions from the minibuffer
Date: Thu, 17 Mar 2022 19:01:30 +0100

On Mon, Mar 14, 2022 at 09:34:17PM +0200, Juri Linkov wrote:
Now there is a variable completions-highlight-face. When nil highlight
is disabled, otherwise it must be a the face to use, by default
completions-highlight.

I had the mode before because I needed some initialization, but with the
cursor-face feature that is not needed and the code got simpler.

Thanks, highlighting works correctly when the current buffer is *Completions*.
But cursor-face is not highlighted in *Completions* when the current buffer
is the minibuffer.  Such highlighting is necessary when completions
are navigated from the minibuffer.


When the window is not selected or the active window of the minibuffer
it is not highlighted (because conceptually the cursor is not on that
window)

I can rely on cursor-in-non-selected-windows to have a consistent
behavior or add a new local variable for internal use only. What do you
prefer?


reply via email to

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