[Top][All Lists]

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

Re: delete-file to trash

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

Stefan Monnier <address@hidden> writes:

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

Yeah, but omitted means nil.  Hmm.

Here's an idea: allow the variable `delete-by-moving-to-trash' to be a
list of values of `this-command', for which to trash instead of delete.
Then we could set the default value of this list to be `delete-file',
`dired-do-flagged-delete', etc.

reply via email to

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