GNU bug report logs - #77732
grep-edit-buffer errors with incionsistent behaviour

Previous Next

Package: emacs;

Reported by: Johann Höchtl <johann.hoechtl <at> gmail.com>

Date: Fri, 11 Apr 2025 09:35:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #41 received at 77732 <at> debbugs.gnu.org (full text, mbox):

From: "Paul D. Nelson" <ultrono <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: johann.hoechtl <at> gmail.com, 77732 <at> debbugs.gnu.org, visuweshm <at> gmail.com
Subject: Re: bug#77732: grep-edit-buffer errors with incionsistent behaviour
Date: Sun, 13 Apr 2025 10:01:25 +0200
Here's a reliable recipe that produces what I suspect is the key issue:

----------------------------------------
emacs -Q

Disable global-font-lock-mode.

Use rgrep in any situation that returns some match.  (The emacs source
tree works, as does a dummy folder containing "test.txt" with a single
line "foo".)

In the *grep* buffer, press n.
----------------------------------------

After this, the line "Grep finished ..." has the compilation-message
text property, which should not happen.

The erroneous property gets added in compilation-parse-errors in the
final "add-text-properties", apparently because the regexp used to
detect matches picks up the "Grep finished..." line.

Hope this helps narrow it down.




This bug report was last modified 23 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.