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 05076429E25
\r
6 for <notmuch@notmuchmail.org>; Sun, 27 Nov 2011 18:52:56 -0800 (PST)
\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 7ec3o2bG15OL for <notmuch@notmuchmail.org>;
\r
16 Sun, 27 Nov 2011 18:52:55 -0800 (PST)
\r
17 Received: from dmz-mailsec-scanner-7.mit.edu (DMZ-MAILSEC-SCANNER-7.MIT.EDU
\r
19 by olra.theworths.org (Postfix) with ESMTP id 6D105431FB6
\r
20 for <notmuch@notmuchmail.org>; Sun, 27 Nov 2011 18:52:55 -0800 (PST)
\r
21 X-AuditID: 12074424-b7ef76d0000008dc-94-4ed2f78774bd
\r
22 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36])
\r
23 by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP
\r
24 id 7B.95.02268.787F2DE4; Sun, 27 Nov 2011 21:52:55 -0500 (EST)
\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 pAS2qs0t008516;
\r
27 Sun, 27 Nov 2011 21:52:55 -0500
\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 pAS2qrTC024647
\r
32 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
33 Sun, 27 Nov 2011 21:52:54 -0500 (EST)
\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 1RUrMx-0000Rz-TZ; Sun, 27 Nov 2011 21:54:59 -0500
\r
37 From: Austin Clements <amdragon@MIT.EDU>
\r
38 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>, notmuch@notmuchmail.org
\r
39 Subject: Re: [PATCH 3/3] emacs: do not call notmuch show for non-inlinable
\r
41 In-Reply-To: <1322271878-32614-3-git-send-email-dmitry.kurochkin@gmail.com>
\r
42 References: <1322271878-32614-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
43 <1322271878-32614-3-git-send-email-dmitry.kurochkin@gmail.com>
\r
44 User-Agent: Notmuch/0.9+77~gfdb7dac (http://notmuchmail.org) Emacs/23.3.1
\r
46 Date: Sun, 27 Nov 2011 21:54:59 -0500
\r
47 Message-ID: <87d3cd2by4.fsf@awakening.csail.mit.edu>
\r
49 Content-Type: text/plain; charset=us-ascii
\r
50 X-Brightmail-Tracker:
\r
51 H4sIAAAAAAAAA+NgFnrEIsWRmVeSWpSXmKPExsUixG6notv+/ZKfwe7jbBZXt/azW1y/OZPZ
\r
52 gclj56y77B7PVt1iDmCK4rJJSc3JLEst0rdL4Mr4few2c0ETZ8WhA49ZGxhXs3cxcnJICJhI
\r
53 PJq2jxHCFpO4cG89WxcjF4eQwD5GiWcv7zFBOBsYJQ72fWeBcE4ySfQuWsIM4SxhlLj5aiIT
\r
54 SD+bgIbEtv3LwWaJCHhJfLrewQxiCwsESOz/fxqom4ODU8BbYsesQojeTkaJi8vfg9WLCsRK
\r
55 vJ09EayeRUBVYsnUn2wgNi/QfcfOH4ayBSVOznzCAmIzC2hJ3Pj3kmkCo8AsJKlZSFILGJlW
\r
56 Mcqm5Fbp5iZm5hSnJusWJyfm5aUW6Zrr5WaW6KWmlG5iBAeli8oOxuZDSocYBTgYlXh4N1y+
\r
57 5CfEmlhWXJl7iFGSg0lJlNf4G1CILyk/pTIjsTgjvqg0J7X4EKMEB7OSCG/PUaAcb0piZVVq
\r
58 UT5MSpqDRUmc12ang5+QQHpiSWp2ampBahFMVoaDQ0mC9ynIUMGi1PTUirTMnBKENBMHJ8hw
\r
59 HqDhsSA1vMUFibnFmekQ+VOMilLivO9AEgIgiYzSPLheWNJ4xSgO9Iow7zWQKh5gwoHrfgU0
\r
60 mAloMMfMCyCDSxIRUlINjNOFV6U0dURtdH6tWlCspP1ftWYCT80UlcPsqz99X7zXLMRK9sSc
\r
61 /es17hpf/jH/++4/bGXCVRyZ615seD3rVt/zafolMwS4Dx8+enfFKb37V42eLGvN+JBUNK9M
\r
62 O7TvcipzuLHQ5G+6f3b6/NsfdjLj+Y2HIrqHmfcemXXdPHaR69NGtd+ec+cqsRRnJBpqMRcV
\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: Mon, 28 Nov 2011 02:52:56 -0000
\r
78 LGTM. We should probably be paying attention to the content
\r
79 disposition, but this is a definite improvement on what we do now.
\r
81 As an interesting side-note, this lets us inline a handful of types that
\r
82 we previously wouldn't, like application/emacs-lisp.
\r
84 On Sat, 26 Nov 2011 05:44:38 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmail.com> wrote:
\r
85 > Before the change, there was a workaround to avoid notmuch show calls
\r
86 > for parts with application/* Content-Type. But non-inlinable parts
\r
87 > are not limited to this Content-Type (e.g. mp3 files have audio/mpeg
\r
88 > Content-Type and are not inlinable). For such parts
\r
89 > `notmuch-show-insert-part-*/*' handler is called which unconditionally
\r
90 > fetches contents for all parts.
\r
92 > The patch moves content fetching from `notmuch-show-insert-part-*/*'
\r
93 > to `notmuch-show-mm-display-part-inline' function after MIME inlinable
\r
94 > checks are done to avoid useless notmuch show calls. The
\r
95 > application/* hack is no longer needed and removed.
\r
97 > emacs/notmuch-show.el | 17 +++++------------
\r
99 > 2 files changed, 5 insertions(+), 13 deletions(-)
\r