[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13549: 24.3.50; FR: Improve grep output (show function names, when p
From: |
Juri Linkov |
Subject: |
bug#13549: 24.3.50; FR: Improve grep output (show function names, when possible) |
Date: |
Fri, 24 May 2013 23:55:15 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) |
>> - ("^.+?-[0-9]+-.*\n" (0 grep-context-face)))
>> + ("^.+?[-=][0-9]+[-=].*\n" (0 grep-context-face)))
>
> Sounds good, tho a little comment above that line would be welcome (it
> could talk about both the =..= and the -..- cases).
Done, with more comments.
As for the function names in the output of grep, let's hope that
the developers of GNU grep will apply the patch implemented in
http://lists.gnu.org/archive/html/bug-grep/2005-01/msg00027.html
that adds the command line option `-p' and `--show-function-line'
with formatting similar to the output of git-grep
that is now supported in Emacs.