[notmuch] [PATCH 6/9] Reply to individual messages using message library
camalot at picnicpark.org
camalot at picnicpark.org
Fri Nov 27 05:30:12 PST 2009
From: Keith Amidon <keith at nicira.com>
As an alternative to creating a reply from the current thread, this
commit provides functions to create replies directly in emacs using
the message library.
A future commit will provide keybindings so that they are easy to
change if a different set is preferred.
---
notmuch.el | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/notmuch.el b/notmuch.el
index d3d75f9..fe20b54 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -323,6 +323,21 @@ buffer."
(with-current-notmuch-show-message
(message-forward)))
+(defun notmuch-show-reply-current ()
+ (interactive)
+ (with-current-notmuch-show-message
+ (message-reply)))
+
+(defun notmuch-show-wide-reply-current ()
+ (interactive)
+ (with-current-notmuch-show-message
+ (message-wide-reply)))
+
+(defun notmuch-show-followup-current ()
+ (interactive)
+ (with-current-notmuch-show-message
+ (message-followup)))
+
(defun notmuch-show-pipe-message (command)
"Pipe the contents of the current message to the given command.
--
1.6.5.3
More information about the notmuch
mailing list