unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Albin Stjerna <albin@eval.nu>
Cc: notmuch <notmuch@notmuchmail.org>
Subject: Re: Hiding HTML mime-parts and/or scrubbing (gmail's) HTML-based citation
Date: Tue, 22 Feb 2011 13:33:56 -0500	[thread overview]
Message-ID: <4D640194.2040104@fifthhorseman.net> (raw)
In-Reply-To: <878vx8c4on.fsf@hecate.student.uu.se>

[-- Attachment #1: Type: text/plain, Size: 967 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 1030 bytes --]

  reply	other threads:[~2011-02-22 18:34 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 [this message]
2011-02-22 19:42   ` Albin Stjerna
2011-02-22 19:59     ` Daniel Kahn Gillmor
2011-02-23  1:13       ` Rob Browning
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=4D640194.2040104@fifthhorseman.net \
    --to=dkg@fifthhorseman.net \
    --cc=albin@eval.nu \
    --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).