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 B9F02431E82
\r
6 for <notmuch@notmuchmail.org>; Sat, 3 Mar 2012 05:04:22 -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 BEN2gCgwtjk9 for <notmuch@notmuchmail.org>;
\r
18 Sat, 3 Mar 2012 05:04:21 -0800 (PST)
\r
19 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com
\r
20 [74.125.82.45]) (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 907C9431FC4 for <notmuch@notmuchmail.org>; Sat, 3 Mar 2012 05:04:21 -0800
\r
24 Received: by mail-ww0-f45.google.com with SMTP id ds10so171103wgb.2
\r
25 for <notmuch@notmuchmail.org>; Sat, 03 Mar 2012 05:04:21 -0800 (PST)
\r
26 Received-SPF: pass (google.com: domain of markwalters1009@gmail.com designates
\r
27 10.180.95.105 as permitted sender) client-ip=10.180.95.105;
\r
28 Authentication-Results: mr.google.com; spf=pass (google.com: domain of
\r
29 markwalters1009@gmail.com designates 10.180.95.105 as permitted
\r
30 sender) smtp.mail=markwalters1009@gmail.com;
\r
31 dkim=pass header.i=markwalters1009@gmail.com
\r
32 Received: from mr.google.com ([10.180.95.105])
\r
33 by 10.180.95.105 with SMTP id dj9mr3813400wib.18.1330779861364
\r
34 (num_hops = 1); Sat, 03 Mar 2012 05:04:21 -0800 (PST)
\r
35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
36 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;
\r
37 bh=XvqlUFHU0fclHJXyE5g9qO+KMiD3k7R31rRPAGgSZMc=;
\r
38 b=cONAcpvf5ptwZKjTXcD7nIOa+Oc243uSNDfYpUn7MGHO2nv8xHopYeEXUlnWTUKtEJ
\r
39 A2Z8SjsPGb0lT7r0g0pIZGFOI3/QnqQLp6Pp6WlHg9rjkSUjajV+jIOO8I/qABE1TLI7
\r
40 HlrrmOPcf3wcYuP82VAO66QLuzMTQt6CsdiiU6eKLv+UKjhq9nEDf0uyJ4TR3qgt++/E
\r
41 k4SwkpM3nHUaRKO0atUf0DB+PJzplu+WjGj2tFrDKHRAN9qcI3g++fEe3dChuzeqBVhw
\r
42 GHm2cEulYzOcrViL2yUpAqiye8oprpQZzAu3C/87ZaXfQHaaj0PsVyWRA1WrJwVc5g0z
\r
44 Received: by 10.180.95.105 with SMTP id dj9mr3011015wib.18.1330779861209;
\r
45 Sat, 03 Mar 2012 05:04:21 -0800 (PST)
\r
46 Received: from localhost (94-192-233-223.zone6.bethere.co.uk.
\r
47 [94.192.233.223]) by mx.google.com with ESMTPS id
\r
48 gp8sm9374568wib.5.2012.03.03.05.04.19 (version=TLSv1/SSLv3 cipher=OTHER);
\r
49 Sat, 03 Mar 2012 05:04:20 -0800 (PST)
\r
50 From: Mark Walters <markwalters1009@gmail.com>
\r
51 To: notmuch@notmuchmail.org
\r
52 Subject: [PATCH 5/5] emacs: make show set --with-excluded
\r
53 Date: Sat, 3 Mar 2012 13:05:18 +0000
\r
54 Message-Id: <1330779918-28024-6-git-send-email-markwalters1009@gmail.com>
\r
55 X-Mailer: git-send-email 1.7.2.3
\r
56 In-Reply-To: <1330779918-28024-1-git-send-email-markwalters1009@gmail.com>
\r
57 References: <1330779918-28024-1-git-send-email-markwalters1009@gmail.com>
\r
58 X-BeenThere: notmuch@notmuchmail.org
\r
59 X-Mailman-Version: 2.1.13
\r
61 List-Id: "Use and development of the notmuch mail system."
\r
62 <notmuch.notmuchmail.org>
\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
66 List-Post: <mailto:notmuch@notmuchmail.org>
\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
69 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
70 X-List-Received-Date: Sat, 03 Mar 2012 13:04:23 -0000
\r
72 Show has to set --with-excluded to deal with cases where it is asked
\r
73 to show a single excluded message. It use JSON so it can easily pass
\r
74 the exclude information to the user.
\r
76 emacs/notmuch-show.el | 6 ++++--
\r
77 1 files changed, 4 insertions(+), 2 deletions(-)
\r
79 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
80 index 4a60631..39c5713 100644
\r
81 --- a/emacs/notmuch-show.el
\r
82 +++ b/emacs/notmuch-show.el
\r
83 @@ -1099,13 +1099,15 @@ function is used."
\r
84 (append (list "\'") basic-args
\r
85 (list "and (" notmuch-show-query-context ")\'"))
\r
86 (append (list "\'") basic-args (list "\'")))))
\r
87 - (notmuch-show-insert-forest (notmuch-query-get-threads args))
\r
88 + (notmuch-show-insert-forest (notmuch-query-get-threads
\r
89 + (append (list "--with-excluded") args)))
\r
90 ;; If the query context reduced the results to nothing, run
\r
92 (when (and (eq (buffer-size) 0)
\r
93 notmuch-show-query-context)
\r
94 (notmuch-show-insert-forest
\r
95 - (notmuch-query-get-threads basic-args))))
\r
96 + (notmuch-query-get-threads
\r
97 + (append (list "--with-excluded") basic-args)))))
\r
99 (jit-lock-register #'notmuch-show-buttonise-links)
\r