]> git.cworth.org Git - notmuch-wiki/blobdiff - excluding.mdwn
news for notmuch 0.33.1
[notmuch-wiki] / excluding.mdwn
index b783383264cc4062ee38cfb870ce00e4ca7c8ea1..785d477a69f2a88103cec058e82e481ef4970bd4 100644 (file)
@@ -48,7 +48,7 @@ be used to train a spam filter:
 
 It can also be used to purge mail files from disk:
 
 
 It can also be used to purge mail files from disk:
 
-        $ notmuch search --output=files tag:deleted | xargs -l rm
+        $ notmuch search --format=text0 --output=files tag:deleted | xargs -0 --no-run-if-empty rm
 
 Make sure you run "notmuch new" after the last command so the database
 becomes aware that the files have been removed and can remove the
 
 Make sure you run "notmuch new" after the last command so the database
 becomes aware that the files have been removed and can remove the
@@ -63,14 +63,8 @@ procedure:
 
         $ notmuch config set search.exclude_tags deleted
 
 
         $ notmuch config set search.exclude_tags deleted
 
-* Add a key binding to your favorite ui to add a "deleted" tag to
-  messages that you want to delete.  In [[emacs|emacstips]] that might
-  be:
-
-        (define-key notmuch-show-mode-map "d"
-          (lambda ()
-            (interactive)
-              (notmuch-show-tag "+deleted")))
+* In emacs MUA use keybinding `k d` to add a "deleted" tag to messages
+  that you want to delete.
 
 * And, finally, if you _really_ want the messages purged from disk,
   you can delete them manually with:
 
 * And, finally, if you _really_ want the messages purged from disk,
   you can delete them manually with: