Personal website Rudolf Adamkovič

Home / Notmuch / Search


My columns

For each thread, show only

  • the number of unread/read messages
  • a star if unread messages exist
  • the subject.
(with-eval-after-load 'notmuch
  (setopt notmuch-search-result-format
          (list (cons "count" "%9s ")
                (cons (lambda (_ thread)
                        (concat
                         (propertize
                          (if (member "unread" (plist-get thread :tags))
                              "*" " ")
                          'face
                          'notmuch-tag-face)
                         " "))
                      "")
                (cons "subject" "%s"))))

© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.