From: Carl Worth Date: Fri, 30 Oct 2009 22:05:53 +0000 (-0700) Subject: The very beginnings of an emacs mode for notmuch in notmuch-mode.el. X-Git-Tag: 0.1~650 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=17a0b8a95f3d041dd39199d3853b03f7b9fce727;hp=f365024166a9a2f702fa16add5fe02a20283a516 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. --- 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"))