bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#45617: <query-replace> loses the edit region. Works in 23.3, broke i


From: Juri Linkov
Subject: bug#45617: <query-replace> loses the edit region. Works in 23.3, broke in 26.3
Date: Sat, 23 Jan 2021 19:20:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> Yes, I'm using the function in my test.
>
> Ah, I think I see why you do not see the issue:
>
> When I start a fresh copy of emacs and follow the steps it works correctly.
> When I repeat the steps a 2nd, 3rd ... time, then it breaks.
>
> After the 1st time <query-replace> shows this in the command window:
>   Query replace in region (default _iDfnGoverned → _iBDHdfnGoverned):
>
>> "Notice the selection region changes to lines 1-4 and is never restored."
>> I don't see that the selection region changes to lines 1-4.  I see only
>> that the selection region is deactivated after I yank the selection
>> using middle mouse click <mouse-2>.
>
> I believe you will see the selection region change when repeating the steps.
>
> At least I hope so! If not, am I able to embed a jpg in a reply to one of
> these emails?

Do you mean that the region is deactivated after finishing query-replace?
That's how it's supposed to work.  Please always select entire region
before starting query-replace again.





reply via email to

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