From 989b83305894beb615e8c43fa080e89ec2af92cf Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 17 Apr 2024 22:44:01 -0400 Subject: [PATCH] Switch from muchsync to mujmap for notmuch remote update --- .emacs.d/init.el | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 30fe625..88bb94d 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -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)