1 Return-Path: <keithp@keithp.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 747FC431FBC
\r
6 for <notmuch@notmuchmail.org>; Fri, 20 Nov 2009 20:57:41 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 Received: from olra.theworths.org ([127.0.0.1])
\r
9 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
10 with ESMTP id Avl+7m7cGWBa for <notmuch@notmuchmail.org>;
\r
11 Fri, 20 Nov 2009 20:57:40 -0800 (PST)
\r
12 Received: from keithp.com (home.keithp.com [63.227.221.253])
\r
13 by olra.theworths.org (Postfix) with ESMTP id 8667C431FAE
\r
14 for <notmuch@notmuchmail.org>; Fri, 20 Nov 2009 20:57:40 -0800 (PST)
\r
15 Received: from localhost (localhost [127.0.0.1])
\r
16 by keithp.com (Postfix) with ESMTP id F41D1760220
\r
17 for <notmuch@notmuchmail.org>; Fri, 20 Nov 2009 20:57:39 -0800 (PST)
\r
18 X-Virus-Scanned: Debian amavisd-new at keithp.com
\r
19 Received: from keithp.com ([127.0.0.1])
\r
20 by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024)
\r
21 with LMTP id seNazHHDbOTa; Fri, 20 Nov 2009 20:57:37 -0800 (PST)
\r
22 Received: by keithp.com (Postfix, from userid 1033)
\r
23 id 31976B9404B; Fri, 20 Nov 2009 20:57:37 -0800 (PST)
\r
24 Received: from koto.keithp.com (localhost [127.0.0.1])
\r
25 by keithp.com (Postfix) with ESMTP id 2AE2876012C;
\r
26 Fri, 20 Nov 2009 20:57:37 -0800 (PST)
\r
27 Received: by koto.keithp.com (Postfix, from userid 1488)
\r
28 id C218C1982A1; Fri, 20 Nov 2009 20:57:36 -0800 (PST)
\r
29 From: Keith Packard <keithp@keithp.com>
\r
30 To: notmuch@notmuchmail.org
\r
31 Date: Fri, 20 Nov 2009 20:57:35 -0800
\r
32 Message-Id: <1258779455-17053-1-git-send-email-keithp@keithp.com>
\r
33 X-Mailer: git-send-email 1.6.5.2
\r
34 Subject: [notmuch] [PATCH] Insert signature into replies
\r
35 X-BeenThere: notmuch@notmuchmail.org
\r
36 X-Mailman-Version: 2.1.12
\r
38 List-Id: "Use and development of the notmuch mail system."
\r
39 <notmuch.notmuchmail.org>
\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
41 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
43 List-Post: <mailto:notmuch@notmuchmail.org>
\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
46 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
47 X-List-Received-Date: Sat, 21 Nov 2009 04:57:41 -0000
\r
49 When you compose a new message, message mode carefully inserts your
\r
50 mail signature at the bottom of the message; as notmuch constructs the
\r
51 reply all by itself, this doesn't happen then. Use the message mode
\r
52 function 'message-insert-signature' to add that to reply buffers.
\r
54 Signed-off-by: Keith Packard <keithp@keithp.com>
\r
57 1 files changed, 1 insertions(+), 0 deletions(-)
\r
59 diff --git a/notmuch.el b/notmuch.el
\r
60 index bed6a25..feb84ad 100644
\r
63 @@ -308,6 +308,7 @@ buffer."
\r
64 (defun notmuch-reply (query-string)
\r
65 (switch-to-buffer (generate-new-buffer "notmuch-draft"))
\r
66 (call-process notmuch-command nil t nil "reply" query-string)
\r
67 + (message-insert-signature)
\r
68 (goto-char (point-min))
\r
69 (if (re-search-forward "^$" nil t)
\r