GNU bug report logs - #5573
23.1; Please add Injection-* headers to message-ignored-supersedes-headers

Previous Next

Packages: gnus, emacs;

Reported by: Teemu Likonen <tlikonen <at> iki.fi>

Date: Sat, 13 Feb 2010 10:20:04 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5573 in the body.
You can then email your comments to 5573 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5573; Package emacs. (Sat, 13 Feb 2010 10:20:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Teemu Likonen <tlikonen <at> iki.fi>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 13 Feb 2010 10:20:04 GMT) Full text and rfc822 format available.

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

From: Teemu Likonen <tlikonen <at> iki.fi>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1;
	Please add Injection-* headers to message-ignored-supersedes-headers
Date: Sat, 13 Feb 2010 11:46:06 +0200
[Message part 1 (text/plain, inline)]
This report is about Gnus and file lisp/gnus/message.el in particular.

There is a news server, namely eternal.september.org, which adds
Injection-Date and Injection-Info headers to messages. When superseding
such message the sending fails because the server does not want user to
fill those headers, the server wants to do it. Supersede works if user
removes those headers manually.

So, I suggest adding the headers to message-ignored-supersedes-headers
variable like the attached patch does.

[supersede-ignore-injection-headers.diff (text/x-diff, inline)]
diff --git i/lisp/gnus/message.el w/lisp/gnus/message.el
index 7194813..8992cef 100644
--- i/lisp/gnus/message.el
+++ w/lisp/gnus/message.el
@@ -276,7 +276,7 @@ included.  Organization and User-Agent are optional."
   :link '(custom-manual "(message)Mail Headers")
   :type 'regexp)
 
-(defcustom message-ignored-supersedes-headers "^Path:\\|^Date\\|^NNTP-Posting-Host:\\|^Xref:\\|^Lines:\\|^Received:\\|^X-From-Line:\\|^X-Trace:\\|^X-ID:\\|^X-Complaints-To:\\|Return-Path:\\|^Supersedes:\\|^NNTP-Posting-Date:\\|^X-Trace:\\|^X-Complaints-To:\\|^Cancel-Lock:\\|^Cancel-Key:\\|^X-Hashcash:\\|^X-Payment:\\|^Approved:"
+(defcustom message-ignored-supersedes-headers "^Path:\\|^Date\\|^NNTP-Posting-Host:\\|^Xref:\\|^Lines:\\|^Received:\\|^X-From-Line:\\|^X-Trace:\\|^X-ID:\\|^X-Complaints-To:\\|Return-Path:\\|^Supersedes:\\|^NNTP-Posting-Date:\\|^X-Trace:\\|^X-Complaints-To:\\|^Cancel-Lock:\\|^Cancel-Key:\\|^X-Hashcash:\\|^X-Payment:\\|^Approved:\\|^Injection-Date:\\|^Injection-Info:"
   "*Header lines matching this regexp will be deleted before posting.
 It's best to delete old Path and Date headers before posting to avoid
 any confusion."

bug reassigned from package 'emacs' to 'emacs,gnus'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 13 Feb 2010 19:36:02 GMT) Full text and rfc822 format available.

Reply sent to Lars Magne Ingebrigtsen <larsi <at> gnus.org>:
You have taken responsibility. (Thu, 30 Sep 2010 21:14:04 GMT) Full text and rfc822 format available.

Notification sent to Teemu Likonen <tlikonen <at> iki.fi>:
bug acknowledged by developer. (Thu, 30 Sep 2010 21:14:04 GMT) Full text and rfc822 format available.

Message #12 received at 5573-close <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Teemu Likonen <tlikonen <at> iki.fi>
Cc: bug-gnu-emacs <at> gnu.org, 5573-close <at> debbugs.gnu.org
Subject: Re: 23.1; Please add Injection-* headers to
	message-ignored-supersedes-headers
Date: Thu, 30 Sep 2010 23:15:03 +0200
Teemu Likonen <tlikonen <at> iki.fi> writes:

> There is a news server, namely eternal.september.org, which adds
> Injection-Date and Injection-Info headers to messages. When superseding
> such message the sending fails because the server does not want user to
> fill those headers, the server wants to do it. Supersede works if user
> removes those headers manually.
>
> So, I suggest adding the headers to message-ignored-supersedes-headers
> variable like the attached patch does.

Thanks you for the patch.  I've now applied it to the development
version of Gnus.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi <at> gnus.org * Lars Magne Ingebrigtsen




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#5573; Package emacs,gnus. (Thu, 30 Sep 2010 21:39:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Oct 2010 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 239 days ago.

Previous Next


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