* bug#5537: rgrep doesn't check if DIR exists
@ 2010-02-07 2:01 jidanni
2010-02-09 4:30 ` Kevin Rodgers
0 siblings, 1 reply; 2+ messages in thread
From: jidanni @ 2010-02-07 2:01 UTC (permalink / raw)
To: 5537
(rgrep REGEXP &optional FILES DIR CONFIRM)
Doesn't check if DIR exists!!
(See also my other [r]grep related bugs...)
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#5537: rgrep doesn't check if DIR exists
2010-02-07 2:01 bug#5537: rgrep doesn't check if DIR exists jidanni
@ 2010-02-09 4:30 ` Kevin Rodgers
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2010-02-09 4:30 UTC (permalink / raw)
To: bug-gnu-emacs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-09 4:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-07 2:01 bug#5537: rgrep doesn't check if DIR exists jidanni
2010-02-09 4:30 ` Kevin Rodgers
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.