Thread (10 messages) flat view 10 messages, 3 authors, 2016-09-16

Re: [RFC/PATCH 3/3] mailinfo: handle in-body header continuations

From: Jeff King <hidden>
Date: 2016-09-16 21:51:49

On Fri, Sep 16, 2016 at 10:37:24AM -0700, Jonathan Tan wrote:
Mailinfo currently handles multi-line headers, but it does not handle
multi-line in-body headers. Teach it to handle such headers, for
example, for this input:

  Subject: a very long
   broken line

  Subject: another very long
   broken line

interpret the in-body subject to be "another very long broken line"
instead of "another very long".
This puzzled me; we should stop parsing in-body headers after the first
blank line. But then I realized you probably meant the first "Subject"
to be the real mail header.

I wonder if it would be more obvious with an example like:

  From: ...
  Date: ...
  Subject: the actual mail subject

  Subject: a very long
    broken line

Or something.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help