| Paste number 144186: | gnus+nnir+notmuch |
| Pasted by: | wgreenhouse |
| When: | 3 years, 1 week ago |
| Share: | Tweet this! | http://paste.lisp.org/+3396 |
| Channel: | None |
| Paste contents: |
(setq gnus-select-method
'(nnmaildir ""
(directory "~/Maildir/")
(get-new-mail nil)
(nnir-search-engine notmuch))
nnir-notmuch-remove-prefix "/home/wgg/Maildir/")
(defun wg/update-notmuch ()
(start-process "notmuch-poll" nil "notmuch" "new"))
(add-hook 'gnus-after-getting-new-news-hook 'wg/update-notmuch)
(add-hook 'gnus-summary-exit-hook 'wg/update-notmuch)
Annotations for this paste:
| Annotation number 1: | note |
| Pasted by: | wgreenhouse |
| When: | 3 years, 1 week ago |
| Share: | Tweet this! | http://paste.lisp.org/+3396/1 |
| Paste contents: |
;; N.B.: Run "notmuch setup" and "notmuch new" from CLI before first
;; Gnus run with this config to set up initial notmuch index.