From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 11 20:07:38 2010 Received: (at submit) by debbugs.gnu.org; 12 Jan 2010 01:07:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NUVEQ-0007OW-1x for submit@debbugs.gnu.org; Mon, 11 Jan 2010 20:07:38 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NUVEO-0007OP-Ld for submit@debbugs.gnu.org; Mon, 11 Jan 2010 20:07:37 -0500 Received: from mail.gnu.org ([199.232.76.166]:54385 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NUVEK-0008N8-TL for emacs-pretest-bug@gnu.org; Mon, 11 Jan 2010 20:07:33 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NUVEK-0001WN-54 for emacs-pretest-bug@gnu.org; Mon, 11 Jan 2010 20:07:32 -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 autolearn=no version=3.1.0 Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74]:60456 helo=homiemail-a14.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUVEJ-0001Vl-Qe for emacs-pretest-bug@gnu.org; Mon, 11 Jan 2010 20:07:31 -0500 Received: from jidanni.org (218-163-6-10.dynamic.hinet.net [218.163.6.10]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a14.g.dreamhost.com (Postfix) with ESMTPSA id 4CB8B8C063 for ; Mon, 11 Jan 2010 17:07:28 -0800 (PST) From: jidanni@jidanni.org To: emacs-pretest-bug@gnu.org Subject: 23.1.91; rgrep forces me to choose a directory Date: Tue, 12 Jan 2010 08:39:12 +0800 Message-ID: <87pr5gjgwf.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, 3) X-Spam-Score: -5.2 (-----) 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.3 (-----) rgrep forces me to choose a directory, e.g., (rgrep "INIT" "* .*" "/usr/share/initscripts/" nil) when I really want to choose a wildcard of several directories. OK, so I use repeat-complex-command to forge in (rgrep "INIT" "* .*" "/usr/share/init*" nil) And low and behold, rgrep assumes it can cd to that "directory" and proceeds even though the cd failed! So at least it should check that its cd doesn't fail, even if wildcard directories will never be implemented. In GNU Emacs 23.1.91.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 14 21:34:16 2010 Received: (at control) by debbugs.gnu.org; 15 Jan 2010 02:34: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 1NVc0u-0002Nz-7E for submit@debbugs.gnu.org; Thu, 14 Jan 2010 21:34:16 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NVc0s-0002Nt-9H for control@debbugs.gnu.org; Thu, 14 Jan 2010 21:34:14 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NVc0o-0003pu-Q3; Thu, 14 Jan 2010 21:34:10 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19279.54306.760765.98090@gargle.gargle.HOWL> Date: Thu, 14 Jan 2010 21:34:10 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: red X-Ran: :m~t}wvg-c(~($msYvZ|;v.!JomO'3d}hwb{k1S4tPrXRnrVb!DCq)dD@=s-a^i3cq17iH X-Debbugs-No-Ack: yes X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) tags 3642 moreinfo unreproducible severity 3699 minor severity 3870 minor severity 4438 minor severity 4952 minor severity 5154 minor close 5215 severity 5239 wishlist close 5318 severity 5360 wishlist severity 5362 minor tags 4974 moreinfo unreproducible severity 4408 wishlist severity 4089 wishlist tags 4089 wontfix reassign 4044 emacs,ns merge 2280 5252 tags 5374 moreinfo reassign 4828 emacs,cc-mode tags 4828 patch reassign 5001 emacs,erc close 5371 reassign 4517 emacs,ns severity 3230 minor close 4930 close 5249 From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 11:11:22 2019 Received: (at 5360) by debbugs.gnu.org; 1 Oct 2019 15:11:22 +0000 Received: from localhost ([127.0.0.1]:34350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFJoA-0003ie-Hx for submit@debbugs.gnu.org; Tue, 01 Oct 2019 11:11:22 -0400 Received: from quimby.gnus.org ([80.91.231.51]:53286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFJo8-0003iT-Im for 5360@debbugs.gnu.org; Tue, 01 Oct 2019 11:11:21 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iFJo3-0004RK-7C; Tue, 01 Oct 2019 17:11:17 +0200 From: Lars Ingebrigtsen To: jidanni@jidanni.org Subject: Re: bug#5360: 23.1.91; rgrep forces me to choose a directory References: <87pr5gjgwf.fsf@jidanni.org> Date: Tue, 01 Oct 2019 17:11:14 +0200 In-Reply-To: <87pr5gjgwf.fsf@jidanni.org> (jidanni@jidanni.org's message of "Tue, 12 Jan 2010 08:39:12 +0800") Message-ID: <87ftkc4i25.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: jidanni@jidanni.org writes: > rgrep forces me to choose a directory, e.g., > (rgrep "INIT" "* .*" "/usr/share/initscripts/" nil) > when I really want to choose a wildcard of several directories. > > OK, so I use repeat-complex-c [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 5360 Cc: 5360@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) jidanni@jidanni.org writes: > rgrep forces me to choose a directory, e.g., > (rgrep "INIT" "* .*" "/usr/share/initscripts/" nil) > when I really want to choose a wildcard of several directories. > > OK, so I use repeat-complex-command to forge in > (rgrep "INIT" "* .*" "/usr/share/init*" nil) > And low and behold, rgrep assumes it can cd to that "directory" and > proceeds even though the cd failed! So at least it should check that its > cd doesn't fail, even if wildcard directories will never be implemented. This seems to be on purpose: (unless (and dir (file-accessible-directory-p dir)) (setq dir default-directory)) If you name a directory and it doesn't exist, then default-directory is used, and it's done on purpose: commit 32a2cf25a74160b855041c176d2e7e937baa4de8 Author: Juri Linkov Date: Sat Aug 22 00:17:56 2009 +0000 (lgrep, rgrep): At the beginning set `dir' to `default-directory' unless `dir' is a non-nil readable directory. (Bug#4052) (lgrep, rgrep): Change a weird way to report an error from using `read-string' to using `error'. Instead of using interactive arguments in the function body, add new argument `confirm'. So I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 11:11:27 2019 Received: (at control) by debbugs.gnu.org; 1 Oct 2019 15:11:27 +0000 Received: from localhost ([127.0.0.1]:34353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFJoE-0003iw-SC for submit@debbugs.gnu.org; Tue, 01 Oct 2019 11:11:27 -0400 Received: from quimby.gnus.org ([80.91.231.51]:53302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFJoD-0003io-3Z for control@debbugs.gnu.org; Tue, 01 Oct 2019 11:11:25 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iFJoA-0004RQ-GQ for control@debbugs.gnu.org; Tue, 01 Oct 2019 17:11:24 +0200 Date: Tue, 01 Oct 2019 17:11:22 +0200 Message-Id: <87eezw4i1x.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #5360 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 5360 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 5360 quit From unknown Sun Aug 17 01:00:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 30 Oct 2019 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator