[PATCH 7/9] CLI: add properties to dump output
[notmuch-archives.git] / 6c / f8a6be2530d28acb1e1142df1dbe21f5e1cde2
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 17D72431FD0\r
6         for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 10:07:53 -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.29\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01]\r
13         autolearn=unavailable\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id i-9Wj99FOppa for <notmuch@notmuchmail.org>;\r
17         Mon, 27 Jun 2011 10:07:53 -0700 (PDT)\r
18 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
19         [131.215.239.19])\r
20         by olra.theworths.org (Postfix) with ESMTP id E3176431FB6\r
21         for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 10:07:52 -0700 (PDT)\r
22 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
23         by earth-doxen-postvirus (Postfix) with ESMTP id D4DBA66E013C;\r
24         Mon, 27 Jun 2011 10:07:48 -0700 (PDT)\r
25 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
26 Received: from servo.finestructure.net (cpe-98-149-172-122.socal.res.rr.com\r
27         [98.149.172.122]) (Authenticated sender: jrollins)\r
28         by earth-doxen-submit (Postfix) with ESMTP id D9D5366E00EB;\r
29         Mon, 27 Jun 2011 10:07:45 -0700 (PDT)\r
30 Received: by servo.finestructure.net (Postfix, from userid 1000)\r
31         id A8AD8178; Mon, 27 Jun 2011 10:07:46 -0700 (PDT)\r
32 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
33 To: Carl Worth <cworth@cworth.org>, Notmuch Mail <notmuch@notmuchmail.org>\r
34 Subject: Re: [PATCH] Do not attept to output part raw if part is not\r
35  GMimePart.\r
36 In-Reply-To: <87wrgccedd.fsf@yoom.home.cworth.org>\r
37 References: <1307032735-27427-1-git-send-email-jrollins@finestructure.net>\r
38         <1307120466-4980-1-git-send-email-jrollins@finestructure.net>\r
39         <87wrgccedd.fsf@yoom.home.cworth.org>\r
40 User-Agent: Notmuch/0.5-292-gaa2fa19 (http://notmuchmail.org) Emacs/23.3.1\r
41         (x86_64-pc-linux-gnu)\r
42 Date: Mon, 27 Jun 2011 10:07:44 -0700\r
43 Message-ID: <87mxh319un.fsf@servo.factory.finestructure.net>\r
44 MIME-Version: 1.0\r
45 Content-Type: multipart/signed; boundary="=-=-=";\r
46         micalg=pgp-sha256; protocol="application/pgp-signature"\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.13\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Mon, 27 Jun 2011 17:07:53 -0000\r
60 \r
61 --=-=-=\r
62 Content-Transfer-Encoding: quoted-printable\r
63 \r
64 On Thu, 23 Jun 2011 16:33:18 -0700, Carl Worth <cworth@cworth.org> wrote:\r
65 > I'd like to investigate this case a little bit to help answer the\r
66 > question of whether "notmuch should have done anything in this case".\r
67 \r
68 Hi, Carl.  You can see this error if you try to output raw a multipart/*\r
69 or message/rfc822 part, ie:\r
70 \r
71 servo:~ 0$ notmuch show --part=3D1 --format=3Draw id:"87wrgccedd.fsf@yoom.h=\r
72 ome.cworth.org" >/dev/null\r
73 \r
74 (process:29838): GLib-GObject-WARNING **: invalid cast from `GMimeMultipart=\r
75 Signed' to `GMimePart'\r
76 \r
77 (process:29838): gmime-CRITICAL **: g_mime_part_get_content_object: asserti=\r
78 on `GMIME_IS_PART (mime_part)' failed\r
79 servo:~ 0$=20\r
80 \r
81 Gmime seems to be successfully casting the part into GMimePart and then\r
82 outputting the content, but it does produce the warning on stderr.\r
83 \r
84 jamie.\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 iQIcBAEBCAAGBQJOCLjgAAoJEO00zqvie6q8kwQQALreoHwaw/25vOCFbKu/x/2j\r
93 PhtKze6U3Ks2CJ43jmpCa7aXQ2/2m5axoOPioXA7SDsUUgIm7lQ0gMNy1fa2iLKg\r
94 tjqnjpSAlbJrSY6J9b5+d3vU3QOpl42y0fLWSFijTXbKqMN/8vxmEx910fQ78b5P\r
95 f9wM9r9pR5/ocVZB7l01+c12D7uLJ+KySTbReC0zZJqBCM16Gi35SE7XAuUauTbx\r
96 Kr/y2WQdFtOTVd1j46PekFw70QOwRmvBeonxeluEbNsU9fVhtI507tItI85TSKaa\r
97 +Ym5dlAf0wqsFY8YobnQQwQdNGwh5vRm635WpUEI0rE8kSuYt2r2LhXamRksjJfx\r
98 FIo4vlc34soAACMssYlqJxnLurE1ytRObXOaTaYe+FzhQyz/hwBULMd8PsINEmJy\r
99 RICOrQ2Le/FGSqBMHMUGqWU6CcSMixc6ySm8dm1kOKwgjeLB5R5iQKxehvUpU9vW\r
100 L4Jc7dYKXskcIEJRTBqHzUBozMM7TNfUYQ4ciyVd8RtETy21b7wH7ogfTK9aU4zM\r
101 jipXtD7w1AmpzNAod/vjeESBAy14U+59wrskuJf0eyNOwNYIu7nnUqU+EnMaZMr/\r
102 W74mY99IW+8joJwUimg8kZvvl9CQCIU01dS9j1a0bTdpuKb8kcHOBKRqdIaf1wZc\r
103 4cU0mcPn62h34Kb4EhEM\r
104 =FHql\r
105 -----END PGP SIGNATURE-----\r
106 --=-=-=--\r