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, 25 Jan 2021 16:34:43 -0800

It looks like the `replace.elc` file I've been creating isn't being loaded:

I changed:
(message "Replaced %d occurrence%s%s"
To:
(message "Replaced XX %d occurrence%s%s"

And the *Messages* buffer still shows:
Replaced 3 occurences

I've verified the elc file is re-written each time I change and
byte-compile-file replace.el.

Is there a command that shows the paths to the elc files loaded? Or, does a
new instance of emacs share elc's from an existing running copy of emacs
(that would be pretty geeky!)? I'm doing my tests with an emacs running for
several days now, assuming it would not interfere.

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

> I put the message in below as you suggest, but the result is as though no
> region is selected - it replaces everywhere in the whole buffer:
>
> And *Messages* only contains:
>
> Mark saved where search started
> Mark set [2 times]
> Replaced 11 occurences
>
> The region I selected contained only 3 occurences.
>
> Have I put your message in the correct place?

Yes, the correct place.  Maybe you need to compile it or just evaluate.






reply via email to

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