GNU bug report logs -
#79370
[PATCH] Do not quote "^From " when fetching from IMAP
Previous Next
Full log
View this message in rfc822 format
> Cc: 79370 <at> debbugs.gnu.org, Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> From: Robert Pluim <rpluim <at> gmail.com>
> Date: Tue, 02 Sep 2025 17:33:49 +0200
>
> >>>>> On Tue, 02 Sep 2025 17:26:11 +0200, Manuel Giraud <manuel <at> ledu-giraud.fr> 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.
This bug report was last modified 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.