GNU bug report logs - #74658
Remove the Mail-Followup-To header when empty

Previous Next

Package: emacs;

Reported by: Tomas Volf <~@wolfsden.cz>

Date: Mon, 2 Dec 2024 23:18:02 UTC

Severity: normal

Tags: fixed, patch

Fixed in version 31.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 74658 <at> debbugs.gnu.org, ~@wolfsden.cz
Subject: bug#74658: Remove the Mail-Followup-To header when empty
Date: Tue, 03 Dec 2024 16:18:06 +0200
> Cc: 74658 <at> debbugs.gnu.org
> From: Robert Pluim <rpluim <at> gmail.com>
> Date: Tue, 03 Dec 2024 15:02:58 +0100
> 
> >>>>> On Tue, 03 Dec 2024 00:17:10 +0100, Tomas Volf <~@wolfsden.cz> said:
> 
>     Tomas> Tags: patch
>     Tomas> According to the info manual (message)Mailing Lists, the
>     Tomas> Mail-Followup-To header should be removed when it is empty:
> 
>     >> If there is one, it is left alone.  (Except if it’s empty; in that
>     >> case, the field is removed and is not replaced with an automatically
>     >> generated one.  This lets you disable MFT generation on a per-message
>     >> basis.)
> 
>     Tomas> While the code attempted to do that, the call to `message-remove-header'
>     Tomas> passed wrong arguments.  Since the IS-REGEXP argument was not passed,
>     Tomas> the HEADER was considered a full header name (if I read the code right)
>     Tomas> and therefore failed to match (since the code passed in a regexp instead
>     Tomas> of a fixed string).
> 
>     Tomas> The fix is simple, remove the leading ^ and trailing :.
> 
> Yep. I can apply this to master. Maintainers, is adding
> Copyright-paperwork-exempt: yes enough here? Or do we need a copyright
> assignment from Tomas?

"Copyright-paperwork-exempt: yes" is enough.

Thanks.




This bug report was last modified 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.