1 Return-Path: <kanru@kanru.info>
\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 887BB431FC0
\r
6 for <notmuch@notmuchmail.org>; Sun, 13 Dec 2009 21:42:29 -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 J6A-4FOqVqw2 for <notmuch@notmuchmail.org>;
\r
11 Sun, 13 Dec 2009 21:42:29 -0800 (PST)
\r
12 Received: from cp20.secserverpros.com (cp20.secserverpros.com
\r
13 [67.220.217.187]) by olra.theworths.org (Postfix) with ESMTP id 0D71D431FBF
\r
14 for <notmuch@notmuchmail.org>; Sun, 13 Dec 2009 21:42:28 -0800 (PST)
\r
15 Received: from 61-228-164-59.dynamic.hinet.net ([61.228.164.59]
\r
17 by cp20.secserverpros.com with esmtps (TLSv1:AES256-SHA:256)
\r
18 (Exim 4.69) (envelope-from <kanru@kanru.info>) id 1NK3hR-0004jY-P0
\r
19 for notmuch@notmuchmail.org; Mon, 14 Dec 2009 05:42:26 +0000
\r
20 Received: from kanru (uid 1000) (envelope-from kanru@kanru.info) id 2389
\r
21 by kanru.info (DragonFly Mail Agent) Mon, 14 Dec 2009 13:41:52 +0800
\r
22 From: Kan-Ru Chen <kanru@kanru.info>
\r
23 To: notmuch@notmuchmail.org
\r
24 Date: Mon, 14 Dec 2009 13:41:34 +0800
\r
25 Message-Id: <1260769295-12924-4-git-send-email-kanru@kanru.info>
\r
26 X-Mailer: git-send-email 1.6.5.5
\r
27 In-Reply-To: <1260769295-12924-3-git-send-email-kanru@kanru.info>
\r
28 References: <1260769295-12924-1-git-send-email-kanru@kanru.info>
\r
29 <1260769295-12924-2-git-send-email-kanru@kanru.info>
\r
30 <1260769295-12924-3-git-send-email-kanru@kanru.info>
\r
32 X-AntiAbuse: This header was added to track abuse,
\r
33 please include it with any abuse report
\r
34 X-AntiAbuse: Primary Hostname - cp20.secserverpros.com
\r
35 X-AntiAbuse: Original Domain - notmuchmail.org
\r
36 X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
\r
37 X-AntiAbuse: Sender Address Domain - kanru.info
\r
41 Subject: [notmuch] [PATCH 3/4] emacs: Some cleanup.
\r
42 X-BeenThere: notmuch@notmuchmail.org
\r
43 X-Mailman-Version: 2.1.12
\r
45 List-Id: "Use and development of the notmuch mail system."
\r
46 <notmuch.notmuchmail.org>
\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
50 List-Post: <mailto:notmuch@notmuchmail.org>
\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
54 X-List-Received-Date: Mon, 14 Dec 2009 05:42:29 -0000
\r
57 Signed-off-by: Kan-Ru Chen <kanru@kanru.info>
\r
59 notmuch.el | 9 ++++-----
\r
60 1 files changed, 4 insertions(+), 5 deletions(-)
\r
62 diff --git a/notmuch.el b/notmuch.el
\r
63 index 1722474..db8f899 100644
\r
66 @@ -611,11 +611,10 @@ which this thread was originally shown."
\r
67 (invis-spec (make-symbol "notmuch-citation-region")))
\r
68 (add-to-invisibility-spec invis-spec)
\r
69 (overlay-put overlay 'invisible invis-spec)
\r
70 - (let ((p (point-marker))
\r
72 + (let ((cite-button-text
\r
73 (concat "[" (number-to-string (count-lines beg-sub (point)))
\r
74 "-line citation. Click/Enter to show.]")))
\r
75 - (goto-char (- beg-sub 1))
\r
76 + (goto-char (1- beg-sub))
\r
77 (insert (concat "\n" indent))
\r
78 (insert-button cite-button-text
\r
79 'invisibility-spec invis-spec
\r
80 @@ -624,7 +623,7 @@ which this thread was originally shown."
\r
82 (move-to-column depth)
\r
83 (if (looking-at notmuch-show-signature-regexp)
\r
84 - (let ((sig-lines (- (count-lines beg-sub end) 1)))
\r
85 + (let ((sig-lines (1- (count-lines beg-sub end))))
\r
86 (if (<= sig-lines notmuch-show-signature-lines-max)
\r
88 (let ((invis-spec (make-symbol "notmuch-signature-region")))
\r
89 @@ -632,7 +631,7 @@ which this thread was originally shown."
\r
90 (overlay-put (make-overlay beg-sub end)
\r
91 'invisible invis-spec)
\r
93 - (goto-char (- beg-sub 1))
\r
94 + (goto-char (1- beg-sub))
\r
95 (insert (concat "\n" indent))
\r
96 (let ((sig-button-text (concat "[" (number-to-string sig-lines)
\r
97 "-line signature. Click/Enter to show.]")))
\r