On 2026-01-25 20:27:35 -0500, Kurt Hackenberg wrote:
> When the new code slurps it all in, how does it know where to stop? Does it
> count on recognizing date-time syntax? What if that syntax is unusual?

Perhaps that should be configurable by the user, with unusual regexp
typically used with folder-hook or the -F option for old mbox files.

> Does Mutt have any regression testing of its mbox parsing?
> 
> This change is to handle these sample mbox From_ lines from issue 433
> (indented here for safety):
> 
>     From [email protected] (comment) Sat Jul 27 03:26:47 1996
>     From u3 <[email protected]> Mon Aug 12 14:43:33 1996
> 
> Wow, I've never seen that.

I have even one with "From Sun,07 Jul 1996.01:27:59". Mutt 2.3
silently ignores the whole contents starting at this line.

I suspect that at that time, most software did not care about the
exact format and just considered the first 5 characters. In any case,
*all* lines starting with "From " in the body were quoted.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to