emacs-devel
[Top][All Lists]
Advanced

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

Re: wdired replace-regexp (continue bug 14013?)


From: Madhu
Subject: Re: wdired replace-regexp (continue bug 14013?)
Date: Wed, 04 Sep 2024 07:20:38 +0530

* Michael Heerdegen via "Emacs development discussions." 
<87ttew537j.fsf@web.de> :
Wrote on Tue, 03 Sep 2024 14:30:56 +0200:

> Michael Heerdegen via "Emacs development discussions."
> <emacs-devel@gnu.org> writes:
>
>> This likely happens just because the buffer is fontified lazily and text
>> properties in not yet displayed parts of the buffer are not yet
>> attached.
>
> In that case evaluating (font-lock-ensure) in the search buffer should
> fix the issue.  It may be necessary to do that before switching to
> wdired.  Could you maybe test if that has an effect?

Yes this seems to fix the problem. I'll send a message to the bug list
shortly.  This part works.  But I'm seeing another another problem with
the test case I posted:

"replace-match-maybe-edit: Match data clobbered by buffer modification
hooks"

This goes away when I call (load-library "wdired") again I can't figure
out why this should happen, it happens even if I protect all the calls
to string-match in wdired.el with (save-match-data) and recompile
I'll try a new build first.









reply via email to

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