[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep and filenames with embedded spaces
From: |
Kin Cho |
Subject: |
Re: grep and filenames with embedded spaces |
Date: |
10 Sep 2003 19:32:40 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Kevin Rodgers <ihs_4664@yahoo.com> writes:
> Kin Cho wrote:
>
> > The default next-error function doesn't seem to parse grep hits where
> > filenames contain embedded spaces.
>
>
> Actually, it does (Emacs 21.3).
You're right. It works after I removed this old setting in my .emacs:
(setq grep-regexp-alist
'(("^\\([a-zA-Z]:?[^:(\t\n]+\\)[:( \t]+\\([0-9]+\\)[:) \t]" 1 2))))
Thanks.
-kin
>
> > Does anybody has a fix for this?
>
> Just remove any space characters that occur within [^...] in the REGEXP
>
> portion of grep-regexp-alist.
>
> --
> Kevin Rodgers