all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* delete-file to trash
@ 2010-05-21 19:48 Leo
  2010-05-21 20:15 ` Tassilo Horn
                   ` (2 more replies)
  0 siblings, 3 replies; 48+ messages in thread
From: Leo @ 2010-05-21 19:48 UTC (permalink / raw)
  To: emacs-devel

Hello all,

I have found myself difficult to get along with
delete-by-moving-to-trash. On the one hand I would love to be able to rm
files in eshell and dired without confirmation and yet still have the
ability to recover from mistakes. On the other hand, the current
implementation seems flawed.

It seems someone needs to inspect every occurrences of delete-file in
emacs and carefully check whether to add a 'force arg. Sometimes temp
files may contain sensitive data and they should not be moved to the
trash bin. For example, at the moment, if you have encrypted files open
in epg, the decrypted contents will be moved to the trash bin although
this is trivial to fix for this particular case.

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.

Anyway it seems it is harmful to use this feature. So I guess I will
start phasing it out.

Leo




^ permalink raw reply	[flat|nested] 48+ messages in thread

end of thread, other threads:[~2010-05-30 18:37 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-21 19:48 delete-file to trash Leo
2010-05-21 20:15 ` Tassilo Horn
2010-05-21 20:57   ` Leo
2010-05-21 21:12   ` Lennart Borgman
2010-05-21 21:32     ` Tassilo Horn
2010-05-21 21:44       ` Lennart Borgman
2010-05-21 21:58         ` Tassilo Horn
2010-05-21 22:13           ` Lennart Borgman
2010-05-21 23:14             ` Andreas Schwab
2010-05-22  5:36         ` Eli Zaretskii
2010-05-22 10:25           ` Lennart Borgman
2010-05-22  5:37       ` Eli Zaretskii
2010-05-22  9:17         ` Tassilo Horn
2010-05-21 21:39 ` Eli Zaretskii
2010-05-21 21:46   ` Lennart Borgman
2010-05-22  0:52   ` Stefan Monnier
2010-05-22  6:42     ` Adrian Robert
2010-05-22 13:03       ` Stefan Monnier
2010-05-22 19:37         ` Adrian Robert
2010-05-23  1:03           ` Stefan Monnier
2010-05-23 14:54           ` Harald Hanche-Olsen
2010-05-24 13:17             ` Stefan Monnier
2010-05-22  7:32     ` Stephen J. Turnbull
2010-05-22  1:00   ` Drew Adams
2010-05-22  1:50   ` Leo
2010-05-22  0:38 ` Stefan Monnier
2010-05-23  0:09   ` Chong Yidong
2010-05-23  0:27     ` David De La Harpe Golden
2010-05-23  1:06     ` Stefan Monnier
2010-05-23  2:16       ` Chong Yidong
2010-05-23  5:00         ` David Kastrup
2010-05-23  8:57         ` Leo
2010-05-23 13:37         ` Stefan Monnier
2010-05-23 23:20           ` Chong Yidong
2010-05-24 13:16             ` Stefan Monnier
2010-05-24 14:02               ` Leo
2010-05-27 23:36       ` Chong Yidong
2010-05-28 13:44         ` Michael Albinus
2010-05-28 17:29           ` Chong Yidong
2010-05-30 18:37         ` Juri Linkov
2010-05-23  8:20     ` Leo
2010-05-23 10:00       ` Lennart Borgman
2010-05-23 10:15         ` Leo
2010-05-23 11:12           ` Lennart Borgman
2010-05-23 12:14             ` Leo
2010-05-23 12:23               ` Lennart Borgman
2010-05-23 13:39         ` Stefan Monnier
2010-05-23 13:53           ` Lennart Borgman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.