Grep related fixes.
authorJuri Linkov <juri@jurta.org>
Mon, 5 Sep 2011 08:20:02 +0000 (11:20 +0300)
committerJuri Linkov <juri@jurta.org>
Mon, 5 Sep 2011 08:20:02 +0000 (11:20 +0300)
commitf62bd846552a090f3ba5e136d6d9cdb4c07ed7be
treeb199c66feaaaa79217d7fbcd5c5f11f16875f68e
parent045820ecd3b3f4396474fae297945d58d9187e6a
Grep related fixes.

* etc/grep.txt: Add `eval' to the Local Variables section that
emulates `grep-filter'.

* lisp/progmodes/grep.el (grep-filter): Avoid incomplete processing by
keeping point where processing of grep matches begins, and
continue to delete remaining escape sequences from the same point.
(grep-filter): Make leading zero optional in "0?1;31m" because
git-grep emits "\033[1;31m" escape sequences unlike expected
"\033[01;31m" as GNU Grep does.
(grep-process-setup): Replace obsolete "ml=" with newer "sl=".

Fixes: debbugs:9408
etc/ChangeLog
etc/grep.txt
lisp/ChangeLog
lisp/progmodes/grep.el