[Top][All Lists]
[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: |
Fri, 21 May 2010 23:12:30 +0200 |
On Fri, May 21, 2010 at 10:15 PM, Tassilo Horn <address@hidden> wrote:
> On Friday 21 May 2010 21:48:43 Leo wrote:
>
>> I still maintain a more suitable approach is to have delete-file not
>> move to trash bin unless explicitly called for. For example, it can be
>> implemented similarly to handle-shift-selection.
>
> Yes, the current approach is not really perfect when you enable
> `delete-by-moving-to-trash' globally, but when enabling it only for
> example for eshell or dired mode, I think it's quite good.
>
> --8<---------------cut here---------------start------------->8---
> (defun th-dired-mode-init ()
> (set (make-local-variable 'delete-by-moving-to-trash) t))
>
> (add-hook 'dired-mode-hook 'th-dired-mode-init t)
> --8<---------------cut here---------------end--------------->8---
Wouldn't it be strange if Emacs as the only application had moving to
trunk disabled by default?
I suggest a better approach would be to identify those cases where it
should not be on and send bug reports/patches for them as soon as
possible.
- delete-file to trash, Leo, 2010/05/21
- Re: delete-file to trash, Tassilo Horn, 2010/05/21
- Re: delete-file to trash, Leo, 2010/05/21
- Re: delete-file to trash,
Lennart Borgman <=
- Re: delete-file to trash, Tassilo Horn, 2010/05/21
- Re: delete-file to trash, Lennart Borgman, 2010/05/21
- Re: delete-file to trash, Tassilo Horn, 2010/05/21
- Re: delete-file to trash, Lennart Borgman, 2010/05/21
- Re: delete-file to trash, Andreas Schwab, 2010/05/21
- Re: delete-file to trash, Eli Zaretskii, 2010/05/22
- Re: delete-file to trash, Lennart Borgman, 2010/05/22
- Re: delete-file to trash, Eli Zaretskii, 2010/05/22
- Re: delete-file to trash, Tassilo Horn, 2010/05/22
Re: delete-file to trash, Eli Zaretskii, 2010/05/21