GNU bug report logs - #8895
24.0.50; Entering Directory matching no longer works in grep-mode

Previous Next

Package: emacs;

Reported by: Vagn Johansen <vagn.johansen <at> gmail.com>

Date: Sat, 18 Jun 2011 23:42:01 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Vagn Johansen <vagn.johansen <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 8895 <at> debbugs.gnu.org
Subject: bug#8895: 24.0.50; Entering Directory matching no longer works in grep-mode
Date: Tue, 20 Sep 2011 16:45:31 +0200
On Mon, Sep 19, 2011 at 9:11 PM, Chong Yidong <cyd <at> stupidchicken.com> wrote:
> Vagn Johansen <vagn.johansen <at> gmail.com> writes:
>
>> Yes, sort of . I call (grep COMMAND-ARGS) with an external program
>> (written by me) which write the "Entering directory" message.
>
> In that case, you should use grep-mode-hook to set
> compilation-directory-matcher accordingly.  For us to cater to
> non-standard grep programs is a path to madness.

You can easily support "non-standard grep programs" by using a
standard expected output format. You already supported my program
because the bug I reported is a *regression*. I have been grepping
happily for many years with my program (within emacs).

My "non-standard grep program" follows the "standard" set forth by GNU
Make which prints out for example

  make: Entering directory `/u/vj/project1'

when run with make -C ~/project1


Maybe I have been lucky that grep-mode was built upon compilation-mode
so that I got
this additional feature, but I do not see it as "path to madness" if
you select *one* format
for parsing entering/leaving a directory information in grep output.

But yes, I should be able to use grep-mode-hook.

Regards
Vagn




This bug report was last modified 13 years and 267 days ago.

Previous Next


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