Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 747FC431FBC for ; Fri, 20 Nov 2009 20:57:41 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Avl+7m7cGWBa for ; Fri, 20 Nov 2009 20:57:40 -0800 (PST) Received: from keithp.com (home.keithp.com [63.227.221.253]) by olra.theworths.org (Postfix) with ESMTP id 8667C431FAE for ; Fri, 20 Nov 2009 20:57:40 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by keithp.com (Postfix) with ESMTP id F41D1760220 for ; Fri, 20 Nov 2009 20:57:39 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at keithp.com Received: from keithp.com ([127.0.0.1]) by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id seNazHHDbOTa; Fri, 20 Nov 2009 20:57:37 -0800 (PST) Received: by keithp.com (Postfix, from userid 1033) id 31976B9404B; Fri, 20 Nov 2009 20:57:37 -0800 (PST) Received: from koto.keithp.com (localhost [127.0.0.1]) by keithp.com (Postfix) with ESMTP id 2AE2876012C; Fri, 20 Nov 2009 20:57:37 -0800 (PST) Received: by koto.keithp.com (Postfix, from userid 1488) id C218C1982A1; Fri, 20 Nov 2009 20:57:36 -0800 (PST) From: Keith Packard To: notmuch@notmuchmail.org Date: Fri, 20 Nov 2009 20:57:35 -0800 Message-Id: <1258779455-17053-1-git-send-email-keithp@keithp.com> X-Mailer: git-send-email 1.6.5.2 Subject: [notmuch] [PATCH] Insert signature into replies X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Nov 2009 04:57:41 -0000 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 --- 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