<div dir="ltr">If it were me, I'd be looking to do something to automatically use a different configuration at different times of the week. One config would look like whatever your configuration is, while the other would include the 'work' tag in your 'exclude_tags=' options, so your work email would be invisible unless you explicitly went looking for it.<div><br></div><div>Off the top of my head, you could have 2 config files (automatically created maybe), and you could either tweak the NOTMUCH_CONFIG environment variable or a --config= option to select one or the other. You could also look into emacs automation to change the notmuch-command variable to select one configuration or the other.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 10, 2019 at 10:19 AM Antoine Beaupré <<a href="mailto:anarcat@orangeseeds.org">anarcat@orangeseeds.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>
<br>
So I got a new job, and that means I have a new email address that<br>
forwards to my regular mail spool. *Normally*, all that junk should end<br>
up in a separate folder so I am tagging it all as "+work" (there are<br>
quite a few corner cases which I handle individually, but from here on<br>
we can assume there's a single tag to identify all that mail).<br>
<br>
How do I stay sane during the weekends? There's a *lot* of junk coming<br>
in that's polluting my "notmuch-hello" view. Here's a "screenshot":<br>
<br>
   Welcome to notmuch. You have 188 359 messages.<br>
<br>
Saved searches: [edit]<br>
<br>
          67 inbox        259 sent           3 drafts         2 todo<br>
<br>
Search:                                                                               .<br>
<br>
All tags: [hide]<br>
<br>
           1 attachment               27 logwatch                  3 work-project<br>
          72 commit                   13 nagios                    9 work-admin<br>
          17 cron                    124 rapports                  3 trac<br>
          16 lists                   147 work                    151 unread<br>
<br>
              Hit `?' for context-sensitive help in any Notmuch screen.<br>
                           Customize Notmuch or this page.<br>
<br>
How can I make that "All tags" junk disappear? Or, more specifically,<br>
how do I make it ignore that crowded "work" tag? Bonus points for<br>
flipping back and forth outside of business hours and weekends. :)<br>
<br>
I know I can make a billion saved searches to cover for all those<br>
cases. But so far I've used a technique where I tag messages instead of<br>
doing saved searches and it serves me well.<br>
<br>
Thanks!<br>
<br>
-- <br>
The most prudent course for any society is to start from the<br>
assumption that the Internet should be fundamentally outside the<br>
domain of capital.<br>
                        - The Internet's Unholy Marriage to Capitalism<br>
_______________________________________________<br>
notmuch mailing list<br>
<a href="mailto:notmuch@notmuchmail.org" target="_blank">notmuch@notmuchmail.org</a><br>
<a href="https://notmuchmail.org/mailman/listinfo/notmuch" rel="noreferrer" target="_blank">https://notmuchmail.org/mailman/listinfo/notmuch</a><br>
</blockquote></div>