emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: grep can no longer find files with matches


From: Juri Linkov
Subject: Re: grep can no longer find files with matches
Date: Sun, 14 Aug 2005 11:18:00 +0300
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

> If you use M-x kill-grep, it does the same on the "Grep interrupt at Sat
> Aug 13 14:39:39" line.

I fixed compile.el and grep.el to highlight other possible exit messages:

Grep interrupt
Grep killed
Grep terminated

If there are other messages not handled, then their highlighting will
be wrong.  I see the code in compilation-handle-exit:

    ;; Prevent that message from being recognized as a compilation error.
    (add-text-properties omax (point)
                         (append '(compilation-handle-exit t) nil))

It seems it was intended to handle such cases to disable
fontification of unknown exit messages as compilation errors and
grep hits.  But I don't understand how it is supposed to work.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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