From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: dired mode recursive delete Date: Wed, 13 Jun 2007 10:26:09 +0200 Message-ID: <86vedsw99a.fsf@lola.quinscape.zz> 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 1181723212 3413 80.91.229.12 (13 Jun 2007 08:26:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2007 08:26:52 +0000 (UTC) Cc: Kevin Rodgers , emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 13 10:26:51 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 1HyOBm-0003ud-6L for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2007 10:26:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyOBl-0004gh-KM for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2007 04:26:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HyOBB-0004W4-JW for emacs-devel@gnu.org; Wed, 13 Jun 2007 04:26:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HyOBA-0004VY-I6 for emacs-devel@gnu.org; Wed, 13 Jun 2007 04:26:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyOBA-0004VS-AX for emacs-devel@gnu.org; Wed, 13 Jun 2007 04:26:12 -0400 Original-Received: from pc3.berlin.powerweb.de ([62.67.228.11]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HyOB9-0008Q8-QC for emacs-devel@gnu.org; Wed, 13 Jun 2007 04:26:12 -0400 Original-Received: from quinscape.de (dslnet.212-29-44.ip210.dokom.de [212.29.44.210] (may be forged)) by pc3.berlin.powerweb.de (8.9.3p3/8.9.3) with ESMTP id KAA02896 for ; Wed, 13 Jun 2007 10:26:09 +0200 X-Delivered-To: Original-Received: (qmail 9136 invoked from network); 13 Jun 2007 08:26:10 -0000 Original-Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by ns.quinscape.de (qmail-ldap-1.03) with SMTP for ; 13 Jun 2007 08:26:10 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id EFF728FA36; Wed, 13 Jun 2007 10:26:09 +0200 (CEST) In-Reply-To: (Stephen Leake's message of "Wed\, 13 Jun 2007 04\:17\:29 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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:72753 Archived-At: Stephen Leake writes: > David Kastrup writes: > >> 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, !)? Not really. "yes to all" does not mean "yes to all recursive directories", but rather "yes to all future questions in this command". In particular, it will delete marked _siblings_ of the SUBDIR without further questions. -- David Kastrup