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

Re: [PATCH] Allow hand-editing of patches before sending

From
CMCatalin Marinas <catalin.marinas@gmail.com>
Date
Nov 3, 2006, 12:44 UTC
Message-ID
<b0943d9e0611030444w13e04586u185413c2562d45bc@mail.gmail.com>
In-Reply-To
<20061103095859.GC16721@diana.vm.bytemark.co.uk>
On 03/11/06, Karl Hasselström <kha@treskal.com> wrote:
> I believe all the mails I send with mutt are QP-encoded, and they
> don't look funny, do they? (You'd see the separator just above my
> signature as "--=20" if that was the case; it has a trailing
> whitespace.)
This e-mail, in gmail:
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

In Gnus (via gmane, no "=20" displayed though Gnus can handle this encoding correctly):

Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE
It looks like the mail server re-encodes the message.
Show 7 quoted lines
> > However, I'd like the message body to still be 8bit and the QP
> > encoding optional (either command line option or [stgit] config
> > variable).
>
> Are you sure? Wouldn't it be better to teach StGIT to eat QP-encoded
> mails, and use 7bit encoding when the patch is all ascii? (And still
> have an option to force 8bit instead of QP if desired, of course.)

Well, I don't have any strong opinion here, as long as QP is more widely available. My impression with Gnus was that it cannot handle but I think there was an encoding problem.

The initial mail command implementation was inspired from sendpatchset but we should probably now use the email Python package and let it handle the encoding and decoding (for import).

Previous: Karl HasselströmNext: Karl Hasselström
Message 21 of 31 in “Allow hand-editing of patches before sending”
  1. Allow hand-editing of patches before sendingKarl Hasselström, Nov 1, 2006
  2. Catalin MarinasNov 2, 2006
  3. Karl HasselströmNov 2, 2006
  4. Catalin MarinasNov 3, 2006
  5. Karl HasselströmNov 3, 2006
  6. Karl HasselströmNov 3, 2006
  7. Petr BaudisNov 3, 2006
  8. Robin RosenbergNov 3, 2006
  9. Andreas EricssonNov 3, 2006
  10. Karl HasselströmNov 3, 2006
  11. Junio C HamanoNov 3, 2006
  12. Karl HasselströmNov 3, 2006
  13. Catalin MarinasNov 3, 2006
  14. Andy WhitcroftNov 3, 2006
  15. Karl HasselströmNov 3, 2006
  16. Andy WhitcroftNov 3, 2006
  17. Linus TorvaldsNov 3, 2006
  18. Karl HasselströmNov 5, 2006
  19. Linus TorvaldsNov 5, 2006
  20. Karl HasselströmNov 5, 2006
  21. Catalin MarinasNov 3, 2006
  22. Karl HasselströmNov 3, 2006
  23. Catalin MarinasNov 3, 2006
  24. Karl HasselströmNov 3, 2006
  25. Catalin MarinasNov 3, 2006
  26. Karl HasselströmNov 3, 2006
  27. Karl HasselströmNov 3, 2006
  28. Catalin MarinasNov 3, 2006
  29. Catalin MarinasNov 3, 2006
  30. Petr BaudisNov 3, 2006
  31. Catalin MarinasNov 3, 2006

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.