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


View this message in rfc822 format

From: "Paul D. Nelson" <ultrono <at> gmail.com>
To: "Paul D. Nelson" <ultrono <at> gmail.com>
Cc: johann.hoechtl <at> gmail.com, eliz <at> gnu.org, 77732 <at> debbugs.gnu.org, visuweshm <at> gmail.com
Subject: bug#77732: grep-edit-buffer errors with incionsistent behaviour
Date: Mon, 21 Apr 2025 16:27:09 +0200
[Message part 1 (text/plain, inline)]
I took a look at the manual entry for compilation-mode, which contains:

       Sometimes ‘compilation-error-regexp-alist’ doesn't correctly
    determine the filename that is the source of the error.  Use user option
    ‘compilation-transform-file-match-alist’ to make any necessary
    adjustments, such as adding or changing a directory component, or even
    considering certain compiler messages not error messages at all.

This suggests a surgical fix (attached) that addresses the cases of the
bug that I had been able to reproduce.  Perhaps Johann can check if it
addresses his cases, too.

[0001-Fix-grep-buffer-display-of-finished-lines-as-matches.patch (text/x-patch, attachment)]

This bug report was last modified 76 days ago.

Previous Next


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