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 B1053431FB6 for ; Tue, 22 Feb 2011 17:13:29 -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 ickbDy7Hjahu for ; Tue, 22 Feb 2011 17:13:29 -0800 (PST) Received: from defaultvalue.org (defaultvalue.org [70.85.129.156]) by olra.theworths.org (Postfix) with ESMTP id 2296B431FB5 for ; Tue, 22 Feb 2011 17:13:29 -0800 (PST) Received: from omen.defaultvalue.org (localhost [127.0.0.1]) by defaultvalue.org (Postfix) with ESMTP id 08C0190D35; Tue, 22 Feb 2011 19:13:48 -0600 (CST) Received: from raven.defaultvalue.org (raven.defaultvalue.org [192.168.1.7]) by omen.defaultvalue.org (Postfix) with ESMTP id 157EC56601A; Tue, 22 Feb 2011 19:13:27 -0600 (CST) Received: by raven.defaultvalue.org (Postfix, from userid 1000) id 03BCA7BA339; Tue, 22 Feb 2011 19:13:26 -0600 (CST) From: Rob Browning To: notmuch Subject: Re: Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation References: <878vx8c4on.fsf@hecate.student.uu.se> <4D640194.2040104@fifthhorseman.net> <8762sbdfer.fsf@hecate.student.uu.se> <4D641587.9050701@fifthhorseman.net> Date: Tue, 22 Feb 2011 19:13:26 -0600 In-Reply-To: <4D641587.9050701@fifthhorseman.net> (Daniel Kahn Gillmor's message of "Tue, 22 Feb 2011 14:59:03 -0500") Message-ID: <87vd0bft8p.fsf@raven.defaultvalue.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Wed, 23 Feb 2011 01:13:29 -0000 Daniel Kahn Gillmor writes: > On 02/22/2011 02:42 PM, Albin Stjerna wrote: >> On Tue, 22 Feb 2011 13:33:56 -0500, Daniel Kahn Gillmor wrote: >>> 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. >>=20 >> Thanks for pointing that out =E2=80=94 I see my poor knowledge of MIME i= s showing. >>=20 >> Of course, that sounds like the correct thing to do. However, I'm >> looking for a (reasonably) quick fix, and what you're suggesting sounds >> like a re-design of at least a part of the MUA. Isn't there an easier wa= y? > > this is how i like it, though it appears i'm only able to save the > text/html part to a file, rather than force it through whatever html > renderer notmuch would otherwise use (even with M-x > notmuch-show-view-all-mime-parts, which surprises me a bit). The "Display Customization" section in the emacs/mime info pages might also be interesting. i.e. at the moment I use mm-discouraged-alternatives like this (via Gnus): (setq mm-discouraged-alternatives '("text/html" "text/richtext") mm-automatic-display (remove "text/html" mm-automatic-display)) Though it's been so long since I set that up, I can't describe exactly what it does off the top of my head, but I originally set it up to help quash the display of html alternatives. --=20 Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4