[PATCH v3 3/9] lib: Introduce macros for bit operations
[notmuch-archives.git] / 47 / 0d3df7c709bdcf7c46bbb396571118d781c324
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 1A2BE431FC3\r
6         for <notmuch@notmuchmail.org>; Tue, 25 Mar 2014 13:03:29 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 2.7\r
10 X-Spam-Level: **\r
11 X-Spam-Status: No, score=2.7 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         FREEMAIL_REPLY=2.499, 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 JrcN2oNANxt7 for <notmuch@notmuchmail.org>;\r
18         Tue, 25 Mar 2014 13:03:21 -0700 (PDT)\r
19 Received: from mail-we0-f180.google.com (mail-we0-f180.google.com\r
20         [74.125.82.180]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 5EED7431FBD\r
23         for <notmuch@notmuchmail.org>; Tue, 25 Mar 2014 13:03:21 -0700 (PDT)\r
24 Received: by mail-we0-f180.google.com with SMTP id p61so662678wes.25\r
25         for <notmuch@notmuchmail.org>; Tue, 25 Mar 2014 13:03:17 -0700 (PDT)\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;\r
28         bh=qxHBDXXqb7o2/BHPLqGTOLQrmsQmJN9engFxjbpBaW8=;\r
29         b=LS6M6DujuE2hNxuvPFyYxkhrcvIZM7CaxDwPdlg4uZlHg6evULD9g7z76Z5r3/fHx5\r
30         I0xxQNoiG6lSG4Mx7XsnJP9rOivGC22uyd3l+8E8D9iu8Vu36noBFPz7kftmvhfmBJLi\r
31         +Vzuax8iQpdGcAOSN6j/XW89LYnJi3OyNr8xBoqoDqxu5Wfyp3fQhl0gG0EhOnbmFdp/\r
32         FvWmjdxJBYU9Rx4DHg+7J76NXaSX1TUNpwBeFKxGgmYgFkpYAz+HojpfBDZX1KwsuTh3\r
33         +Ecr0kXWGX8PZqt4erMJRK7mxBtDOnKr1P3kV8uzBo026BxP/rNW1hAKOGAqULqy3stx\r
34         5UhQ==\r
35 X-Received: by 10.180.12.233 with SMTP id b9mr25795847wic.8.1395777797431;\r
36         Tue, 25 Mar 2014 13:03:17 -0700 (PDT)\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         gz1sm11117824wib.14.2014.03.25.13.03.16 for <multiple recipients>\r
40         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
41         Tue, 25 Mar 2014 13:03:16 -0700 (PDT)\r
42 From: Mark Walters <markwalters1009@gmail.com>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: [Patch v3 0/3] emacs: show: redesign unread/read logic\r
45 Date: Tue, 25 Mar 2014 20:03:10 +0000\r
46 Message-Id: <1395777793-13297-1-git-send-email-markwalters1009@gmail.com>\r
47 X-Mailer: git-send-email 1.7.10.4\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Tue, 25 Mar 2014 20:03:29 -0000\r
61 \r
62 This is the latest version of the redesign of the unread/read\r
63 logic. Now that the tag update code is in this is relatively simple.\r
64 \r
65 The previous version (which included an early version of the tag\r
66 update code) is at\r
67 id:1387065197-15776-1-git-send-email-markwalters1009@gmail.com\r
68 \r
69 The series consists of three patches. The first makes the test suite\r
70 run the post-command-hooks. This is bremner's version from\r
71 id:1390578744-30516-1-git-send-email-david@tethera.net (which is much\r
72 nicer than my original version). This patch has been reviewed by Tomi\r
73 in id:m21tzxns8p.fsf@guru.guru-group.fi and me in\r
74 id:87d2jizjlu.fsf@qmul.ac.uk\r
75 \r
76 The second patch adds a stub function linked to the post-command-hook\r
77 to mark messages read. This is a convenient place to test other\r
78 possible logics.\r
79 \r
80 The third patch adds my attempt at a plausible logic. I find it works\r
81 very well: it usually does both what I expect and what I want.\r
82 \r
83 Somewhat surprisingly for a moderately significant change all tests\r
84 pass unchanged.\r
85 \r
86 Finally, the tests do not pass after Patch 2 but before Patch 3. I\r
87 have left these two patches split to make it easy for other people to\r
88 test other unread logic, but we might want to merge the two when\r
89 commiting.\r
90 \r
91 Best wishes\r
92 \r
93 Mark\r
94 \r
95 \r
96 \r
97 \r
98 \r
99 \r
100 \r
101 Mark Walters (3):\r
102   test: make test_emacs call post-command-hook\r
103   emacs: show: add an update seen function to post-command-hook\r
104   emacs: show: make `seen' mean user viewed whole message\r
105 \r
106  emacs/notmuch-show.el |   91 +++++++++++++++++++++++++++++++++++++++++--------\r
107  test/test-lib.el      |   11 ++++++\r
108  test/test-lib.sh      |    2 +-\r
109  3 files changed, 88 insertions(+), 16 deletions(-)\r
110 \r
111 -- \r
112 1.7.10.4\r
113 \r