mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user