GNU bug report logs - #79370
[PATCH] Do not quote "^From " when fetching from IMAP

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Tue, 2 Sep 2025 15:27:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 79370 <at> debbugs.gnu.org, Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Subject: bug#79370: [PATCH] Do not quote "^From " when fetching from IMAP
Date: Tue, 02 Sep 2025 19:24:11 +0200
Robert Pluim <rpluim <at> gmail.com> writes:

>>>>>> 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. If youʼre certain that the destination is not an mbox file,
> then not prepending '>' is ok.

Ok so we'd have to add a test on the storage backend (I use nnml
myself).  Then maybe it is safer to keep this is as is for a relatively
minor annoyance.
-- 
Manuel Giraud




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.