From: Mark Walters <markwalters1009@gmail.com>
To: notmuch@notmuchmail.org
Subject: [PATCH 2/3] emacs: add a stub entry to notmuch-pick in notmuch.el
Date: Wed, 11 Jul 2012 19:57:06 +0100 [thread overview]
Message-ID: <1342033027-30286-3-git-send-email-markwalters1009@gmail.com> (raw)
In-Reply-To: <1342033027-30286-1-git-send-email-markwalters1009@gmail.com>
This adds the stub entry to notmuch-pick.el to notmuch.el. We call
notmuch-pick-init when notmuch starts up; by default this function
does nothing but if the user replaces the file by the "proper" one
from contrib then this will setup key binding for the various entries
to notmuch-pick.
---
emacs/notmuch.el | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index fabb7c0..2d32baa 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -58,6 +58,7 @@
(require 'notmuch-hello)
(require 'notmuch-maildir-fcc)
(require 'notmuch-message)
+(require 'notmuch-pick)
(defcustom notmuch-search-result-format
`(("date" . "%12s ")
@@ -1032,6 +1033,7 @@ current search results AND that are tagged with the given tag."
(defun notmuch ()
"Run notmuch and display saved searches, known tags, etc."
(interactive)
+ (notmuch-pick-init)
(notmuch-hello))
(defun notmuch-interesting-buffer (b)
--
1.7.9.1
next prev parent reply other threads:[~2012-07-11 18:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-11 18:57 [PATCH 0/3] Notmuch pick: a threaded view Mark Walters
2012-07-11 18:57 ` [PATCH 1/3] emacs: add a stub notmuch-pick.el file Mark Walters
2012-07-11 18:57 ` Mark Walters [this message]
2012-07-11 18:57 ` [PATCH 3/3] emacs: make notmuch-show return its buffer Mark Walters
2012-07-11 19:06 ` [PATCH 0/3] Notmuch pick: a threaded view Mark Walters
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1342033027-30286-3-git-send-email-markwalters1009@gmail.com \
--to=markwalters1009@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).