Re: [BUG] format-patch does not wrap From-field after author name
- From
Jeff King <peff@peff.net>
- Date
- Apr 15, 2011, 03:30 UTC
- Message-ID
- <20110415033003.GB19621@sigill.intra.peff.net>
- In-Reply-To
- <BANLkTim0Q+RaExss+U3m-=CHT6Jd1jc56Q@mail.gmail.com>
On Fri, Apr 15, 2011 at 12:43:08AM +0200, Erik Faye-Lund wrote:
Show 24 quoted lines
> >> That part is surprisingly easy: If it contains a '<', then it's on the form > >> "Foo Bar Baz <foo@bar.baz>". If not, it's "foo@bar.baz" (assuming it's > >> UTF-8 encoded rfc5322 mailbox'es we assume, which would make the most > >> sense to me) > > > > What about: > > > > "Foo \"The Bar\" Baz" <foo@example.com> > > > > or > > > > Foo "The Bar" Baz <foo@example.com> > > > > or > > > > Foo (The Bar) Baz <foo@example.com> > > > > I.e., are we taking rfc822-style addresses, or are we taking something > > that looks vaguely like an email address, and just treating everything > > left of "<" as literal? > > I was just thinking of interpreting everything left of '<' literally > and encode it (if needed). Currently, we interpret the entire string > literally, encoding the name would an improvement.
Won't that be a regression for people who already know that we take things literally and are manually quoting and/or rfc2047-encoding the contents?
-Peff