Subject: Re: bug#79370: [PATCH] Do not quote "^From " when fetching from IMAP

From: Eli Zaretskii <[email-masked]>
Date: Tue, 02 Sep 2025 19:15:14 +0300

> Cc: [email-masked], Lars Magne Ingebrigtsen <[email-masked]>
> From: Robert Pluim <[email-masked]>
> Date: Tue, 02 Sep 2025 17:33:49 +0200
> 
> >>>>> On Tue, 02 Sep 2025 17:26:11 +0200, Manuel Giraud <[email-masked]> said:
> 
>     Manuel> Tags: patch
>     Manuel> Hi,
> 
>     Manuel> I'm using mail-source in Gnus to fetch mail from IMAP.  Whenever I get a
>     Manuel> message with a line that start with "From " this line is quoted.
> 
>     Manuel> This patch removes this quirk… but maybe it was there for a reason.  We
>     Manuel> don't have the history for this modification since it is present in the
>     Manuel> code of "mail-source.el" since its import into Emacs (in 2000).  FWIW,
>     Manuel> 'mail-source-fetch-maildir' have this part commented since 2000 also.
> 
> mbox uses "From" at the start of a line as a separator between
> messages.

Right, so this quoting is a must to keep the result in a valid mbox
format.  We have this quoting in several other places in Emacs.