[notmuch] [PATCH] Insert signature into replies

Subject: [notmuch] [PATCH] Insert signature into replies

Date: Fri, 20 Nov 2009 20:57:35 -0800

To: notmuch@notmuchmail.org

Cc:

From: Keith Packard


When you compose a new message, message mode carefully inserts your
mail signature at the bottom of the message; as notmuch constructs the
reply all by itself, this doesn't happen then. Use the message mode
function 'message-insert-signature' to add that to reply buffers.

Signed-off-by: Keith Packard <keithp@keithp.com>
---
 notmuch.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/notmuch.el b/notmuch.el
index bed6a25..feb84ad 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -308,6 +308,7 @@ buffer."
 (defun notmuch-reply (query-string)
   (switch-to-buffer (generate-new-buffer "notmuch-draft"))
   (call-process notmuch-command nil t nil "reply" query-string)
+  (message-insert-signature)
   (goto-char (point-min))
   (if (re-search-forward "^$" nil t)
       (progn
-- 
1.6.5.2


Thread: