unofficial mirror of
 help / color / mirror / code / Atom feed
From: Teemu Likonen <>
To: Gregor Zattler <>,
Subject: Re: FR: show next unread message in notmuch-tree-mode
Date: Tue, 21 Dec 2021 13:38:49 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <87zgou4kw8.fsf@no.workgroup>

[-- Attachment #1.1: Type: text/plain, Size: 1307 bytes --]

* 2021-12-21 05:55:19+0100, Gregor Zattler wrote:

> Dear notmuch developers, it would be easier to read big and old
> threads, as e.g., the current one on emacs-devel on integrating sqlite
> (starts with: in notmuch-tree-mode if
> there was a notmuch-tree-scroll-or-next-unread command (and respective
> key binding).

While I don't oppose a new feature I'll show how I like to read unread
messages. In *notmuch-hello* buffer I have a separate section for unread
searches. Basically it is like normal list of saved searches but with
search term "tag:unread" added. Here is the code:

    (defun my-notmuch-hello-unread ()
       "Unread messages"
       (mapcar (lambda (search)
                 (plist-put (copy-sequence search)
                            :sort-order 'oldest-first))
       :filter "tag:unread AND NOT tag:spam"
       :hide-if-empty t))

    (setq notmuch-hello-sections '(my-notmuch-hello-unread

/// Teemu Likonen - .-..
// OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 434 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]

      reply	other threads:[~2021-12-21 11:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21  4:55 Gregor Zattler
2021-12-21 11:38 ` Teemu Likonen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	notmuch.git.git (no URL configured)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).