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: Bob Floyd
Subject: bug#45617: <query-replace> loses the edit region. Works in 23.3, broke in 26.3
Date: Mon, 4 Jan 2021 14:40:09 -0800

Thanks! The patch has fixed the issue. 


-----Original Message-----
From: Juri Linkov [mailto:juri@linkov.net] 
Sent: Monday, January 4, 2021 9:37 AM
To: Eli Zaretskii
Cc: Bob Floyd; 45617@debbugs.gnu.org
Subject: Re: bug#45617: <query-replace> loses the edit region. Works in 23.3, 
broke in 26.3

>> 7. Nothing happens because the region in step (1) has been lost.
>>     It should ask to replace 4  _xx s in the region.
>
> I suspect this is due to changes in how selection works in Emacs.
> Those changes were made in Emacs 24; please see the section "Selection 
> changes" in the file etc/NEWS.24, where you will also find 
> instructions for getting back the old behavior.

I tried to fix this problem by this patch, and indeed it fixed it, so the 
region boundaries are preserved even when changed during the minibuffer reading 
the strings:







reply via email to

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