Message deletion wisdom
Sebastian Spaeth
sebastian at sspaeth.de
Sun Apr 8 15:24:29 PDT 2012
Jameson Graef Rollins <jrollins at finestructure.net> wrote:
>So in summary, if you would like to "delete" messages, you can:
>
> * add a key binding to emacs (or your favorite ui) to add a "deleted"
> tag to messages that you want to delete:
>
> (define-key notmuch-show-mode-map "d"
> (lambda ()
> (interactive)
> (notmuch-show-tag-message "+deleted")))
>
> * add exclusion for messages with the "deleted" tag:
>
> notmuch config set search.exclude_tags deleted
>
> * and if you really want them purged from disk, delete them manually
> with:
>
> notmuch search --output=files tag:deleted | xargs -l rm
Thanks Jamie, that ws a very helpful summary.
Sebastian
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
More information about the notmuch
mailing list