notmuch-search-toggle-order and notmuch-tree
[notmuch-archives.git] / d6 / edb98bb7d5282296587c9183a22f91decabdd9
1 Return-Path: <dme@dme.org>\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 1B051431FAF\r
6         for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 10:30:48 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \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 msUJJojVr0bb for <notmuch@notmuchmail.org>;\r
16         Wed, 18 Jan 2012 10:30:47 -0800 (PST)\r
17 Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com\r
18  [74.125.82.41])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  69759431FAE    for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 10:30:47 -0800\r
21  (PST)\r
22 Received: by wgbdr12 with SMTP id dr12so3624555wgb.2\r
23         for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 10:30:44 -0800 (PST)\r
24 Received: by 10.180.95.199 with SMTP id dm7mr38655061wib.9.1326911444910;\r
25         Wed, 18 Jan 2012 10:30:44 -0800 (PST)\r
26 Received: from hotblack-desiato.hh.sledj.net\r
27         (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])\r
28         by mx.google.com with ESMTPS id fv6sm57760268wib.8.2012.01.18.10.30.43\r
29         (version=TLSv1/SSLv3 cipher=OTHER);\r
30         Wed, 18 Jan 2012 10:30:43 -0800 (PST)\r
31 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
32         id A58A09FD95; Wed, 18 Jan 2012 18:30:41 +0000 (GMT)\r
33 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>, notmuch@notmuchmail.org\r
34 Subject: Re: [PATCH v2] emacs: Make the part content available to the\r
35         mm-inline* checks.\r
36 In-Reply-To: <877h0o99aj.fsf@gmail.com>\r
37 References: <1326907993-11054-1-git-send-email-dme@dme.org>\r
38         <1326908371-11949-1-git-send-email-dme@dme.org>\r
39         <877h0o99aj.fsf@gmail.com>\r
40 User-Agent: Notmuch/0.11+64~g42e8f66 (http://notmuchmail.org) Emacs/24.0.92.1\r
41         (x86_64-pc-linux-gnu)\r
42 From: David Edmondson <dme@dme.org>\r
43 Date: Wed, 18 Jan 2012 18:30:36 +0000\r
44 Message-ID: <cunlip47tir.fsf@hotblack-desiato.hh.sledj.net>\r
45 MIME-Version: 1.0\r
46 Content-Type: multipart/signed; boundary="=-=-=";\r
47         micalg=pgp-sha1; protocol="application/pgp-signature"\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: Wed, 18 Jan 2012 18:30:48 -0000\r
61 \r
62 --=-=-=\r
63 Content-Type: text/plain\r
64 Content-Transfer-Encoding: quoted-printable\r
65 \r
66 On Wed, 18 Jan 2012 22:04:36 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmai=\r
67 l.com> wrote:\r
68 > On Wed, 18 Jan 2012 17:39:31 +0000, David Edmondson <dme@dme.org> wrote:\r
69 > > The `mm-inlinable-p' and `mm-inlined-p' functions work better if they\r
70 > > have access to the data of the relevant part, so load that content\r
71 > > before calling either function.\r
72 > >=20\r
73 > > This fixes the display of attached image/jpeg parts, for example.\r
74 >=20\r
75 > Not so long ago I made an opposite change to avoid fetching useless\r
76 > parts (e.g. audio files).  Looks like we need a better check here.  Can\r
77 > we know from Content-Type if fetching a part body would be useful?\r
78 \r
79 What if `notmuch-show-insert-part-*/*' consulted a list of content-type\r
80 regexps to attempt to inline?\r
81 \r
82 That would allow a sane default (("image/*" "text/*") perhaps), but also\r
83 allow more to be added to that list (or some to be removed), either by\r
84 code that detected the (in)ability to render it or the user.\r
85 \r
86 --=-=-=\r
87 Content-Type: application/pgp-signature\r
88 \r
89 -----BEGIN PGP SIGNATURE-----\r
90 Version: GnuPG v1.4.11 (GNU/Linux)\r
91 \r
92 iEYEARECAAYFAk8XD80ACgkQaezQq/BJZRbPewCePw9xnhRAY472GJI7UQMDzFJo\r
93 5AEAnivXYwYlb7iX0qtII03+gFwpwvs9\r
94 =97EX\r
95 -----END PGP SIGNATURE-----\r
96 --=-=-=--\r