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