Move things to trash instead of permanently deleting

This commit is contained in:
Camden Dixie O'Brien 2021-01-01 00:00:37 +00:00
parent 28406890a4
commit 7478afcde3

View File

@ -1253,6 +1253,16 @@
(setq backup-by-copying t)
#+end_src
** Use trash
Commands like [[help:delete-file][delete-file]] and [[help:delete-directory][delete-directory]], as well as deletion
commands in Dired can be made to move things to trash, instead of
permanently deleting them. This done by setting the
[[help:delete-by-moving-to-trash][delete-by-moving-to-trash]] variable to ~t~.
#+begin_src emacs-lisp
(setq delete-by-moving-to-trash t)
#+end_src
* Mail
Using Mu4e. It requires =mu(1)= tool be set up already. The mu4e
emacs package is bundled with the system package rather than