1 ; A mode for running notmuch within emacs
4 (defun notmuch-search-mode ()
5 "Major mode for handling the output of notmuch search"
7 (kill-all-local-variables)
8 (setq major-mode 'notmuch-search-mode
9 mode-name "notmuch-search")
10 (setq buffer-read-only t))
13 "Run notmuch to display all mail with tag of 'inbox'"
16 (compilation-start "notmuch search tag:inbox" 'notmuch-search-mode))