[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: |
Sun, 23 May 2010 09:37:22 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> PS: And yes, for interactive calls to delete-file, the `allow-trash'
>> should be non-nil, I think.
> Yeah, but omitted means nil. Hmm.
We're talking interactive calls, so it doesn't have to be omitted.
We can set its value to anything we want.
> 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.
I'd rather avoid relying on this-command.
Stefan
- Re: delete-file to trash, (continued)
- Re: delete-file to trash, Stefan Monnier, 2010/05/21
- Re: delete-file to trash, Chong Yidong, 2010/05/22
- Re: delete-file to trash, David De La Harpe Golden, 2010/05/22
- Re: delete-file to trash, Stefan Monnier, 2010/05/22
- Re: delete-file to trash, Chong Yidong, 2010/05/22
- Re: delete-file to trash, David Kastrup, 2010/05/23
- Re: delete-file to trash, Leo, 2010/05/23
- Re: delete-file to trash,
Stefan Monnier <=
- Re: delete-file to trash, Chong Yidong, 2010/05/23
- Re: delete-file to trash, Stefan Monnier, 2010/05/24
- Re: delete-file to trash, Leo, 2010/05/24
- Re: delete-file to trash, Chong Yidong, 2010/05/27
- Re: delete-file to trash, Michael Albinus, 2010/05/28
- Re: delete-file to trash, Chong Yidong, 2010/05/28
- Re: delete-file to trash, Juri Linkov, 2010/05/30
- Re: delete-file to trash, Leo, 2010/05/23
- Re: delete-file to trash, Lennart Borgman, 2010/05/23
- Re: delete-file to trash, Leo, 2010/05/23