format used by git-grep for lines with function names.
Fixes: debbugs:13549
agrep -n "INFO tree" ../info/*
../info/dir: 6: File: dir Node: Top This is the top of the INFO tree
+* git-grep
+ with `[diff "el"] xfuncname = "^(\\(.*)$"' in .gitconfig
+ and `*.el diff=el' in .gitattributes
+
+git grep -inH -p -e "org-element-map"
+lisp/org/org.el=20969=(defun org-fill-paragraph (&optional justify)
+lisp/org/org.el:21047: (org-element-map
+
* unknown greps
grep -nH -e "xyzxyz" ../info/*
+2013-05-24 Juri Linkov <juri@jurta.org>
+
+ * progmodes/grep.el (grep-mode-font-lock-keywords):
+ Support =linenumber= format used by git-grep for lines with
+ function names. (Bug#13549)
+
2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/octave.el (octave-smie-rules): Return nil rather than
(0 '(face nil compilation-message nil help-echo nil mouse-face nil) t)
(1 grep-error-face)
(2 grep-error-face nil t))
- ("^.+?-[0-9]+-.*\n" (0 grep-context-face)))
+ ;; "filename-linenumber-" format is used for context lines in GNU grep,
+ ;; "filename=linenumber=" for lines with function names in "git grep -p".
+ ("^.+?[-=][0-9]+[-=].*\n" (0 grep-context-face)))
"Additional things to highlight in grep output.
This gets tacked on the end of the generated expressions.")