emacs-devel
[Top][All Lists]
Advanced

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

RE: Why @#! is not Emacs using the Recycle bin on w32?


From: Drew Adams
Subject: RE: Why @#! is not Emacs using the Recycle bin on w32?
Date: Fri, 29 Aug 2008 09:32:01 -0700

> > My preference is that this not be turned on by default - 
> > that is, keep the traditional Emacs behavior. But I
> > recognize the counter arguments. The traditional behavior
> > here is better for overall Emacs use, IMO, but I won't
> > argue about it. 
> 
> I submit this is a non-problem, and the non-solution is this: 
> The first time in an Emacs session somebody tries to delete
> a file, a request for confirmation something like this should
> appear:
> 
> "You are about to delete one or more files permanently.  You 
> will not be warned again this session.  Type 'y' to delete the
> file(s), '!' to delete the file(s) and suppress the warning
> for future sessions, or 'n' to abort the operation.".

Something like that could be useful. Bring the Dired deletion behavior to your
attention the first time (and only the first time) you invoke it.

But also include mention of the fact that you can choose whether deletion should
use a recycle bin/trash can using option `delete-by-moving-to-trash' (with a
link to Customize).

BTW - Question: if `delete-by-moving-to-trash' is non-nil, should Dired still
ask you for confirmation for deletion? Dunno. Perhaps that could be a choice
(separate values for `delete-by-moving-to-trash').






reply via email to

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