From: Todd Date: Fri, 9 Jan 2015 01:19:07 +0000 (+1800) Subject: [PATCH] Use the message cite variable instead of a hard coded function X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8230e992eb1b62c1dd964f58fc78341f52866819;p=notmuch-archives.git [PATCH] Use the message cite variable instead of a hard coded function --- diff --git a/b3/916cc510d20ae282b2591f1da6895a3a5eaeed b/b3/916cc510d20ae282b2591f1da6895a3a5eaeed new file mode 100644 index 000000000..34c5feedb --- /dev/null +++ b/b3/916cc510d20ae282b2591f1da6895a3a5eaeed @@ -0,0 +1,91 @@ +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 CAF46431FD2 + for ; Thu, 8 Jan 2015 17:50:03 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.438 +X-Spam-Level: ** +X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 + tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled +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 gbrShZVHClqh for ; + Thu, 8 Jan 2015 17:50:00 -0800 (PST) +X-Greylist: delayed 1820 seconds by postgrey-1.32 at olra; + Thu, 08 Jan 2015 17:50:00 PST +Received: from s75.web-hosting.com (s75.web-hosting.com [198.187.31.9]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 94211431FC0 + for ; Thu, 8 Jan 2015 17:50:00 -0800 (PST) +Received: from user-69-73-37-128.knology.net ([69.73.37.128]:54158 + helo=localhost.localdomain) + by server75.web-hosting.com with esmtpsa (UNKNOWN:AES128-SHA256:128) + (Exim 4.82) (envelope-from ) + id 1Y9OEk-000jfJ-R6; Thu, 08 Jan 2015 20:19:39 -0500 +From: Todd +To: notmuch@notmuchmail.org +Subject: [PATCH] Use the message cite variable instead of a hard coded + function +Date: Thu, 8 Jan 2015 19:19:07 -0600 +Message-Id: <1420766347-3692-1-git-send-email-todd@electricoding.com> +X-Mailer: git-send-email 1.9.1 +X-AntiAbuse: This header was added to track abuse, + please include it with any abuse report +X-AntiAbuse: Primary Hostname - server75.web-hosting.com +X-AntiAbuse: Original Domain - notmuchmail.org +X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] +X-AntiAbuse: Sender Address Domain - electricoding.com +X-Get-Message-Sender-Via: server75.web-hosting.com: authenticated_id: + todd@electricoding.com +X-Source: +X-Source-Args: +X-Source-Dir: +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Fri, 09 Jan 2015 01:50:03 -0000 + +--- + emacs/notmuch-mua.el | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el +index 2c58886..e90ca55 100644 +--- a/emacs/notmuch-mua.el ++++ b/emacs/notmuch-mua.el +@@ -220,8 +220,8 @@ list." + (date (plist-get original-headers :Date)) + (start (point))) + +- ;; message-cite-original constructs a citation line based on the From and Date +- ;; headers of the original message, which are assumed to be in the buffer. ++ ;; message-cite-function should construct a citation line based on the From and ++ ;; Date headers of the original message, which are assumed to be in the buffer. + (insert "From: " from "\n") + (insert "Date: " date "\n\n") + +@@ -233,7 +233,7 @@ list." + (set-mark (point)) + (goto-char start) + ;; Quote the original message according to the user's configured style. +- (message-cite-original))) ++ (funcall message-cite-function))) + + ;; Crypto processing based crypto content of the original message + (when process-crypto +-- +1.9.1 +