Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 88 / 2d136509c4c4e8f25e6945964b0e2a7ef787ca
1 Return-Path: <jrollins@finestructure.net>\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 878ED431FC2\r
6         for <notmuch@notmuchmail.org>; Wed, 21 Aug 2013 10:26:26 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] 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 BXnbQnZ0KSoH for <notmuch@notmuchmail.org>;\r
16         Wed, 21 Aug 2013 10:26:21 -0700 (PDT)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id 0B532431FAF\r
20         for <notmuch@notmuchmail.org>; Wed, 21 Aug 2013 10:26:21 -0700 (PDT)\r
21 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by fire-doxen-postvirus (Postfix) with ESMTP id 55F03328027;\r
23         Wed, 21 Aug 2013 10:26:20 -0700 (PDT)\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
25 Received: from finestructure.net (DHCP-123-216.caltech.edu [131.215.123.216])\r
26         (Authenticated sender: jrollins)\r
27         by fire-doxen-submit (Postfix) with ESMTP id 970D8328044;\r
28         Wed, 21 Aug 2013 10:26:16 -0700 (PDT)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id 222E661736; Wed, 21 Aug 2013 10:26:16 -0700 (PDT)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Mark Walters <markwalters1009@gmail.com>,\r
33         Istvan Marko <notmuch@kismala.com>, notmuch@notmuchmail.org\r
34 Subject: Re: [PATCH] emacs: add buttons for all multipart/related parts\r
35 In-Reply-To: <87ob8ste5f.fsf@qmul.ac.uk>\r
36 References: <m3r4dtgz9k.fsf@zsu.kismala.com>\r
37         <87fvu4fl25.fsf@servo.finestructure.net>\r
38         <87ob8ste5f.fsf@qmul.ac.uk>\r
39 User-Agent: Notmuch/0.16+1~g9f861e2 (http://notmuchmail.org) Emacs/24.3.1\r
40         (x86_64-pc-linux-gnu)\r
41 Date: Wed, 21 Aug 2013 10:26:13 -0700\r
42 Message-ID: <87a9kbc5vu.fsf@servo.finestructure.net>\r
43 MIME-Version: 1.0\r
44 Content-Type: multipart/signed; boundary="=-=-=";\r
45         micalg=pgp-sha256; protocol="application/pgp-signature"\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Wed, 21 Aug 2013 17:26:26 -0000\r
59 \r
60 --=-=-=\r
61 Content-Type: text/plain\r
62 \r
63 On Tue, Aug 20 2013, Mark Walters <markwalters1009@gmail.com> wrote:\r
64 > What does the (mis-behaving)  part button say? is it [image/jpeg] or\r
65 > [application/octet-stream as image/jpeg] or? and what do correctly\r
66 > behaving part buttons say?\r
67 \r
68 Hey, Mark.  That's the perplexing part: the parts seem otherwise very\r
69 similar.  For the case of the part that is *not* handled correctly, the\r
70 Content info and button are:\r
71 \r
72   Content-Type: image/jpeg; name="photo.JPG"\r
73   Content-Transfer-Encoding: base64\r
74   Content-Id: <...>\r
75   Content-Disposition: inline; filename="photo.JPG"\r
76 \r
77   [ photo.JPG: image/jpeg ]\r
78 \r
79 And in the case of a test message that seems to behave as expected:\r
80 \r
81   Content-Type: image/jpeg\r
82   Content-Disposition: inline; filename=monkey.jpg\r
83   Content-Transfer-Encoding: base64\r
84   Content-Description: monkey!\r
85 \r
86   [ monkey.jpg: image/jpeg ]\r
87 \r
88 In the first case clicking on the part button has no effect.  In the\r
89 later case the image opens fine in the external viewer.\r
90 \r
91 I guess the only other difference is the rest of the MIME structure that\r
92 these parts are embedded in...\r
93 \r
94 jamie.\r
95 \r
96 --=-=-=\r
97 Content-Type: application/pgp-signature\r
98 \r
99 -----BEGIN PGP SIGNATURE-----\r
100 Version: GnuPG v1.4.14 (GNU/Linux)\r
101 \r
102 iQIcBAEBCAAGBQJSFPg1AAoJEO00zqvie6q8hzoQAI5kCuwjD23luwVFTiW3NIwY\r
103 tQFR/s4xhQ0ZKEOG9OsYN6tHEobH/h0AIdm0+c5CDxWJU9jURnfzIVtGDWf5qJJ0\r
104 Xu+GGtE+MusjNAa1ItPOKosSv2VIbwk3QQeiY/6X2++MJ+/dAbfxTu28kAzKfyay\r
105 pbPjEmLMbwdFZsBbvq/mU1TPTyexTg8QRhDg8mAEkoA73W3nVRA41NCUCGnIx/hA\r
106 YPg3YF6SbzlmehpKknGdhfa3deUb/Gm1bOXfNPL+GazQI383Len/cZZKc1s4TJSU\r
107 KzmJKHy8t2RiB5g1DoKGW7Sd13soEUhBmowNS/C9Jdk+nkzOVnUtC5NO+pAZdTY5\r
108 nR5FzvYxqzTwHOABtt/EIiwTKVHqxzAvsrAzHxVH5YZVCFprcDe/SYwnEg+4qSTU\r
109 Qdk8sC3XKQBKhPFgDArHQtWb6wWsl2IIgy9UTmYdFJ9D0lvOTw8eo++mirIjNNTZ\r
110 rwJX9jij4scu0/AaRNs7kSp/30zuuXwrKNTZIcjbO8+i8+c3xdicXPfTvxcx9S1P\r
111 YA0oTmCtLbhNTl01TXaUFmebyE8VoCFXqGhepdtSYVdrcS60p3yII7X0tb+gQ3Ry\r
112 AxTrEBu5GKM8Mruvq8ipJY9ePCmIOmn9GjXZwIEgIzfxsrbOIsJR4uUghut3/jJN\r
113 9x/W8Y1MgrWRGYA2Pjmg\r
114 =xwyg\r
115 -----END PGP SIGNATURE-----\r
116 --=-=-=--\r