1 Return-Path: <Sebastian@SSpaeth.de>
\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 88D544196F4
\r
6 for <notmuch@notmuchmail.org>; Tue, 6 Apr 2010 00:39:27 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id AVQeDWjeFC3q for <notmuch@notmuchmail.org>;
\r
16 Tue, 6 Apr 2010 00:39:26 -0700 (PDT)
\r
17 Received: from homiemail-a18.g.dreamhost.com (mailbigip.dreamhost.com
\r
19 by olra.theworths.org (Postfix) with ESMTP id D39A04196F5
\r
20 for <notmuch@notmuchmail.org>; Tue, 6 Apr 2010 00:39:26 -0700 (PDT)
\r
21 Received: from localhost.localdomain (mtec-hg-docking-1-dhcp-204.ethz.ch
\r
23 by homiemail-a18.g.dreamhost.com (Postfix) with ESMTPA id 955C825006B;
\r
24 Tue, 6 Apr 2010 00:39:25 -0700 (PDT)
\r
25 From: Sebastian Spaeth <Sebastian@SSpaeth.de>
\r
26 To: notmuch@notmuchmail.org
\r
27 Subject: [PATCH 2/2] notmuch.el: Colour cited regions and signatures with
\r
28 message-cited-text-face
\r
29 Date: Tue, 6 Apr 2010 09:39:20 +0200
\r
30 Message-Id: <1270539560-20759-2-git-send-email-Sebastian@SSpaeth.de>
\r
31 X-Mailer: git-send-email 1.6.3.3
\r
32 In-Reply-To: <1270539560-20759-1-git-send-email-Sebastian@SSpaeth.de>
\r
33 References: <874ojphvyj.fsf@SSpaeth.de>
\r
34 <1270539560-20759-1-git-send-email-Sebastian@SSpaeth.de>
\r
35 X-BeenThere: notmuch@notmuchmail.org
\r
36 X-Mailman-Version: 2.1.13
\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: Tue, 06 Apr 2010 07:39:27 -0000
\r
49 From: David Edmondson <dme@dme.org>
\r
51 Patch from mail id:1266226909-19360-1-git-send-email-dme@dme.org with a fix in id:873a12hl3f.fsf@aw.hh.sledj.net
\r
53 Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
\r
55 emacs/notmuch-show.el | 18 ++++++++++--------
\r
56 1 files changed, 10 insertions(+), 8 deletions(-)
\r
58 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
59 index f172f6b..353b57d 100644
\r
60 --- a/emacs/notmuch-show.el
\r
61 +++ b/emacs/notmuch-show.el
\r
62 @@ -708,14 +708,16 @@ is what to put on the button."
\r
63 (let* ((sig-start (match-beginning 0))
\r
64 (sig-end (match-end 0))
\r
65 (sig-lines (1- (count-lines sig-start end))))
\r
66 - (if (<= sig-lines notmuch-show-signature-lines-max)
\r
67 - (notmuch-show-region-to-button
\r
72 - (format notmuch-show-signature-button-format sig-lines)
\r
74 + (if (<= sig-lines notmuch-show-signature-lines-max)
\r
76 + (overlay-put (make-overlay sig-start end) 'face 'message-cited-text-face)
\r
77 + (notmuch-show-region-to-button
\r
82 + (format notmuch-show-signature-button-format sig-lines)
\r
85 (defun notmuch-show-markup-part (beg end depth)
\r
86 (if (re-search-forward notmuch-show-part-begin-regexp nil t)
\r