Switch from muchsync to mujmap for notmuch remote update

This commit is contained in:
Adam Goldsmith 2024-04-17 22:44:01 -04:00
parent adec49b7da
commit 989b833058

View File

@ -935,8 +935,7 @@
:bind (:map nm-mode-map
("n" . nm-read)
("s" . nm-spam)
("G" . nm-update-remote-fast)
("C-G" . nm-update-remote)
("G" . nm-update-remote)
("M-g" . nm-reset)
("j" . next-line)
("k" . previous-line)
@ -959,12 +958,7 @@
(defun nm-update-remote ()
"Pull email from remote mailbox"
(interactive)
(shell-command "muchsync --upbg ag")
(nm-refresh))
(defun nm-update-remote-fast ()
"Pull email from remote mailbox"
(interactive)
(shell-command "muchsync --upbg ag --nonew")
(shell-command "mujmap -C ~/mail/adamgoldsmith.name sync")
(nm-refresh))
(defvar nm-sticky-tags nil)
(defun nm-sticky-tag-and-next (tags)