database error
[notmuch-archives.git] / ce / 00e6d2c94c65d267e8906d5929b80e4602054e
1 Return-Path: <markwalters1009@gmail.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 6C61F431E62\r
6         for <notmuch@notmuchmail.org>; Sun,  1 Dec 2013 02:02:46 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.201\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id ck0ov9o2K5OL for <notmuch@notmuchmail.org>;\r
18         Sun,  1 Dec 2013 02:02:39 -0800 (PST)\r
19 Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com\r
20  [74.125.82.43])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
21  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
22  B2347431FD0    for <notmuch@notmuchmail.org>; Sun,  1 Dec 2013 02:02:39 -0800\r
23  (PST)\r
24 Received: by mail-wg0-f43.google.com with SMTP id k14so8269352wgh.22\r
25         for <notmuch@notmuchmail.org>; Sun, 01 Dec 2013 02:02:38 -0800 (PST)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id:in-reply-to:references;\r
28         bh=IxSu4E7/TxM+kEfjDFryHbuZhM/ButuOcnzl4j59b8k=;\r
29         b=cLT83rGPNsyXixiT6NIgSMDEzDEuwQTXuKco+Vi/AVSYiNWKKwtCUiXHKAYnkOqkIH\r
30         YACHN1rdT1WfhYpqm3f8KZF36XZUt4OU8wEWIDFKOiI131pwUFUe6iq8XYuNFcOkNSPG\r
31         QYNnStGCltXIUsEqR3YPeh1MJq4nuPR6HBxfD7KO8A2sEmx4ZT88LhfQWjQrgAILgImz\r
32         7WP0zLocTZAMtDxESNV+MIJjCA+8PSD436WONsfgF7dd5txd9F4Sz+gXwWBizLqlxpNl\r
33         gI9OFlgE88GSs0ilUXRVszZAQQfbKd606W5Ui0qxurIFKc/9Gcd7buSe3bJdfWfy+dAB\r
34         b3+g==\r
35 X-Received: by 10.180.39.140 with SMTP id p12mr13613142wik.12.1385892158691;\r
36         Sun, 01 Dec 2013 02:02:38 -0800 (PST)\r
37 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
38         by mx.google.com with ESMTPSA id\r
39         hv5sm110300592wib.2.2013.12.01.02.02.37 for <multiple recipients>\r
40         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
41         Sun, 01 Dec 2013 02:02:38 -0800 (PST)\r
42 From: Mark Walters <markwalters1009@gmail.com>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: [PATCH WIP v2 4/6] emacs: show: use the `seen' interface\r
45 Date: Sun,  1 Dec 2013 10:02:25 +0000\r
46 Message-Id: <1385892147-16994-5-git-send-email-markwalters1009@gmail.com>\r
47 X-Mailer: git-send-email 1.7.9.1\r
48 In-Reply-To: <1385892147-16994-1-git-send-email-markwalters1009@gmail.com>\r
49 References: <1385892147-16994-1-git-send-email-markwalters1009@gmail.com>\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Sun, 01 Dec 2013 10:02:46 -0000\r
63 \r
64 This converts the existing logic to use the seen/read distinction. At\r
65 this point the logic for deciding whether to mark seen/read is\r
66 unchanged, but the actual tagging read is now deferred to\r
67 quit/refresh.\r
68 ---\r
69  emacs/notmuch-show.el |   14 +++++++-------\r
70  1 files changed, 7 insertions(+), 7 deletions(-)\r
71 \r
72 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
73 index 05f649b..261c2e3 100644\r
74 --- a/emacs/notmuch-show.el\r
75 +++ b/emacs/notmuch-show.el\r
76 @@ -1721,7 +1721,7 @@ thread, navigate to the next thread in the parent search buffer."\r
77    (interactive "P")\r
78    (if (notmuch-show-goto-message-next)\r
79        (progn\r
80 -       (notmuch-show-mark-read)\r
81 +       (notmuch-show-mark-seen)\r
82         (notmuch-show-message-adjust))\r
83      (if pop-at-end\r
84         (notmuch-show-next-thread)\r
85 @@ -1733,7 +1733,7 @@ thread, navigate to the next thread in the parent search buffer."\r
86    (if (= (point) (notmuch-show-message-top))\r
87        (notmuch-show-goto-message-previous)\r
88      (notmuch-show-move-to-message-top))\r
89 -  (notmuch-show-mark-read)\r
90 +  (notmuch-show-mark-seen)\r
91    (notmuch-show-message-adjust))\r
92  \r
93  (defun notmuch-show-next-open-message (&optional pop-at-end)\r
94 @@ -1749,7 +1749,7 @@ to show, nil otherwise."\r
95                 (not (notmuch-show-message-visible-p))))\r
96      (if r\r
97         (progn\r
98 -         (notmuch-show-mark-read)\r
99 +         (notmuch-show-mark-seen)\r
100           (notmuch-show-message-adjust))\r
101        (if pop-at-end\r
102           (notmuch-show-next-thread)\r
103 @@ -1764,7 +1764,7 @@ to show, nil otherwise."\r
104                 (not (notmuch-show-get-prop :match))))\r
105      (if r\r
106         (progn\r
107 -         (notmuch-show-mark-read)\r
108 +         (notmuch-show-mark-seen)\r
109           (notmuch-show-message-adjust))\r
110        (goto-char (point-max)))))\r
111  \r
112 @@ -1777,7 +1777,7 @@ to show, nil otherwise."\r
113    "Move to the first open message and mark it read"\r
114    (goto-char (point-min))\r
115    (if (notmuch-show-message-visible-p)\r
116 -      (notmuch-show-mark-read)\r
117 +      (notmuch-show-mark-seen)\r
118      (notmuch-show-next-open-message))\r
119    (when (eobp)\r
120      ;; There are no matched non-excluded messages so open all matched\r
121 @@ -1786,7 +1786,7 @@ to show, nil otherwise."\r
122      (force-window-update)\r
123      (goto-char (point-min))\r
124      (if (notmuch-show-message-visible-p)\r
125 -       (notmuch-show-mark-read)\r
126 +       (notmuch-show-mark-seen)\r
127        (notmuch-show-next-open-message))))\r
128  \r
129  (defun notmuch-show-previous-open-message ()\r
130 @@ -1796,7 +1796,7 @@ to show, nil otherwise."\r
131                   (notmuch-show-goto-message-previous)\r
132                 (notmuch-show-move-to-message-top))\r
133               (not (notmuch-show-message-visible-p))))\r
134 -  (notmuch-show-mark-read)\r
135 +  (notmuch-show-mark-seen)\r
136    (notmuch-show-message-adjust))\r
137  \r
138  (defun notmuch-show-view-raw-message ()\r
139 -- \r
140 1.7.9.1\r
141 \r