From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: dired mode recursive delete Date: Wed, 13 Jun 2007 04:17:29 -0400 Message-ID: References: <87d50i42h3.fsf@escher.local.home> <85veea18r6.fsf@lola.goethe.zz> <8664668904.fsf@lola.quinscape.zz> <864plcxovk.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181722666 1509 80.91.229.12 (13 Jun 2007 08:17:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2007 08:17:46 +0000 (UTC) Cc: Kevin Rodgers , emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 13 10:17:44 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HyO2t-0002Dg-VD for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2007 10:17:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyO2t-0001Wb-1O for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2007 04:17:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HyO2p-0001WD-8m for emacs-devel@gnu.org; Wed, 13 Jun 2007 04:17:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HyO2n-0001W1-GL for emacs-devel@gnu.org; Wed, 13 Jun 2007 04:17:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyO2n-0001Vy-CV for emacs-devel@gnu.org; Wed, 13 Jun 2007 04:17:33 -0400 Original-Received: from smtp02.lnh.mail.rcn.net ([207.172.157.102]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HyO2l-0007Pn-Ux; Wed, 13 Jun 2007 04:17:32 -0400 Original-Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 13 Jun 2007 04:17:30 -0400 Original-Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.3-GA) with ESMTP id NLB95727; Wed, 13 Jun 2007 04:17:30 -0400 (EDT) Original-Received: from 208-59-165-113.c3-0.slvr-ubr1.lnh-slvr.md.cable.rcn.com (HELO LM000850872) ([208.59.165.113]) by smtp01.lnh.mail.rcn.net with ESMTP; 13 Jun 2007 04:17:29 -0400 In-Reply-To: <864plcxovk.fsf@lola.quinscape.zz> (David Kastrup's message of "Wed, 13 Jun 2007 10:03:27 +0200") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) X-Junkmail-Status: score=10/50, host=mr02.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090203.466FA819.012A,ss=1,fgs=0, ip=207.172.4.11, so=2006-12-09 10:45:40, dmn=5.3.10/2007-02-21 X-detected-kernel: FreeBSD 2.0-4.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:72752 Archived-At: David Kastrup writes: > Kevin Rodgers writes: > >> David Kastrup wrote: >>> Kevin Rodgers writes: >>> >>>> Richard Stallman wrote: >>>>> Setting it to t instead will not cause _any_ action without asking for >>>>> individual confirmation for every non-empty directory. It seems like >>>>> quite a safe setting (whereas the original setting is not helpful in >>>>> any situation I can think of). >>>>> >>>>> My personal setting is 'top which is certainly more convenient than t >>>>> but might be considered too drastic as a default setting by some. >>>>> >>>>> I think that `top' would be an ok default. >>>>> Let's change the default in the trunk. >>>> I'm uneasy about `top' vs. t as the default: when I'm prompted >>>> "Recursive delete of SUBDIR? ", I expect that if I answer "yes" >>>> that I'll be prompted for SUBDIR's subdirectories as well. >>> >>> That is not taking issue with the default but rather with the prompt. >>> What kind of prompt would make you expect the right thing? >> >> Recursive delete of SUBDIR (unconditionally)? >> Recursive delete of SUBDIR (without confirmation)? > > How about like > > Completely delete SUBDIR? > > I think it would be clear enough that this would ask no further > (=recursive) questions and include subdirectories. It has the > advantage of being less verbose, leaving more space for the directory > name. One approach to this that other systems use is to provide response buttons that are "yes" and "yes to all". In Emacs, that would typically be "y" and "!". Then the question could just be Delete SUBDIR (y, n, !)? -- -- Stephe