]> git.notmuchmail.org Git - notmuch/commitdiff
The very beginnings of an emacs mode for notmuch in notmuch-mode.el.
authorCarl Worth <cworth@cworth.org>
Fri, 30 Oct 2009 22:05:53 +0000 (15:05 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 30 Oct 2009 22:05:53 +0000 (15:05 -0700)
As expected, there's not much done here yet---it simply displays the
output of "notmuch search" in a new window.

notmuch-mode.el [new file with mode: 0644]

diff --git a/notmuch-mode.el b/notmuch-mode.el
new file mode 100644 (file)
index 0000000..eec9204
--- /dev/null
@@ -0,0 +1,7 @@
+; A mode for running notmuch within emacs
+
+(defun notmuch ()
+  "Run notmuch to display all mail with tag of 'inbox'"
+  (interactive)
+  (require 'compile)
+  (compilation-start "notmuch search tag:inbox"))