aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-30 15:05:53 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-30 15:05:53 -0700
commit17a0b8a95f3d041dd39199d3853b03f7b9fce727 (patch)
tree9be3846aa632f1f291041d9821a3730715404e0b
parentf365024166a9a2f702fa16add5fe02a20283a516 (diff)
The very beginnings of an emacs mode for notmuch in notmuch-mode.el.
As expected, there's not much done here yet---it simply displays the output of "notmuch search" in a new window.
-rw-r--r--notmuch-mode.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/notmuch-mode.el b/notmuch-mode.el
new file mode 100644
index 00000000..eec92044
--- /dev/null
+++ b/notmuch-mode.el
@@ -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"))