unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Rob Browning <rlb@defaultvalue.org>
To: notmuch <notmuch@notmuchmail.org>
Subject: Re: Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation
Date: Tue, 22 Feb 2011 19:13:26 -0600	[thread overview]
Message-ID: <87vd0bft8p.fsf@raven.defaultvalue.org> (raw)
In-Reply-To: <4D641587.9050701@fifthhorseman.net> (Daniel Kahn Gillmor's message of "Tue, 22 Feb 2011 14:59:03 -0500")

Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:

> On 02/22/2011 02:42 PM, Albin Stjerna wrote:
>> On Tue, 22 Feb 2011 13:33:56 -0500, Daniel Kahn Gillmor <dkg@fifthhorseman.net> 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.
>> 
>> Thanks for pointing that out — I see my poor knowledge of MIME is showing.
>> 
>> 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 way?
>

> 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.

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4

  reply	other threads:[~2011-02-23  1:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-22 18:19 Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation Albin Stjerna
2011-02-22 18:33 ` Daniel Kahn Gillmor
2011-02-22 19:42   ` Albin Stjerna
2011-02-22 19:59     ` Daniel Kahn Gillmor
2011-02-23  1:13       ` Rob Browning [this message]
2011-02-26 23:57         ` Xavier Maillard
2011-02-23 14:10       ` Albin Stjerna
2011-02-23 19:01         ` Jameson Rollins
2011-02-27  0:00           ` Xavier Maillard
2011-02-27  0:27             ` running the crypto branch [was: Re: Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation] Jameson Rollins
2011-02-28 13:32               ` Xavier Maillard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vd0bft8p.fsf@raven.defaultvalue.org \
    --to=rlb@defaultvalue.org \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).