]> git.notmuchmail.org Git - obsolete/notmuch-wiki/blobdiff - excluding.mdwn
Update news & manpages to notmuch version 0.16
[obsolete/notmuch-wiki] / excluding.mdwn
index 935eafbe1743984ed08a576693178e6417b60a13..1b3232f58dc9670ed9a80f4918c99617f1448125 100644 (file)
@@ -23,7 +23,7 @@ excluded from search results.
 It is still possible to find messages with excluded tags, though, by
 manually including the excluded tag in your search:
 
 It is still possible to find messages with excluded tags, though, by
 manually including the excluded tag in your search:
 
-           $ notmuch search from:foo and tag:spam
+        $ notmuch search from:foo and tag:spam
 
 This will find messages from "foo" with the tag "spam", even though
 "spam" is an excluded tag.
 
 This will find messages from "foo" with the tag "spam", even though
 "spam" is an excluded tag.
@@ -35,7 +35,7 @@ associated with specific search terms using the "file" output format
 of notmuch search.  To find all message files associated with the tag
 "foo" rung:
 
 of notmuch search.  To find all message files associated with the tag
 "foo" rung:
 
-           $ notmuch search --output=files tag:foo
+        $ notmuch search --output=files tag:foo
 
 This will output the paths to all message files with "tag:foo", one
 per line.
 
 This will output the paths to all message files with "tag:foo", one
 per line.
@@ -43,11 +43,11 @@ per line.
 This is useful in a number of different ways.  For instance, it could
 be used to train a spam filter:
 
 This is useful in a number of different ways.  For instance, it could
 be used to train a spam filter:
 
-           $ notmuch search --output=files tag:spam | sa-learn -f -
+        $ notmuch search --output=files tag:spam | sa-learn -f -
 
 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 --output=files tag:deleted | xargs -l 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
@@ -60,7 +60,7 @@ procedure:
 
 * Add exclusion for messages with the "deleted" tag:
 
 
 * Add exclusion for messages with the "deleted" tag:
 
-           $ 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
 
 * 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