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 EF6C4431FB6 for ; Tue, 22 Feb 2011 10:34:06 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 jtvIxo0iNscI for ; Tue, 22 Feb 2011 10:34:06 -0800 (PST) Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108]) by olra.theworths.org (Postfix) with ESMTP id 8BB87431FB5 for ; Tue, 22 Feb 2011 10:34:06 -0800 (PST) Received: from [192.168.13.75] (lair.fifthhorseman.net [216.254.116.241]) by che.mayfirst.org (Postfix) with ESMTPSA id 83702F973; Tue, 22 Feb 2011 13:34:01 -0500 (EST) Message-ID: <4D640194.2040104@fifthhorseman.net> Date: Tue, 22 Feb 2011 13:33:56 -0500 From: Daniel Kahn Gillmor User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101213 Icedove/3.1.7 MIME-Version: 1.0 To: Albin Stjerna Subject: Re: Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation References: <878vx8c4on.fsf@hecate.student.uu.se> In-Reply-To: <878vx8c4on.fsf@hecate.student.uu.se> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig2024C98EBCABCC44977990BC" Cc: notmuch X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: notmuch 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, 22 Feb 2011 18:34:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2024C98EBCABCC44977990BC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 02/22/2011 01:19 PM, Albin Stjerna wrote: > As far as I can tell, there's two solutions to this: > 1. not showing the html mime part if there's also a plain-text part or > 2. teaching notmuch's citation-scrubbing feature (hook?) to recognize > citations in html as well, most urgently gmail's. i think the correct solution would have nothing to do with text/html vs text/plain, but would have to do with whether the message is multipart/mixed or multipart/alternative. for multipart/alternative messages, a reasonable MUA will select exactly one of the alternatives for presentation (possibly allowing the user to switch to other variants). for multipart/mixed messages, a reasonable MUA should attempt to render all parts of the message (though it may choose to avoid rendering parts marked with Content-Disposition: attachment, making these parts available to the user for saving locally or rendering, at the user's option). --dkg --------------enig2024C98EBCABCC44977990BC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQJ8BAEBCgBmBQJNZAGUXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwRUU1QkU5NzkyODJEODBCOUY3NTQwRjFD Q0QyRUQ5NEQyMTczOUU5AAoJEMzS7ZTSFznpw+wP/i4E4QOGQdtv59B25BWY8fWM yySing+xHR4YMWda/Hzs1rBXHjx86evT4J+e/Ii7DPdlUIOSSJ3F8D2AWqxkqxCo sMPto4bijcQKLK62zmEk7w9PJhZocRLy8Pl0jkstLtAyB6110pETgaTa9wj3V3nR V4lwD2B7HW5JOg8kcHRf0kqOPdYFPq7sLCQ/FHSZThH1Rkwuw6WJ5zPQqVV25TOc 2j+w7Z03n35A7ijEaAIiGkY6ZwgD+IwHrMuqBh/UDGAfV/YFNrxvsxC/3TtxepM1 qvesXD+QP5aHAaAgtvePxP4Gr3LWphnwz6mYbo5wn4iB64C0/F0sWzFT8uLgmsSr pNMaJ1CV7wbu72Z58px7SJozvU7DTwywUU2C6dlwc5Si5SI3xPIZweGd4r/gvw2Q J+/tIgkeiY2bFroCXdNgCpIoqu5xSNePXXFgneo9UbYwkvrJ8mcRwAUVRIwbSWLJ U7DogwpZdgwkrwQnXiwEXjQzdjnQKYXrnu34Cf8nzwPtl1edoMlRL5DrQRP62W86 YBMyafLNODpmncoHcIebvg8G4oggkcIxo6xEj/HBz8pQMGVBPjq2iVVxglWfcegI HCKtFpQk19+4Gjg4P9O1yZ4p8DzPBBMAuX/Zr2tyarqKJIaSgTVwstAlhWeplBK3 u59lq5JatEWb/5UB0+P4 =XSQO -----END PGP SIGNATURE----- --------------enig2024C98EBCABCC44977990BC--