Re: [PATCH] Add part filename in notmuch show output if available.
authorJameson Graef Rollins <jrollins@finestructure.net>
Sun, 8 May 2011 23:21:54 +0000 (16:21 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:38:11 +0000 (09:38 -0800)
b6/f3697b4d484692df2df09bc954a7fabac1dd1c [new file with mode: 0644]

diff --git a/b6/f3697b4d484692df2df09bc954a7fabac1dd1c b/b6/f3697b4d484692df2df09bc954a7fabac1dd1c
new file mode 100644 (file)
index 0000000..fe9babe
--- /dev/null
@@ -0,0 +1,97 @@
+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 BE74D429E20\r
+       for <notmuch@notmuchmail.org>; Sun,  8 May 2011 16:22:01 -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 RJhTLfFv7WHk for <notmuch@notmuchmail.org>;\r
+       Sun,  8 May 2011 16:22:01 -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 65026431FB5\r
+       for <notmuch@notmuchmail.org>; Sun,  8 May 2011 16:22:01 -0700 (PDT)\r
+Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by fire-doxen-postvirus (Postfix) with ESMTP id 2A42F328258;\r
+       Sun,  8 May 2011 16:17:00 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
+Received: from servo.finestructure.net (cpe-98-149-172-122.socal.res.rr.com\r
+       [98.149.172.122]) (Authenticated sender: jrollins)\r
+       by fire-doxen-submit (Postfix) with ESMTP id 56D3F328160;\r
+       Sun,  8 May 2011 16:16:57 -0700 (PDT)\r
+Received: by servo.finestructure.net (Postfix, from userid 1000)\r
+       id 69CBE303; Sun,  8 May 2011 16:21:57 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>,\r
+       Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: Re: [PATCH] Add part filename in notmuch show output if available.\r
+In-Reply-To: <1304809237-10583-1-git-send-email-dmitry.kurochkin@gmail.com>\r
+References: <1304809237-10583-1-git-send-email-dmitry.kurochkin@gmail.com>\r
+User-Agent: Notmuch/0.6 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sun, 08 May 2011 16:21:54 -0700\r
+Message-ID: <87vcxkg4ml.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
+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: Sun, 08 May 2011 23:22:01 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Sun,  8 May 2011 03:00:37 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmai=\r
+l.com> wrote:\r
+> Before the change, notmuch show output had filename only for\r
+> parts with "Content-Disposition: attachment".  But parts with\r
+> inline disposition may have filename as well.\r
+>=20\r
+> The patch makes notmuch show always output filename if available,\r
+> independent of Content-Disposition.  Both JSON and text output\r
+> formats are changed.\r
+\r
+Hey, Dimitry.  I think this is a nice idea, and a clean patch.\r
+\r
+It's now applied to the release-candidate/0.6 branch.\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
+iQIcBAEBCAAGBQJNxyWSAAoJEO00zqvie6q8v8gP/R/dzD8MqW5rOffe+FuOx9lB\r
+osMumajhUQOQ3i7OrIKfPGafo5s7S+dIYqhmdX+EugQTuASWG9QgA9v0jmWUi9Xu\r
+vVpq8LHbMg7ZHS9/hUOwD7fb0x1akLC90OEcffLfdN0w5LRNTIR+k3jCYQPVME41\r
+l3+qmj32+BnZ3QGJS1y7j5p1Ryfz5pns+qtY6F0RPnyi9ZvA6iU9m18f/y72asl5\r
+EQ3kixqbTp83Rr1XUxj9cek4/xglN6VEgxReXhrKF8afGOH129ksLLNYL2qDN9Qm\r
+tyxXNJnafXkL7SVTCKPZz4Qh0RKDee32iEw52ey60S+BD4C606a5/JacIYeMhyTV\r
+T+BiQtGmDE0WoD17VCiE5VSAvRtY/o8XR1zffm0eH/MfvujeqfbXT/P1G3gid9wd\r
+tmtB58oCYtPuWoRch01z7yrEPX91JkAYzLoWLGUVr5tmy36z8oyX0dzbGrqROpmh\r
+t8g6GGZnsbTN5wrxusCKin8nE3yYDAX4Ve1yAsMv6kjNE4xBK1rLZVxjjeyTTft8\r
+hKggdPyOoKIruyNTgpJYwRLinLQD+pObIgalSBIAX13bS5Uob4EMm3iCzLbqUNC0\r
+ZTTAk8yk8VOCgR01ptLiV6tLIPR3QelkQpWUihTR5CjYmLD+ZuN+23xCnAGQBz39\r
+EA08lZJaeryArNJtfyEu\r
+=DRKF\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r