GNU bug report logs - #5537
rgrep doesn't check if DIR exists

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Sun, 7 Feb 2010 02:03:02 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5537 in the body.
You can then email your comments to 5537 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5537; Package emacs. (Sun, 07 Feb 2010 02:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 07 Feb 2010 02:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: rgrep doesn't check if DIR exists
Date: Sun, 07 Feb 2010 10:01:57 +0800
(rgrep REGEXP &optional FILES DIR CONFIRM)
Doesn't check if DIR exists!!

(See also my other [r]grep related bugs...)





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5537; Package emacs. (Tue, 09 Feb 2010 04:32:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#5537: rgrep doesn't check if DIR exists
Date: Mon, 08 Feb 2010 21:30:23 -0700
jidanni <at> jidanni.org wrote:
> (rgrep REGEXP &optional FILES DIR CONFIRM)
> Doesn't check if DIR exists!!

I think it does: When called interactively, it only lets you complete on
existing directory names.  And when called non-interactively with a non-
existent directory, I get:

Debugger entered--Lisp error: (error "~/bar/: no such directory")
  signal(error ("~/bar/: no such directory"))
  error("%s: no such directory" "~/bar/")
  cd-absolute("/Users/kevin/bar/")
  cd("/Users/kevin/bar/")
  compilation-start("find . \\( -path \\*/CVS -o -path \\*/.svn -o -path 
\\*/\\{arch\\} -o -path \\*/.hg -o -path \\*/_darcs -o -path \\*/.git -o -path 
\\*/.bzr \\) -prune -o  -type f \\( -iname \\*.\\[ch\\] \\) -exec grep -i -nH -e 
foo {} /dev/null \\;" grep-mode)
  rgrep("foo" "*.[ch]" "~/bar")
  eval((rgrep "foo" "*.[ch]" "~/bar"))
  eval-last-sexp-1(t)
  eval-last-sexp(t)
  eval-print-last-sexp()
  call-interactively(eval-print-last-sexp)


-- 
Kevin Rodgers
Denver, Colorado, USA






bug closed, send any further explanations to jidanni <at> jidanni.org Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Sat, 06 Mar 2010 19:21:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 04 Apr 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 136 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.