git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Brandon Casey <casey@nrlssc.navy.mil>
Date
Feb 9, 2009, 18:54 UTC
Message-ID
<qXxPO6LuQr7-9QoWMdojOMbuADIJ55oaOVr5t_8eLGR9vvNpW72wyA@cipher.nrlssc.navy.mil>
In-Reply-To
<499058B4.4070009@beonex.com>

I have an issue with Thunderbird that I'd like to describe while we have the developers ear.

I was sent a patch which had a sequence of control characters in it.

To save an emailed patch, I normally write click in the message body and choose 'Save As...'. Thunderbird populates the 'Name:' field for the name of the saved file with a name based on the subject, which I like.

But, in this case, Thunderbird corrupted the original message and saved something that was not equivalent to what was sent. Naturally, the patch could not be applied, and after investigating, it was determined that Thunderbird was responsible. If I instead choose View -> 'Message Source' and then in the window that pops up choose File -> 'Save Page As', and then give it a name, I do indeed get the original uncorrupted message, but it is _not_ convenient.

This is Thunderbird v2.0.0.19. Is this a bug? Or is there something I can set or disable so that Thunderbird saves the original contents when right clicking in the message body and selecting 'Save As...'?

I will follow up with an example patch which has the control characters in it.

-brandon
Previous: Jeremy WhiteNext: Ben Bucksch
Message 18 of 44 in “Enable setting attach as the default in .gitconfig for git-format-patch.”
  1. Enable setting attach as the default in .gitconfig for git-format-patch.Jeremy White, Feb 8, 2009
  2. Boyd Stephen Smith Jr.Feb 8, 2009
  3. Jeremy WhiteFeb 8, 2009
  4. Johannes SchindelinFeb 8, 2009
  5. Michael J GruberFeb 9, 2009
  6. Ben BuckschFeb 9, 2009
  7. Johannes SchindelinFeb 9, 2009
  8. Michael J GruberFeb 9, 2009
  9. Boyd Stephen Smith Jr.Feb 9, 2009
  10. Ben BuckschFeb 9, 2009
  11. Johannes SchindelinFeb 9, 2009
  12. Thunderbird and patches (was Re: [PATCH v2] Enable setting attach as the default in .gitconfig for git-format-patch.)Jeremy White, Feb 9, 2009
  13. Ben BuckschFeb 9, 2009
  14. Jeremy WhiteFeb 9, 2009
  15. Michael J GruberFeb 9, 2009
  16. Ben BuckschFeb 9, 2009
  17. Jeremy WhiteFeb 9, 2009
  18. Brandon CaseyFeb 9, 2009
  19. Ben BuckschFeb 9, 2009
  20. Johannes SchindelinFeb 9, 2009
  21. Ben BuckschFeb 9, 2009
  22. Brandon CaseyFeb 9, 2009
  23. Ben BuckschFeb 9, 2009
  24. Ben BuckschFeb 9, 2009
  25. Brandon CaseyFeb 9, 2009
  26. Brandon CaseyFeb 9, 2009
  27. Ben BuckschFeb 9, 2009
  28. Brandon CaseyFeb 9, 2009
  29. Ben BuckschFeb 9, 2009
  30. Brandon CaseyFeb 9, 2009
  31. Ben BuckschFeb 9, 2009
  32. Brandon CaseyFeb 10, 2009
  33. Brandon CaseyFeb 9, 2009
  34. Johannes SchindelinFeb 9, 2009
  35. Michael J GruberFeb 10, 2009
  36. Miles BaderFeb 12, 2009
  37. Michael J GruberFeb 12, 2009
  38. Brandon CaseyFeb 9, 2009
  39. example patch corrupted by thunderbirdBrandon Casey, Feb 9, 2009
  40. Michael J GruberFeb 9, 2009
  41. Ben BuckschFeb 9, 2009
  42. Jeremy WhiteFeb 9, 2009
  43. Ben BuckschFeb 9, 2009
  44. Junio C HamanoFeb 10, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.