emacs-devel
[Top][All Lists]
Advanced

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

Re: delete-file to trash


From: Lennart Borgman
Subject: Re: delete-file to trash
Date: Sat, 22 May 2010 12:25:55 +0200

On Sat, May 22, 2010 at 7:36 AM, Eli Zaretskii <address@hidden> wrote:
>> From: Lennart Borgman <address@hidden>
>> Date: Fri, 21 May 2010 23:44:52 +0200
>> Cc: address@hidden
>>
>> On Fri, May 21, 2010 at 11:32 PM, Tassilo Horn <address@hidden> wrote:
>> >
>> >> Wouldn't it be strange if Emacs as the only application had moving to
>> >> trunk disabled by default?
>> >
>> > Basically no application except file managers delete by moving to trash.
>>
>>
>> I thought all GUI applications moved files to trash when the user
>> deleted them. Is not that the case?
>
> No.  On Windows, the move to Recycle Bin is the function of the
> Windows Explorer, which is a file manager.  Applications that want to
> do that need to call the special API implemented by the Explorer.
> Applications that are not file managers don't.

Yes, of course. But does not all GUI applications do that? (It is for
example used when opening/saving a file.)

> They call the Windows
> API which simply deletes.  A trivial example is cmd.exe, whose "del"
> command deletes files, it does not move them to Recycle Bin.

A trivial example of a non-GUI application, yes.



reply via email to

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