[Top][All Lists]

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

Re: delete-file to trash

From: Stefan Monnier
Subject: Re: delete-file to trash
Date: Sat, 22 May 2010 21:06:16 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> So, it seems better to flip the new FORCE argument to delete-file.  We
> could change it to an argument ALLOW-TRASH, and change the doc of
> delete-by-moving-to-trash to say that it will only take effect on calls
> to `delete-file' that use the ALLOW-TRASH argument.  This is backward
> incompatible but I don't see any better solution.

100% agreed.

> If we do this, I'd also like to turn the trash on by default, on systems
> where there is a trash (i.e. on Windows, and on machines where a
> Freedesktop trash is detected).

Fine by me.


PS: And yes, for interactive calls to delete-file, the `allow-trash'
should be non-nil, I think.

reply via email to

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