GNU bug report logs - #42029
`gnus-registry-spool-action' gets field beyond message headers

Previous Next

Packages: gnus, emacs;

Reported by: tomotaka.suwa <at> gmail.com

Date: Wed, 24 Jun 2020 11:52:02 UTC

Severity: normal

Tags: fixed

Found in version 5.13

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 42029 <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: Tomotaka SUWA <tomotaka.suwa <at> gmail.com>
Cc: 42029 <at> debbugs.gnu.org
Subject: Re: bug#42029: `gnus-registry-spool-action' gets field beyond
 message headers
Date: Fri, 26 Jun 2020 11:32:19 -0700
[Message part 1 (text/plain, inline)]
Tomotaka SUWA <tomotaka.suwa <at> gmail.com> writes:

>> Thanks for this report. It might be simpler to wrap the whole thing in a
>> single save-restriction+narrow-to-headers, since the function gets
>> called four times. What do you think?
>
> I wrote the patch paying attention to minimize side effects since I'm not
> familiar with that functionality. So if `gnus-registry-spool-action' is
> interested in only mail headers, your proposal is much better.

Okay! Would you be willing to give the attached diff a quick test?

Thanks,
Eric

[protect-registry-spool-action.diff (text/x-patch, attachment)]

This bug report was last modified 4 years and 308 days ago.

Previous Next


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