From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#5537: rgrep doesn't check if DIR exists
Date: Mon, 08 Feb 2010 21:30:23 -0700 [thread overview]
Message-ID: <hkqocp$c7d$1@ger.gmane.org> (raw)
In-Reply-To: <87bpg1pzvu.fsf@jidanni.org>
jidanni@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
prev parent reply other threads:[~2010-02-09 4:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-07 2:01 bug#5537: rgrep doesn't check if DIR exists jidanni
2010-02-09 4:30 ` Kevin Rodgers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='hkqocp$c7d$1@ger.gmane.org' \
--to=kevin.d.rodgers@gmail.com \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.