diff options
-rw-r--r-- | .emacs.d/init.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 84edfe16..7dacb90d 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -2768,7 +2768,10 @@ mutt's review view, after exiting EDITOR." ;; time we call 'notmuch new' without --no-hooks from Emacs rather than ;; just waiting for cron, because it's slow. (unless (gnus-alive-p) (gnus)) - (with-temp-message "Fetching & indexing mail ..." + (unless (spw/on-host-p "athena.silentflame.com") + (with-temp-message "Fetching from all accounts on athena ..." + (call-process "ssh" nil nil nil "athena" "movemymail"))) + (with-temp-message "Fetching & indexing mail locally ..." (call-process "notmuch" nil nil nil "new")) (if (not (get-buffer "*Summary nnselect:Process-Weekday*")) (gnus-group-read-group nil t "nnselect:Process-Weekday") |