[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delete-file to trash
From: |
David Kastrup |
Subject: |
Re: delete-file to trash |
Date: |
Sun, 23 May 2010 07:00:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> 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.
If you pickup the arguments using &rest instead of &optional in the
argument list, you can distinguish between omitted and nil args.
Whether this is a good idea is another question.
> 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.
--
David Kastrup
- Re: delete-file to trash, (continued)
RE: delete-file to trash, Drew Adams, 2010/05/21
Re: delete-file to trash, Leo, 2010/05/21
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 <=
- Re: delete-file to trash, Leo, 2010/05/23
- Re: delete-file to trash, Stefan Monnier, 2010/05/23
- 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