* FR: show next unread message in notmuch-tree-mode
@ 2021-12-21 4:55 Gregor Zattler
2021-12-21 11:38 ` Teemu Likonen
0 siblings, 1 reply; 2+ messages in thread
From: Gregor Zattler @ 2021-12-21 4:55 UTC (permalink / raw)
To: notmuch
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: id:87tufmjyai.fsf@gnus.org)
in notmuch-tree-mode if there was a
notmuch-tree-scroll-or-next-unread command (and respective
key binding).
Normally I read mail in notmuch-show-mode and I applied the
"Hiding unread messages in notmuch-show" tip form the
notmuch wiki.
But notmuch-show is very slow on huge threads.
Ciao; Gregor
--
-... --- .-. . -.. ..--.. ...-.-
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: FR: show next unread message in notmuch-tree-mode
2021-12-21 4:55 FR: show next unread message in notmuch-tree-mode Gregor Zattler
@ 2021-12-21 11:38 ` Teemu Likonen
0 siblings, 0 replies; 2+ messages in thread
From: Teemu Likonen @ 2021-12-21 11:38 UTC (permalink / raw)
To: Gregor Zattler, notmuch
[-- 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: id:87tufmjyai.fsf@gnus.org) 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 ()
(notmuch-hello-insert-searches
"Unread messages"
(mapcar (lambda (search)
(plist-put (copy-sequence search)
:sort-order 'oldest-first))
notmuch-saved-searches)
:filter "tag:unread AND NOT tag:spam"
:hide-if-empty t))
(setq notmuch-hello-sections '(my-notmuch-hello-unread
notmuch-hello-insert-saved-searches
notmuch-hello-insert-alltags))
--
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 434 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-21 11:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-21 4:55 FR: show next unread message in notmuch-tree-mode Gregor Zattler
2021-12-21 11:38 ` Teemu Likonen
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
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).