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 15:20:31 -0700

> I meant the confirmation prompt. I think it could be something like
> 
>   Delete this file permanently? (yes or no)
>   Move this file to system trash can? (yes or not)

Please be clear in what context such confirmation is requested. I really don't
know what you're referring to.

Without your help (;-)), I cannot imagine a context in which such a complex
dialog should ensue.

If `delete-by-moving-to-trash' is non-nil, then no confirmation should be needed
when you, say, hit `x' in Dired - the marked files should just be moved to the
Recycle Bin.

If `delete-by-moving-to-trash' is nil, then Emacs should ask for the same
confirmation that it asks for now - do you really want to delete the marked
files?

Likewise for hitting the `delete' key in contexts where that affects a file: If
`delete-by-moving-to-trash' is non-nil, then there should be no request for
confirmation - the file should silently be move to the bin. If it is nil, then
you should be asked if you really want to delete the file.

And `S-delete' (if that were implemented) would do whatever `delete' does, but
for the opposite value of `delete-by-moving-to-trash'. Thus, if
`delete-by-moving-to-trash' were non-nil, then `S-delete' would delete the file
after you confirm the deletion. If it were nil, then `S-delete' would silently
move the file to the Recycle Bin.







reply via email to

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