unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Leake <stephen_leake@member.fsf.org>
To: David Kastrup <dak@gnu.org>
Cc: Kevin Rodgers <kevin.d.rodgers@gmail.com>, emacs-devel@gnu.org
Subject: Re: dired mode recursive delete
Date: Wed, 13 Jun 2007 04:17:29 -0400	[thread overview]
Message-ID: <ups40s1ye.fsf@member.fsf.org> (raw)
In-Reply-To: <864plcxovk.fsf@lola.quinscape.zz> (David Kastrup's message of "Wed, 13 Jun 2007 10:03:27 +0200")

David Kastrup <dak@gnu.org> writes:

> Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:
>
>> David Kastrup wrote:
>>> Kevin Rodgers <kevin.d.rodgers@gmail.com> 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

  reply	other threads:[~2007-06-13  8:17 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-30 17:36 dired mode recursive delete Neal Becker
2007-05-30 17:59 ` Stephen Berman
2007-05-30 18:11   ` David Kastrup
2007-05-31 22:31     ` Richard Stallman
2007-06-01  5:03       ` David Kastrup
2007-06-01  5:33         ` Romain Francoise
2007-06-01  5:35           ` Romain Francoise
2007-06-02 23:28             ` Juri Linkov
2007-06-03  5:02               ` David Kastrup
2007-06-03  9:29                 ` Juri Linkov
2007-06-03 10:34                   ` Dieter Wilhelm
2007-06-03 12:09                     ` Juri Linkov
2007-06-03 13:09                       ` martin rudalics
2007-06-03 18:43                         ` Juri Linkov
2007-06-03 20:57                           ` Eli Zaretskii
2007-06-03 21:28                             ` Juri Linkov
2007-06-03 21:57                               ` David Kastrup
2007-06-03 22:59                                 ` Juri Linkov
2007-06-04  5:21                                   ` David Kastrup
2007-06-04 23:54                                     ` Juri Linkov
2007-06-03 19:46                   ` David Kastrup
2007-06-03 20:00                     ` Juri Linkov
2007-06-03 20:20                       ` David Kastrup
2007-06-03 20:31                         ` Juri Linkov
2007-06-04 21:22                           ` Dieter Wilhelm
2007-06-03 19:55               ` Giorgos Keramidas
2007-06-03 20:14                 ` Juri Linkov
2007-06-01 17:54         ` Richard Stallman
2007-06-03 18:42         ` Juri Linkov
2007-06-02 16:02       ` Kevin Rodgers
2007-06-02 19:13         ` David Kastrup
2007-06-13  7:53           ` Kevin Rodgers
2007-06-13  8:03             ` David Kastrup
2007-06-13  8:17               ` Stephen Leake [this message]
2007-06-13  8:26                 ` David Kastrup
2007-06-03 21:26         ` Richard Stallman
2007-06-13  8:11           ` Kevin Rodgers
2007-05-31 22:31 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ups40s1ye.fsf@member.fsf.org \
    --to=stephen_leake@member.fsf.org \
    --cc=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=kevin.d.rodgers@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).