Paste number 144186: gnus+nnir+notmuch

Index of paste annotations: 1

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:
Raw Source | XML | Display As
(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:
Raw Source | Display As
;; N.B.: Run "notmuch setup" and "notmuch new" from CLI before first
;; Gnus run with this config to set up initial notmuch index.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.