From: Ben Bucksch <ben.bucksch.news@beonex.com>
To: Jeremy White <jwhite@codeweavers.com>
Cc: Michael J Gruber <git@drmicha.warpmail.net>,
Junio C Hamano <gitster@pobox.com>,
git@vger.kernel.org
Subject: Re: [Virtual PATCH] Add an option to wrap a patch in <pre> in git-imap-send which ironically results in a cleaner patch from Thunderbird.
Date: Fri, 13 Feb 2009 15:47:12 +0100 [thread overview]
Message-ID: <499587F0.1010102@beonex.com> (raw)
In-Reply-To: <49957AAE.7070505@codeweavers.com>
>
> I do not think of a reason, why any sane user would
> want to send a patch as HTML.
The patch is not sent as HTML. It is merely passed to the mailer as HTML.
The "reason" is that HTML allows more information: It allows to separate
human language text from preformatted text / source code.
Human language text follows other rules in some (I'll call them "more
capable", to be just as advocating) mailers than others: text flow /
wrapping, link and quote recognition etc.pp. all make sense for human
language text / normal emails, but not for source code. Plain text is
inherently limited in which information it can convey (no links, no
quotes, no flow etc.pp.).
For more information, see the long email thread that preceeded. I don't
feel like repeating it.
> This configuration variable sounds more
> like "imap.forceThunderbirdToSendNonFlowedTextByExploitingItsBug" than
> "imap.html", in other words.
I agree that "html" is not a good wording, given the immediate disgust
that it invokes with many people in the community. (Which is partially
warranted, and partially irrational.)
I'd propose a less inflammatory wording (and posts):
imap.preformatted
imap.thunderbird
(The first is better, because other mailers might have the same problem,
now or in the future, and might benefit from the same workaround).
> What worries me the most is if there is any guarantee that this bug you
> are exploiting
FWIW, it's not a bug that he's exploiting.
mailto:foo@example.com?subject=""&html-body="" is a feature (not sure if
documented).
> _will not be fixed_ in future versions of Thunderbird.
What you see is not a bug in Thunderbird.
> I see your patch deals only with ampersand, less-than, greater-than and
> dquot. Do you know if this is enough
Yes, this is enough to escape literals in HTML code.
> or would letters outside US-ASCII
> need to be expressed in ampersand-hash "character reference" notation?
If so, this this was a bug before and after the patch. What matters for
non-ascii is the charset, and that's the same problem for plaintext and
HTML. You'll just have to set the right charset header, and I think he
does that.
next prev parent reply other threads:[~2009-02-13 14:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-12 15:57 [Virtual PATCH] Add an option to wrap a patch in <pre> in git-imap-send which ironically results in a cleaner patch from Thunderbird Jeremy White
2009-02-13 4:19 ` Junio C Hamano
2009-02-13 11:24 ` Michael J Gruber
2009-02-13 13:50 ` Jeremy White
2009-02-13 14:47 ` Ben Bucksch [this message]
2009-02-13 17:49 ` Junio C Hamano
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=499587F0.1010102@beonex.com \
--to=ben.bucksch.news@beonex.com \
--cc=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=jwhite@codeweavers.com \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.