how do i split my email view (AKA I got a new job)

Antoine Beaupré anarcat at
Sun Mar 10 12:58:58 PDT 2019

On 2019-03-10 17:54:54, Ralph Seichter wrote:
> * Antoine Beaupré:
>> How can I make that "All tags" junk disappear?
> If it bugs you that much, you can use the "this page" link in "Customize
> Notmuch or this page".

Ooooh... I remember now! I digged in the source last time we chatted
about this in #notmuch. I did so again and found what I was looking for:

(setq notmuch-hello-tag-list-make-query "tag:unread and not tag:work")

Now I need to figure out how to make schedules in Emacs... :) It looks
like I need to do something with `run-at-time' or something to that

I also found out about the "midnight" mode, but that seems to support
only a single time trigger:

I also found idle timers, but that seems irrelevant:

Anyone else played with scheduling like this?

In any case, I guess just having a defun that flips that around would be
a good start. :) I'm thinking of something like:

(defun anarcat/notmuch-work-off ()
  (setq notmuch-hello-tag-list-make-query "tag:unread and not tag:work")

(defun anarcat/notmuch-work-on ()
  (setq notmuch-hello-tag-list-make-query "tag:unread")

That's actually two defun - and it looks rather silly, mayb there's a
way to make that a toggle somehow?

Anyways, does that look sane?


When spider webs unite, they can tie up a lion.
                        - ethiopian proverb

More information about the notmuch mailing list