[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dired default Feature request

From: David Masterson
Subject: Re: dired default Feature request
Date: 01 Nov 2001 16:59:16 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> Richard Stallman writes:

> I would be worried about using Dired to delete if it would delete a
> subdirectory and its contents without asking me.  I would not want
> to make that the default.  However, it looks like `top' does
> something different--it will ask about the directory I marked for
> deletion, and its only effect is not to ask about any subdirs of
> that directory.  That seems like a reasonable default to me.

XEmacs seems to always ask if you want to *recursively* delete the
directory (unless you set dired-no-confirm properly).  Perhaps the
Direds should be joined up...?  ;-)

> There are other alternatives besides that one and the present
> behavior; some of them might be good.  This could be one of them:

>> Actually, it might be a good idea to have a three-way answer for
>> 'top: namely yes/no/ask, or all/yes/no: let the user still have the
>> choice at the moment of deletion to decide whether he wants to be
>> asked for every subdirectory.

Hmmm.  XEmacs Dired allows you to set dired-no-confirm to a list of
dired operations that don't need to be confirmed (recursive-delete is
just one of many) which gives most of the above.  However, XEmacs
Dired doesn't seem to have:

* 'no' -- never allow an operation that should normally be confirmed.
* 'ask' -- ask about each and every subdir in recursive-delete.

David Masterson                dmaster AT synopsys DOT com
Sr. R&D Engineer               Synopsys, Inc.
Software Engineering           Sunnyvale, CA

reply via email to

[Prev in Thread] Current Thread [Next in Thread]