[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
junk in *grep* buffers
From: |
Dave Love |
Subject: |
junk in *grep* buffers |
Date: |
Tue, 05 Apr 2005 23:23:21 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Escape sequences appear randomly in *grep* buffers, at least on lines
with two matches. You can get different results from running the same
grep multiple times, but not reproducibly, and you may not see the
escapes the first time.
Here's an example on a file with the same line repeated thrice. I
repeated the M-x grep and only got one set of escapes in the buffer
the next time.
-*- mode: grep; default-directory: "/tmp/" -*-
grep -nH -e foo /tmp/x
/tmp/x:1:foo bar [01;41mfoo[00m bar
/tmp/x:2:foo bar [01;41mfoo[00m bar
/tmp/x:3:foo bar foo bar
Re: junk in *grep* buffers, Dave Love, 2005/04/11