[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Select completions from the minibuffer
From: |
Eli Zaretskii |
Subject: |
Re: Select completions from the minibuffer |
Date: |
Sat, 12 Mar 2022 20:14:10 +0200 |
> Date: Sat, 12 Mar 2022 18:37:14 +0100
> From: Ergus <spacibba@aol.com>
> CC: juri@linkov.net
>
>
>
> On March 12, 2022 6:29:57 PM GMT+01:00, Eli Zaretskii <eliz@gnu.org> wrote:
> >> From: Lars Ingebrigtsen <larsi@gnus.org>
> >> Cc: Juri Linkov <juri@linkov.net>, Eli Zaretskii <eliz@gnu.org>,
> >> emacs-devel@gnu.org
> >> Date: Sat, 12 Mar 2022 18:04:54 +0100
> >>
> >> Ergus <spacibba@aol.com> writes:
> >>
> >> > 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?
> >>
> >> Hm, that does sound kind of attractive. I don't know whether it'd be a
> >> lot of work to implement -- Eli?
> >
> >Isn't it very similar to the region?
> >
>
> I don't think so... I think it is more similar to the mouse-face feature /
> text property.
Why do you think so? The region is redrawn when the cursor moves, and
the cursor moves as result of Emacs commands, so how is this very
different from what you want? By contrast, the mouse highlight is
triggered by mouse movements that are completely independent of Emacs
commands, and the implementation, as part of the display engine, is
therefore quite complicated. Whereas the region display is nowadays
implemented completely in Lisp.
- Re: Select completions from the minibuffer, (continued)
- Re: Select completions from the minibuffer, Stefan Monnier, 2022/03/18
- Re: Select completions from the minibuffer, Eli Zaretskii, 2022/03/18
- Re: Select completions from the minibuffer, Ergus, 2022/03/11
- Re: Select completions from the minibuffer, Lars Ingebrigtsen, 2022/03/12
- Re: Select completions from the minibuffer, Eli Zaretskii, 2022/03/12
- Re: Select completions from the minibuffer, Ergus, 2022/03/12
- Re: Select completions from the minibuffer,
Eli Zaretskii <=
- Re: Select completions from the minibuffer, Ergus, 2022/03/12
- Re: Select completions from the minibuffer, Eli Zaretskii, 2022/03/12
- Re: Select completions from the minibuffer, Ergus, 2022/03/13
- Re: Select completions from the minibuffer, Juri Linkov, 2022/03/13
- Re: Select completions from the minibuffer, Ergus, 2022/03/13
- RE: [External] : Re: Select completions from the minibuffer, Drew Adams, 2022/03/12
RE: [External] : Re: Select completions from the minibuffer, Drew Adams, 2022/03/10
Re: Select completions from the minibuffer, Eli Zaretskii, 2022/03/10