all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* grep and filenames with embedded spaces
@ 2003-09-10 17:08 Kin Cho
  2003-09-10 23:12 ` Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: Kin Cho @ 2003-09-10 17:08 UTC (permalink / raw)


Hi,

The default next-error function doesn't seem to parse grep hits where
filenames contain embedded spaces.

Does anybody has a fix for this?

-kin 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: grep and filenames with embedded spaces
  2003-09-10 17:08 grep and filenames with embedded spaces Kin Cho
@ 2003-09-10 23:12 ` Kevin Rodgers
  2003-09-11  2:32   ` Kin Cho
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Rodgers @ 2003-09-10 23:12 UTC (permalink / raw)


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).


> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: grep and filenames with embedded spaces
  2003-09-10 23:12 ` Kevin Rodgers
@ 2003-09-11  2:32   ` Kin Cho
  0 siblings, 0 replies; 3+ messages in thread
From: Kin Cho @ 2003-09-11  2:32 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-11  2:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-10 17:08 grep and filenames with embedded spaces Kin Cho
2003-09-10 23:12 ` Kevin Rodgers
2003-09-11  2:32   ` Kin Cho

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.