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 5F38C431E64
\r
6 for <notmuch@notmuchmail.org>; Sat, 14 Dec 2013 15:45:04 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 KEo0WUdC4NzS for <notmuch@notmuchmail.org>;
\r
18 Sat, 14 Dec 2013 15:45:03 -0800 (PST)
\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 0C985431FD9
\r
23 for <notmuch@notmuchmail.org>; Sat, 14 Dec 2013 15:44:53 -0800 (PST)
\r
24 Received: by mail-we0-f180.google.com with SMTP id t61so3290060wes.11
\r
25 for <notmuch@notmuchmail.org>; Sat, 14 Dec 2013 15:44:53 -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=EECcfA6ycodjzIP1/WuBGdV7BtEFcWBTMCppe68lWyU=;
\r
29 b=PWLfa9Yd/hPG1bzgp+6WHNccLxxat+XXKuXvxdqTj1hR1EzCvtaqoiR3f5nAKqxZes
\r
30 fNH+NeZKbqPvfo6mbFo8hiNlZUHIMIZxJKjUjo/k0pQS5xXozA91ElBjFL/HAoWVWmK5
\r
31 McbNtM3TUfG03BZMBuGm9nZHr9E4P6HwaM/CjTCoZRm2HDVzfarxYuLBWAXOlwDFIT8c
\r
32 0hsoJJ29EAhg7VvI6AyfmkyrqWBmzqlNhndb0jv694vU/qddEejx+TY5QNYmvfbIYR1H
\r
33 zBuI4b1TwjwIeQK/8BhvUUJxETwcNrNBImAf0LscBskEMoajw+93yUlKA3D/RvYVdAn6
\r
35 X-Received: by 10.194.82.68 with SMTP id g4mr317035wjy.85.1387064692983;
\r
36 Sat, 14 Dec 2013 15:44:52 -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 hb7sm11100541wib.6.2013.12.14.15.44.51
\r
39 for <multiple recipients>
\r
40 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
41 Sat, 14 Dec 2013 15:44:52 -0800 (PST)
\r
42 From: Mark Walters <markwalters1009@gmail.com>
\r
43 To: notmuch@notmuchmail.org
\r
44 Subject: [PATCH 4/5] emacs: tree: make the tree code force the mark read
\r
46 Date: Sat, 14 Dec 2013 23:44:35 +0000
\r
47 Message-Id: <1387064676-15508-5-git-send-email-markwalters1009@gmail.com>
\r
48 X-Mailer: git-send-email 1.7.9.1
\r
49 In-Reply-To: <1387064676-15508-1-git-send-email-markwalters1009@gmail.com>
\r
50 References: <1387064676-15508-1-git-send-email-markwalters1009@gmail.com>
\r
51 X-BeenThere: notmuch@notmuchmail.org
\r
52 X-Mailman-Version: 2.1.13
\r
54 List-Id: "Use and development of the notmuch mail system."
\r
55 <notmuch.notmuchmail.org>
\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
59 List-Post: <mailto:notmuch@notmuchmail.org>
\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
63 X-List-Received-Date: Sat, 14 Dec 2013 23:45:05 -0000
\r
65 Previously the tree code relied on the show buffer to do the
\r
66 unread/read update. Once this is done via the post-command-hook this
\r
67 won't be automatic so explicitly force the update.
\r
69 emacs/notmuch-tree.el | 3 +++
\r
70 1 files changed, 3 insertions(+), 0 deletions(-)
\r
72 diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el
\r
73 index 8d59e65..6ec9561 100644
\r
74 --- a/emacs/notmuch-tree.el
\r
75 +++ b/emacs/notmuch-tree.el
\r
76 @@ -438,6 +438,9 @@ Does NOT change the database."
\r
77 (setq notmuch-tree-message-window window)
\r
78 (add-hook 'kill-buffer-hook 'notmuch-tree-message-window-kill-hook)))
\r
79 (when notmuch-show-mark-read-tags
\r
80 + (when (window-live-p notmuch-tree-message-window)
\r
81 + (with-selected-window notmuch-tree-message-window
\r
82 + (notmuch-show-mark-read)))
\r
83 (notmuch-tree-tag-update-display notmuch-show-mark-read-tags))
\r
84 (setq notmuch-tree-message-buffer buffer))))
\r