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