Re: Thunderbird and patches (was Re: [PATCH v2] Enable setting attach as the default in .gitconfig for git-format-patch.)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

On 09.02.2009 14:52, Jeremy White wrote:
(This was a hack, caused by the different use of spaces in Japanese / 
CJK, which means a different kind of "flow".)


I don't know how you're injecting the email to Thunderbird. mailto:?

What you propose is a header, not a body.
(I'm a bit irritated that TB would react to a charset header *in the 
body*, but maybe that's a hack specially for charsets, in some code part 
I don't know, given that they are unfortunately sometimes only marked in 
content.)

I think it would most likely work easily if you inject HTML (read before 
you scream):
mailto:fred@example.com?html-body=Here's patch revision abc from repo 
def:<p><pre>Patch: file ....<br>+++ bla<br>line 3<br></pre>
(properly escaped, of course)
It should invoke the normal rich editor, with the patch properly marked 
as preformatted. Once you send it, it would send it as plaintext, 
depending on your prefs. During the formatting, it would see the 
preformat section and should send it out with the lineendings as marked.
I haven't tried the full chain, but it's something to play with.

Ben
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v2] Enable setting attach as the default in .gi ..., Boyd Stephen Smith Jr., (Sat Feb 7, 10:10 pm)
Re: [PATCH v2] Enable setting attach as the default in .gi ..., Johannes Schindelin, (Sun Feb 8, 10:28 am)
Re: [PATCH v2] Enable setting attach as the default in .gi ..., Johannes Schindelin, (Mon Feb 9, 6:36 am)
Re: Thunderbird and patches (was Re: [PATCH v2] Enable set ..., Ben Bucksch, (Mon Feb 9, 7:18 am)
Re: [PATCH v2] Enable setting attach as the default in .gi ..., Boyd Stephen Smith Jr., (Mon Feb 9, 7:39 am)
Re: [PATCH v2] Enable setting attach as the default in .gi ..., Johannes Schindelin, (Mon Feb 9, 7:49 am)
[PATCH] example patch corrupted by thunderbird, Brandon Casey, (Mon Feb 9, 12:00 pm)
Re: Thunderbird and patches (was Re: [PATCH v2] Enable set ..., Johannes Schindelin, (Mon Feb 9, 12:14 pm)
Re: Thunderbird and patches (was Re: [PATCH v2] Enable set ..., Johannes Schindelin, (Mon Feb 9, 1:09 pm)
Re: Thunderbird and patches, Ben Bucksch, (Mon Feb 9, 3:39 pm)
Re: Thunderbird and patches, Jeremy White, (Mon Feb 9, 3:55 pm)
Re: Thunderbird and patches, Ben Bucksch, (Mon Feb 9, 4:01 pm)
Re: Thunderbird and patches, Miles Bader, (Wed Feb 11, 9:37 pm)
Re: Thunderbird and patches, Michael J Gruber, (Thu Feb 12, 3:07 am)