On Tue, Mar 21, 2006 at 04:05:11AM +0300, Sergei Shtylylov wrote:
> >... and please post your patches inline rather than as MIME
> >attachments. :)
> My mailer will stuff tabs with spaces then, and I know text/plain
> attachments are considered OK.
Well, the topic isn't new but here is some wisdom from others on how to
post patches with the various wannabe mail clients like Mozilla.
Quoting from Alan Cox:
> For Evolution
> Set the formatting to "Preformat"
> Hit Insert/Text File (Alt-I X)
> Then at the ghastly gnome dialog hit ^L (secret handshake for the
> 'developers cant stand it either' shortcut box) and type in the file
And here some wisedom from Randy Dunlap on Thunderbird:
>> Randy D. eventually agreed that there was a way, IIRC:
>> Probably can work your way through the thread to figure out how (I use mutt
> Yep, the odd part is not to disable html email.
> Then when composing a message, there is a drop-down box for a format
> selection. While the cursor is in the body area, change the format
> from default "Body text" to Preformat, and then copy-n-paste the patch.
> At least that's what worked for me.
And Frank Sorenson:
> Here is one method for posting patches in Thunderbird:
> Before starting to write the email, do Edit->Preferences, Composition
> tab, change "Wrap plain text messages at __ characters" to 0
> Begin writing your email
> Start up an editor in which you can select the text, for example:
> # gvim patch.diff
> Edit->Select All
> Switch back to the open Compose window, then Edit->Paste
> If you have Enigmail configured, when sending the email, you might get a
> box asking if you want to change the line wrapping to 68 characters, so
> just say No if that happens.
Others have suggested using an external editor which will show up in the
compose editor and allow to include the patch file inline.
Here's Martin Bligh's page on the topic:
Credits for anybody would writes some useful docs for the linux-mips wiki
on this topic - unfortunately it's really high in demand. I'd do it
myself - but I am a mutt + vi user :-)