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)).
This commit is contained in:
45mg
2024-12-11 06:57:52 +00:00
committed by Henrik Lissner
parent cc98bdd14b
commit c1f5d6111f

View File

@ -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