From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 06 21:02:17 2010 Received: (at submit) by debbugs.gnu.org; 7 Feb 2010 02:02:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NdwTX-0005K5-2u for submit@debbugs.gnu.org; Sat, 06 Feb 2010 21:02:17 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NdwTU-0005Jw-Oh for submit@debbugs.gnu.org; Sat, 06 Feb 2010 21:02:13 -0500 Received: from mx10.gnu.org ([199.232.76.166]:40804) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NdwTR-00066h-8e for submit@debbugs.gnu.org; Sat, 06 Feb 2010 21:02:09 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NdwTO-0005un-5C for submit@debbugs.gnu.org; Sat, 06 Feb 2010 21:02:08 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,NO_REAL_NAME,UNPARSEABLE_RELAY autolearn=no version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:41887) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NdwTN-0005uh-UV for submit@debbugs.gnu.org; Sat, 06 Feb 2010 21:02:06 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NdwTN-0001Qj-Cb for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2010 21:02:05 -0500 Received: from [199.232.76.173] (port=45399 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdwTM-0001QU-Ul for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2010 21:02:04 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NdwTM-0005uJ-3C for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2010 21:02:04 -0500 Received: from caiajhbdcbbj.dreamhost.com ([208.97.132.119]:57764 helo=homiemail-a5.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NdwTL-0005u3-QR for bug-gnu-emacs@gnu.org; Sat, 06 Feb 2010 21:02:03 -0500 Received: from jidanni.org (218-163-5-93.dynamic.hinet.net [218.163.5.93]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTP id 1BAC7BC73C for ; Sat, 6 Feb 2010 18:02:01 -0800 (PST) From: jidanni@jidanni.org To: bug-gnu-emacs@gnu.org Subject: rgrep doesn't check if DIR exists Date: Sun, 07 Feb 2010 10:01:57 +0800 Message-ID: <87bpg1pzvu.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) (rgrep REGEXP &optional FILES DIR CONFIRM) Doesn't check if DIR exists!! (See also my other [r]grep related bugs...) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 23:31:06 2010 Received: (at submit) by debbugs.gnu.org; 9 Feb 2010 04:31:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nehkg-0007Il-71 for submit@debbugs.gnu.org; Mon, 08 Feb 2010 23:31:06 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NehkS-0007IK-6L for submit@debbugs.gnu.org; Mon, 08 Feb 2010 23:31:04 -0500 Received: from mx10.gnu.org ([199.232.76.166]:41867) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NehkO-0001Mk-TE for submit@debbugs.gnu.org; Mon, 08 Feb 2010 23:30:48 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NehkO-0004Ma-3D for submit@debbugs.gnu.org; Mon, 08 Feb 2010 23:30:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:58922) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NehkN-0004MU-TW for submit@debbugs.gnu.org; Mon, 08 Feb 2010 23:30:47 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NehkN-0006jH-CV for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2010 23:30:47 -0500 Received: from [199.232.76.173] (port=44087 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NehkL-0006j0-LF for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2010 23:30:45 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NehkK-0004MK-Ij for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2010 23:30:45 -0500 Received: from lo.gmane.org ([80.91.229.12]:43692) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NehkK-0004MF-7C for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2010 23:30:44 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NehkH-0001Xy-3h for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 05:30:41 +0100 Received: from c-71-237-24-138.hsd1.co.comcast.net ([71.237.24.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Feb 2010 05:30:41 +0100 Received: from kevin.d.rodgers by c-71-237-24-138.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Feb 2010 05:30:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Kevin Rodgers Subject: Re: bug#5537: rgrep doesn't check if DIR exists Date: Mon, 08 Feb 2010 21:30:23 -0700 Lines: 28 Message-ID: References: <87bpg1pzvu.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-71-237-24-138.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) In-Reply-To: <87bpg1pzvu.fsf@jidanni.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 06 14:20:50 2010 Received: (at control) by debbugs.gnu.org; 6 Mar 2010 19:20:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NnzYQ-0001Bo-NQ for submit@debbugs.gnu.org; Sat, 06 Mar 2010 14:20:50 -0500 Received: from pantheon-po34.its.yale.edu ([130.132.50.80]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NnzYP-0001Bi-Kg for control@debbugs.gnu.org; Sat, 06 Mar 2010 14:20:49 -0500 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po34.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o26JKjJL001179 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 6 Mar 2010 14:20:45 -0500 Received: by furry (Postfix, from userid 1000) id F0D6256CC01; Sat, 6 Mar 2010 14:20:44 -0500 (EST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 5537 Date: Sat, 06 Mar 2010 14:20:44 -0500 Message-ID: <87pr3hmf3n.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) close 5537 thanks From unknown Fri Aug 15 14:45:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 04 Apr 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator