From c1f5d6111fc682e746d8cd30ef9497616101ac95 Mon Sep 17 00:00:00 2001 From: 45mg <45mg@no.mail> Date: Wed, 11 Dec 2024 06:57:52 +0000 Subject: [PATCH] fix(notmuch): afew: process only new mail The `-a` option will cause afew to process all the user's mail. If the user has a lot of mail, this will take an extremely long time, every time. The expected usage is to process only mail that has been tagged 'new' by notmuch (which requires the [correct setup](https://github.com/afewmail/afew/blob/master/docs/quickstart.rst)). --- modules/email/notmuch/autoload.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/email/notmuch/autoload.el b/modules/email/notmuch/autoload.el index 548655209..de125c6c0 100644 --- a/modules/email/notmuch/autoload.el +++ b/modules/email/notmuch/autoload.el @@ -36,7 +36,7 @@ (defun +notmuch-get-sync-command () "Return a shell command string to synchronize your notmuch mail with." - (let* ((afew-cmd "afew -a -t") + (let* ((afew-cmd "afew -n -t") (sync-cmd (pcase +notmuch-sync-backend (`gmi