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: Eli Zaretskii
Subject: Re: Select completions from the minibuffer
Date: Fri, 18 Mar 2022 14:57:21 +0200

> Date: Fri, 18 Mar 2022 13:38:59 +0100
> From: Ergus <spacibba@aol.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, larsi@gnus.org, emacs-devel@gnu.org,
>       juri@linkov.net
> 
> On Fri, Mar 18, 2022 at 08:35:04AM -0400, Stefan Monnier wrote:
> >> Then from scratch try commands like (just an example):
> >>
> >> (with-current-buffer "test"
> >>   (right-char)
> >>   (insert "X"))
> >>
> >> Or similes several times...
> >> You will see that the region is not updated.
> >
> >With your above test, I do see the region being updated.
> >
> >When it fails to do its job is for:
> >
> >    (with-selected-window (next-window) (forward-line -1))
> >
> >I.e. when the only change in that other window is that point was moved.
> >
> >The redisplay does update the cursor but it fails to run
> >`pre-redisplay-functions` in that other window :-(
> >
> >
> >        Stefan
> >
> You are right sorry... the example code should has been:
> 
> (with-selected-window (get-buffer-window "test" 0)
>    (right-char))

Thanks, please submit a bug report with the relevant reproducer, and I
will take a look.



reply via email to

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