Re: [PATCH 2/2] emacs: Prefer Content-Description over filename for part buttons
authorW. Trevor King <wking@tremily.us>
Tue, 4 Feb 2014 01:32:46 +0000 (17:32 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:59:42 +0000 (09:59 -0800)
57/e1c49eda77930e5a27beca096fa8f135a048f3 [new file with mode: 0644]

diff --git a/57/e1c49eda77930e5a27beca096fa8f135a048f3 b/57/e1c49eda77930e5a27beca096fa8f135a048f3
new file mode 100644 (file)
index 0000000..0a69761
--- /dev/null
@@ -0,0 +1,130 @@
+Return-Path: <wking@tremily.us>\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 507D7431FBC\r
+       for <notmuch@notmuchmail.org>; Mon,  3 Feb 2014 17:32:56 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.1\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       RCVD_IN_DNSWL_NONE=-0.0001] 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 ghqxrBecT++i for <notmuch@notmuchmail.org>;\r
+       Mon,  3 Feb 2014 17:32:50 -0800 (PST)\r
+Received: from QMTA11.westchester.pa.mail.comcast.net\r
+       (qmta11.westchester.pa.mail.comcast.net [76.96.59.211])\r
+       by olra.theworths.org (Postfix) with ESMTP id A5A48431FAF\r
+       for <notmuch@notmuchmail.org>; Mon,  3 Feb 2014 17:32:50 -0800 (PST)\r
+Received: from omta18.westchester.pa.mail.comcast.net ([76.96.62.90])\r
+       by QMTA11.westchester.pa.mail.comcast.net with comcast\r
+       id N0TE1n0031wpRvQ5B1YqNP; Tue, 04 Feb 2014 01:32:50 +0000\r
+Received: from odin.tremily.us ([24.18.63.50])\r
+       by omta18.westchester.pa.mail.comcast.net with comcast\r
+       id N1Yn1n00d152l3L3e1YoUV; Tue, 04 Feb 2014 01:32:49 +0000\r
+Received: by odin.tremily.us (Postfix, from userid 1000)\r
+       id 954F3FC9E3B; Mon,  3 Feb 2014 17:32:46 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
+       t=1391477566; bh=WeLlxAVN93p+iapUMyRiysqEv7M+ZE0B7f3vLuiW9RU=;\r
+       h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
+       b=jTvFYfGWI9vUf8qyvc4DRytG0vQ9Mdjsrx85yWxE2q5HrjTI4CfGKfyUdV3cBYAwx\r
+       THxrXzcOlnOikjLA2SYPKcp7669YbOkfEU3TUKOrucWI4AKyBMo6VYZFkTwzXYTiDy\r
+       uYOaf9dD2Wc3CK/ehVCGbDFNNMCG7BY2gxBf7k8o=\r
+Date: Mon, 3 Feb 2014 17:32:46 -0800\r
+From: "W. Trevor King" <wking@tremily.us>\r
+To: Mark Walters <markwalters1009@gmail.com>\r
+Subject: Re: [PATCH 2/2] emacs: Prefer Content-Description over filename for\r
+       part buttons\r
+Message-ID: <20140204013246.GQ19935@odin.tremily.us>\r
+References: <877g9chbay.fsf@qmul.ac.uk>\r
+ <cover.1391423201.git.wking@tremily.us>\r
+       <27be295875a7df782a83c9a2c09d06f9d321fe9e.1391423201.git.wking@tremily.us>\r
+       <87vbwwosuw.fsf@qmul.ac.uk>     <20140203203418.GO14197@odin.tremily.us>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; micalg=pgp-sha1;\r
+       protocol="application/pgp-signature"; boundary="K5roPakIqCb4O6y8"\r
+Content-Disposition: inline\r
+In-Reply-To: <20140203203418.GO14197@odin.tremily.us>\r
+OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
+       url=http://tremily.us/pubkey.txt\r
+User-Agent: Mutt/1.5.22 (2013-10-16)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
+       s=q20121106; t=1391477570;\r
+       bh=apngPsN+8cqGL4B+Qfw3yj25+g5sj2NyKavH/aNQoNg=;\r
+       h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
+       MIME-Version:Content-Type;\r
+       b=nro6eT4ljU7S2yA8lLgtGOGno6hFDKwc8IrJf3fN2FhkBfRsDYzu+LjMXrpzvTo/W\r
+       EwN4fvc37LLp+cjIYdWYc+G8mKtPJZrNUau0am51FlkBdza2P3Hn7EE7t2GIoK20yt\r
+       Hkcap/oUsKT8IaQLCSSq+h7ScdlA1mojn7iPlqiY6TzGYxPK8Zhcvh1n9IQv9P/uSx\r
+       AV3hq0/Ess9fbzAsBUUlWEDgqwd0Pkx6w8yhG+T5OdjhUpUv3DYF7DqHjBiRmU/6Uz\r
+       nxgzjZcXwiNQnOptI0nP7Ta5KQp+sN4P2qqnOog8SVi5lW30Vq+id5xfnWjc+b5B5S\r
+       O8Eps2og6dsYA==\r
+Cc: 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: Tue, 04 Feb 2014 01:32:56 -0000\r
+\r
+\r
+--K5roPakIqCb4O6y8\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Mon, Feb 03, 2014 at 12:34:18PM -0800, W. Trevor King wrote:\r
+> On Mon, Feb 03, 2014 at 08:15:35PM +0000, Mark Walters wrote:\r
+> > I think we should only display/use the content-description if it\r
+> > exists and is non-empty.\r
+>=20\r
+> Sounds good to me.  I'll queue this and a test for v2.\r
+\r
+Rather than patching this in Emacs, maybe we should collapse the =E2=80=9Cn=\r
+ot\r
+set=E2=80=9D and =E2=80=9Cset to empty string=E2=80=9D cases in notmuch-sho=\r
+w.c?  I can't think\r
+of any reasons why someone would want to distinguish those two cases,\r
+and it's easier all around if we standardize the representation as far\r
+upstream as possible.\r
+\r
+Thoughts?\r
+Trevor\r
+\r
+--=20\r
+This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
+For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
+\r
+--K5roPakIqCb4O6y8\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: OpenPGP digital signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2.0.22 (GNU/Linux)\r
+\r
+iQIcBAEBAgAGBQJS8EM7AAoJEKKfehoaNkbtew0P/juotuhPEbeWiWFDEsFBEOYW\r
+JthvNYOrys7f4+3NVTBBAj5y442O0NX+WLU7cfiXV2Oe6+hNBrxDYew8ujURGWbe\r
+2kxImvenH80N7ozfg3UZzSNDnURayl4EVUvSjFVFuJod3dNq98CaZZd4HmFn/U+3\r
+mUPUAkTIUt/XqOZgsOIZaWOA6GzYPBLr0W+Pkg/tcdv8eJyGTEPABNK4rY4klNMn\r
+sm8Bqk2V2lIaUO5jSJc/H46dx89H3S5BG61/S5uu2F6h7M0wScqv0kAzE2BG6tNc\r
+PpWcvcI4rOKvnor/T/HlwH9iCG1Xi0+FpdfTgSbkKTZUclAbqjouuKk6PAHwMqsj\r
+4pbfRWq6YdLGWyby2F+vbdb4j24jmPbDPTUPGb3F9Z6uhTCFoFoAxNIwJxrJ97qX\r
+oLmHx9iQMH1g+2i2ESMD8/503Pp7i8c2MaYkdyI4kQH/7Tdul/KVS8Sf2Wuk7806\r
+0FLeOdAmu/g9pKoi+WZ+jQZTj5rK04d9vcVAgtVkIw/DPyiO2mp/iWG0+MbvV1pm\r
+8ZXT0E2bBrDdwMC5j1HMNWCgHMneeToQ/HjzN2IYOyeTQNIvf9wpHS9HZXNKjHzc\r
+JCJdvBgDQlO6uw60DBLfSp7lZAvfwPnm8b4ZbxGYfLfLcipeRXpGgECiUU0r4ya7\r
+l+MiTH66eCrkBFFnOD+c\r
+=cqTU\r
+-----END PGP SIGNATURE-----\r
+\r
+--K5roPakIqCb4O6y8--\r