Re: [PATCH] Do not attept to output part raw if part is not GMimePart.
authorJameson Graef Rollins <jrollins@finestructure.net>
Mon, 27 Jun 2011 21:44:25 +0000 (14:44 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:38:44 +0000 (09:38 -0800)
42/cfd3cdb823ffd18ad1aa1fcd6cea4a0ea951cd [new file with mode: 0644]

diff --git a/42/cfd3cdb823ffd18ad1aa1fcd6cea4a0ea951cd b/42/cfd3cdb823ffd18ad1aa1fcd6cea4a0ea951cd
new file mode 100644 (file)
index 0000000..dd95c72
--- /dev/null
@@ -0,0 +1,103 @@
+Return-Path: <jrollins@finestructure.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id CEC05429E25\r
+       for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 14:44:32 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.29\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id KbPlmjbR5FWZ for <notmuch@notmuchmail.org>;\r
+       Mon, 27 Jun 2011 14:44:32 -0700 (PDT)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id 5AC83431FD0\r
+       for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 14:44:32 -0700 (PDT)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id 990DE66E01A3;\r
+       Mon, 27 Jun 2011 14:44:30 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from servo.finestructure.net (gwave-169.ligo.caltech.edu\r
+       [131.215.114.169]) (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id A3D4966E0130;\r
+       Mon, 27 Jun 2011 14:44:26 -0700 (PDT)\r
+Received: by servo.finestructure.net (Postfix, from userid 1000)\r
+       id E077DB8; Mon, 27 Jun 2011 14:44:27 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Austin Clements <amdragon@mit.edu>\r
+Subject: Re: [PATCH] Do not attept to output part raw if part is not\r
+ GMimePart.\r
+In-Reply-To: <BANLkTik8v7uZDcO4wV1Ve1Lymd03Z-WWdw@mail.gmail.com>\r
+References: <1307032735-27427-1-git-send-email-jrollins@finestructure.net>\r
+       <1307120466-4980-1-git-send-email-jrollins@finestructure.net>\r
+       <87wrgccedd.fsf@yoom.home.cworth.org>\r
+       <87mxh319un.fsf@servo.factory.finestructure.net>\r
+       <BANLkTik8v7uZDcO4wV1Ve1Lymd03Z-WWdw@mail.gmail.com>\r
+User-Agent: Notmuch/0.5-292-gaa2fa19 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Mon, 27 Jun 2011 14:44:25 -0700\r
+Message-ID: <878vsn0x1i.fsf@servo.factory.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\r
+Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 27 Jun 2011 21:44:33 -0000\r
+\r
+--=-=-=\r
+\r
+On Mon, 27 Jun 2011 16:43:36 -0400, Austin Clements <amdragon@mit.edu> wrote:\r
+> Just to clarify my understanding, --format=raw is only intended to\r
+> work on either the whole message (special-cased in do_show_single) or\r
+> a leaf MIME part, and in any other case, it will output nothing?  The\r
+> raw output test cases seem pretty thin.\r
+\r
+Hey, Austin.  The raw part output works for *any* part, be it leaf part,\r
+multipart, message/rfc822, etc.  I added a bunch of tests for raw part\r
+output that should cover all of this, although I don't think they've\r
+been pulled into master yet.\r
+\r
+I think there are a lot of open questions about what should be output\r
+for multipart raw.  We should output _something_, though.  I think we\r
+can fix all of this up for 0.7, based on the work you've already done,\r
+after 0.6 is released.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJOCPm5AAoJEO00zqvie6q8Mo8QAKUMpBtue4zLuFEbKvLjbZsO\r
+FbjK9upScbs4yau/cI5NjvWDOcZ93VtKmbfS72FTCebaFefb1u1xEbf0RjBrg4wP\r
+nqTlaTIDJ24Xq1tnSVRY0gdY5512bK/tVFSZiS/RRLJCN7GxRAqat8ASqpFrMUPv\r
+hPGWUg9JvifAelLV9ADcXDDvZ/PMw7zVnED0dPUqweci8Ek2yZDptnRAyOSut4MO\r
+E+Mzr12DjWWDQD6ZcYvCXur9ho+BmO55G3nxaZAZ/E5rf/RDDVQrKpKMS5IoKn6D\r
+baJjfIezBfsT9xciL/riyfhuSOBIr8HkvsshvyNbRpYhs4HMTXqlzRVQwqBzTMK0\r
+ql5EYL5gPVfWAE+Z9aJj1j6AtyqmMFGXYWSCy8Nuvmw/E3XdrSmoblThwGdlyKkc\r
+ca5qcfHABvHlf//RW5+ElpmuXaW3vCGBpCDd0lsF4a2lpn94//6c94t/Y9NGUhmq\r
+zRvmkyJ+mw0FN9iYEAs4Rc8W6uaA2gYeb+RmEiPYfV7ovegkdm092elYTRT4BrBz\r
+ZHDYPjHiaze7XJnjkvz/ENasazi9vMLoYfuxqzjBr6PM1+UnTXMO6Pl8C5IE+423\r
+rGonHJ50fnOjvnpmuRz2psHfbLKUxr92JrpmDMabaDxV0oi4O41O+itRbuRLOWWb\r
+figKUQH/9Gh4blxY3Lxh\r
+=WoK+\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r