From e9394932f7ccf71755faed8965876e6869e0eacb Mon Sep 17 00:00:00 2001 From: David Edmondson Date: Thu, 22 Apr 2010 09:27:33 +0100 Subject: emacs: Add notmuch-hello.el, a friendly frontend to notmuch This is based on the prototype that Carl Worth described in the TODO file. It provides a search bar as well as support for recent searches, saved searches, and a list of all tags in the database (as well as the number of messages with each tag). --- emacs/notmuch-lib.el | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'emacs/notmuch-lib.el') diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index cb9be301..274d7ec5 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -24,6 +24,15 @@ (defvar notmuch-command "notmuch" "Command to run the notmuch binary.") +(defgroup notmuch nil + "Notmuch mail reader for Emacs." + :group 'mail) + +(defcustom notmuch-folders '(("inbox" . "tag:inbox") ("unread" . "tag:unread")) + "List of searches for the notmuch folder view" + :type '(alist :key-type (string) :value-type (string)) + :group 'notmuch) + ;; XXX: This should be a generic function in emacs somewhere, not ;; here. (defun point-invisible-p () -- cgit v1.2.3