From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#27940: Recursively delete dir34? (yes, no, all, quit) Date: Fri, 04 Aug 2017 11:31:51 +0300 Message-ID: <83a83fybrc.fsf@gnu.org> References: <87o9rwxmfz.fsf@jidanni.org> <87r2wrkacy.fsf@calancha-pc> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1501835599 7546 195.159.176.226 (4 Aug 2017 08:33:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2017 08:33:19 +0000 (UTC) Cc: 27940@debbugs.gnu.org, jidanni@jidanni.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 04 10:33:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddY2f-0001S6-P0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Aug 2017 10:33:09 +0200 Original-Received: from localhost ([::1]:45368 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddY2l-0003Mu-Qr for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Aug 2017 04:33:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddY2f-0003LA-Bf for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2017 04:33:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddY2a-00029F-S9 for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2017 04:33:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38117) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddY2a-00026o-Oa for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2017 04:33:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ddY2Y-0000Gw-2a for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2017 04:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Aug 2017 08:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27940 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27940-submit@debbugs.gnu.org id=B27940.1501835534991 (code B ref 27940); Fri, 04 Aug 2017 08:33:02 +0000 Original-Received: (at 27940) by debbugs.gnu.org; 4 Aug 2017 08:32:14 +0000 Original-Received: from localhost ([127.0.0.1]:40794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddY1m-0000Fu-FL for submit@debbugs.gnu.org; Fri, 04 Aug 2017 04:32:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57349) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddY1k-0000Fh-MZ for 27940@debbugs.gnu.org; Fri, 04 Aug 2017 04:32:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddY1a-0000kr-UW for 27940@debbugs.gnu.org; Fri, 04 Aug 2017 04:32:07 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddY1a-0000kc-RP; Fri, 04 Aug 2017 04:32:02 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4257 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ddY1a-0004MF-2a; Fri, 04 Aug 2017 04:32:02 -0400 In-reply-to: <87r2wrkacy.fsf@calancha-pc> (message from Tino Calancha on Fri, 04 Aug 2017 17:25:49 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135327 Archived-At: > From: Tino Calancha > Cc: 27940@debbugs.gnu.org, Eli Zaretskii > Date: Fri, 04 Aug 2017 17:25:49 +0900 > > > dired-do-flagged-delete and me interaction: > > Recursively delete dcepc? (yes or no) yes > > Recursively delete emmpc? (yes or no) yes > > Recursively delete zpspc? (yes or no) yes > > Recursively delete dgcpc? (yes or no) yes > > > > Wouldn't it be nice if there was instead: > > Recursively delete dgcpc? (yes, no, all, quit) > > > > Yes, if before we started we set the variables we needn't be asked all > > those questions. > > > > But now *midway* through the list, we decide we would like no more > > question, there should be a way, without needing to quit and start over, > > even if doing that isn't so bad. > Thanks for the suggestion. > You can already quit with '\C-g'. > Concerning accept 'all' in the prompt, i am not sure: > it's a bit dangerous operation. > > In the other hand: > 1) Customize `dired-recursive-deletes' to value 'always. > 2) Do the deletion. > 3) Set back `dired-recursive-deletes' to its original value. Actually, I think the value he wants is 'top'. I don't object to accepting something like "!" to mean "all", I believe we already have a few features that do this, and the implementation should be simple, I think. (Creeping featurism, I know, but what else did you expect from users who have no real bugs to report? ;-) > How about if `dired-do-delete' called interactively with 2 prefices > performs recursive deletions? > Eli? Sounds too cumbersome to me.