[Top][All Lists]

[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: Sat, 12 Mar 2022 01:14:46 +0100

On Thu, Mar 10, 2022 at 09:32:31PM +0100, Lars Ingebrigtsen wrote:
Juri Linkov <juri@linkov.net> writes:

Oops, it depends on another patch:

Thanks, with that it compiles, but doesn't quite seem to do the right

emacs -Q
f TAB M-<down> M-<down>

gives me

I.e., it prepends the choice instead of replacing it.

But it's otherwise what I want.  😃

Perhaps it should also highlight the current choice in the
*Completions* buffer?  It moves point in the buffer, but that's a
too-subtle hint, I think.

Hi Lars:

I added a highlight mode for completions in my branch using hooks and
overlays, but I am wondering since then: why we don't have a text
property that highlight the region when the cursor is over the region,
like the `mouse-face` but for the cursor (point)... Is it possible to
implement such thing more or less easily?

if so, then it will be easier and simpler (and probably more efficient
without requiring hooks and overlays).


(domestic pets only, the antidote for overdose, milk.)
  bloggy blog: http://lars.ingebrigtsen.no

reply via email to

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