1 Return-Path: <amdragon@mit.edu>
\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 A6D9A431FC0
\r
6 for <notmuch@notmuchmail.org>; Sat, 17 Mar 2012 09:52:19 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id ZdUCTV2+eltm for <notmuch@notmuchmail.org>;
\r
16 Sat, 17 Mar 2012 09:52:17 -0700 (PDT)
\r
17 Received: from dmz-mailsec-scanner-4.mit.edu (DMZ-MAILSEC-SCANNER-4.MIT.EDU
\r
19 by olra.theworths.org (Postfix) with ESMTP id 1ED89431FAE
\r
20 for <notmuch@notmuchmail.org>; Sat, 17 Mar 2012 09:52:17 -0700 (PDT)
\r
21 X-AuditID: 1209190f-b7f8a6d000000914-8d-4f64c140f9d9
\r
22 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36])
\r
23 by dmz-mailsec-scanner-4.mit.edu (Symantec Messaging Gateway) with SMTP
\r
24 id B8.6C.02324.041C46F4; Sat, 17 Mar 2012 12:52:16 -0400 (EDT)
\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
\r
26 by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id q2HGqGeM032161;
\r
27 Sat, 17 Mar 2012 12:52:16 -0400
\r
28 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])
\r
29 (authenticated bits=0)
\r
30 (User authenticated as amdragon@ATHENA.MIT.EDU)
\r
31 by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q2HGqFLt012230
\r
32 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
33 Sat, 17 Mar 2012 12:52:16 -0400 (EDT)
\r
34 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77)
\r
35 (envelope-from <amdragon@mit.edu>)
\r
36 id 1S8wrX-00047j-Ep; Sat, 17 Mar 2012 12:52:15 -0400
\r
37 Date: Sat, 17 Mar 2012 12:52:15 -0400
\r
38 From: Austin Clements <amdragon@MIT.EDU>
\r
39 To: Mark Walters <markwalters1009@gmail.com>
\r
40 Subject: Re: [PATCH 5/5] emacs: make show set --exclude=flag
\r
41 Message-ID: <20120317165215.GJ2670@mit.edu>
\r
42 References: <1331836925-31437-1-git-send-email-markwalters1009@gmail.com>
\r
43 <1331836925-31437-6-git-send-email-markwalters1009@gmail.com>
\r
45 Content-Type: text/plain; charset=us-ascii
\r
46 Content-Disposition: inline
\r
47 In-Reply-To: <1331836925-31437-6-git-send-email-markwalters1009@gmail.com>
\r
48 User-Agent: Mutt/1.5.21 (2010-09-15)
\r
49 X-Brightmail-Tracker:
\r
50 H4sIAAAAAAAAA+NgFmpgleLIzCtJLcpLzFFi42IRYrdT0XU4mOJvcHiPrsXquTwW12/OZHZg
\r
51 8tg56y67x7NVt5gDmKK4bFJSczLLUov07RK4Mr78f8hasJeromnjb/YGxrkcXYwcHBICJhLf
\r
52 n3t2MXICmWISF+6tZ+ti5OIQEtjHKPHnxG1mCGcDo8SDmUfZIZyTTBL3P/yBKlvCKPF/5gxW
\r
53 kH4WAVWJJUcOsIHYbAIaEtv2L2cEsUUEdCRuH1rADmIzC0hLfPvdzARiCwvYSBy81sQIcgav
\r
54 gLZE01EekLCQQCejxIdvxiA2r4CgxMmZT1ggWrUkbvx7yQRSDjJm+T+wBzgFvCTO3FQCqRAV
\r
55 UJGYcnIb2wRGoVlImmchaZ6F0LyAkXkVo2xKbpVubmJmTnFqsm5xcmJeXmqRrolebmaJXmpK
\r
56 6SZGUEBzSvLvYPx2UOkQowAHoxIPL8eEZH8h1sSy4srcQ4ySHExKoryMB1L8hfiS8lMqMxKL
\r
57 M+KLSnNSiw8xSnAwK4nwSi0HyvGmJFZWpRblw6SkOViUxHnVtN75CQmkJ5akZqemFqQWwWRl
\r
58 ODiUJHg7QIYKFqWmp1akZeaUIKSZODhBhvMADd8PUsNbXJCYW5yZDpE/xagoJc7bCJIQAElk
\r
59 lObB9cISzitGcaBXhHmXgVTxAJMVXPcroMFMQINnliWDDC5JREhJNTCWneCz9Ds+d9bM5Nf6
\r
60 hf4vGzJmvnvIrv+45IX7uau79vm0Z6z79XLf1sLy4sNdTTXP2725+7ICLt7yz1r5/PTu6H8O
\r
61 36oWdU3ft2m7z6x7fqKyr3IOvxP/p5xs/m5xlWzGmvWFCuUvr0XmbNpZYLuJJerbE++0ohfB
\r
62 1X0ah+S5y8/kNh6adExQiaU4I9FQi7moOBEA+5PdchMDAAA=
\r
63 Cc: notmuch@notmuchmail.org
\r
64 X-BeenThere: notmuch@notmuchmail.org
\r
65 X-Mailman-Version: 2.1.13
\r
67 List-Id: "Use and development of the notmuch mail system."
\r
68 <notmuch.notmuchmail.org>
\r
69 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
70 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
71 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
72 List-Post: <mailto:notmuch@notmuchmail.org>
\r
73 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
74 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
75 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
76 X-List-Received-Date: Sat, 17 Mar 2012 16:52:19 -0000
\r
78 Quoth Mark Walters on Mar 15 at 6:42 pm:
\r
79 > Show has to set --exclude=flag to deal with cases where it is asked
\r
80 > to show a single excluded message. It uses JSON so it can easily pass
\r
81 > the exclude information to the user.
\r
83 > emacs/notmuch-show.el | 6 ++++--
\r
84 > 1 files changed, 4 insertions(+), 2 deletions(-)
\r
86 > diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
87 > index 4a60631..8ab2485 100644
\r
88 > --- a/emacs/notmuch-show.el
\r
89 > +++ b/emacs/notmuch-show.el
\r
90 > @@ -1099,13 +1099,15 @@ function is used."
\r
91 > (append (list "\'") basic-args
\r
92 > (list "and (" notmuch-show-query-context ")\'"))
\r
93 > (append (list "\'") basic-args (list "\'")))))
\r
94 > - (notmuch-show-insert-forest (notmuch-query-get-threads args))
\r
95 > + (notmuch-show-insert-forest (notmuch-query-get-threads
\r
96 > + (append (list "--exclude=flag") args)))
\r
98 (cons "--exclude=flag" args)
\r
100 > ;; If the query context reduced the results to nothing, run
\r
101 > ;; the basic query.
\r
102 > (when (and (eq (buffer-size) 0)
\r
103 > notmuch-show-query-context)
\r
104 > (notmuch-show-insert-forest
\r
105 > - (notmuch-query-get-threads basic-args))))
\r
106 > + (notmuch-query-get-threads
\r
107 > + (append (list "--exclude=flag") basic-args)))))
\r
112 > (jit-lock-register #'notmuch-show-buttonise-links)
\r