--- Begin Message ---
Subject: |
Re: igrep 2.93 on XEmacs 21.1.13 |
Date: |
01 Feb 2001 00:00:00 GMT |
Dave <see.below@ibm.net> wrote:
> Recently upgraded to igrep 2.93 to get the support for filepaths
> containg blanks. Works fine except that the igrep buffer now won't
> take me to the matched file.
>
> The igrep buffer also says that igrep ended with return code 123 ???
That's just the return code from the system grep command.
> I used to be able to position the cursor on a line in the igrep buffer
> and just press return to go to the file and line that matched.
>
> igrep 2.93 just says 'no more matches'
The problem is that the default value of grep-regexp-alist (defined
in Emacs' compile.el, not igrep.el) doesn't match paths that contain
spaces (or tabs, newlines, left parentheses, or colons except as a
separator between a drive letter and the directory).
Try this, which is the same as the 19.34 defvar'ed value with just
the disallowed space removed from the path part of the regexp:
(setq grep-regexp-alist
'(("^\\([a-zA-Z]?:?[^:(\t\n]+\\)[:( \t]+\\([0-9]+\\)[:) \t]"
1 2)))
--
Kevin Rodgers <kevinr@ihs.com> Lead Software Engineer
Information Handling Services Electronic Systems Development
15 Inverness Way East, M/S A114 GO BUFFS!
Englewood CO 80112-5776 USA 1 303 397 2807[voice]
Sent via Deja.com
http://www.deja.com/
--- End Message ---