Gnus development mailing list
 help / color / mirror / Atom feed
* gnus/spam-report.el: User-Agent for Gmane spam reporting
@ 2005-09-16 12:21 Reiner Steib
  2005-09-20 16:39 ` Ted Zlatanov
  0 siblings, 1 reply; 2+ messages in thread
From: Reiner Steib @ 2005-09-16 12:21 UTC (permalink / raw)


Hi,

wouldn't it be nice to use `gnus-extended-version' instead of
`gnus-emacs-version' for the Gmane spam reporting?  This would include
Gnus version which is more useful in this context, IMO.

ELISP> (gnus-emacs-version)
"Emacs/22.0.50 (gnu/linux)"
ELISP> (gnus-extended-version)
"Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)"

Unless Gmane prefers the current format for some reason, I'll commit
this change:

--8<---------------cut here---------------start------------->8---
--- spam-report.el	10 Sep 2005 22:32:24 +0200	6.9.2.10
+++ spam-report.el	16 Sep 2005 14:01:21 +0200	
@@ -150,7 +150,7 @@
       (process-send-string
        tcp-connection
        (format "GET %s HTTP/1.1\nUser-Agent: %s (spam-report.el)\nHost: %s\n\n"
-	       report (gnus-emacs-version) host)))))
+	       report (gnus-extended-version) host)))))
 
 ;;;###autoload
 (defun spam-report-process-queue (&optional file keep)
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gnus/spam-report.el: User-Agent for Gmane spam reporting
  2005-09-16 12:21 gnus/spam-report.el: User-Agent for Gmane spam reporting Reiner Steib
@ 2005-09-20 16:39 ` Ted Zlatanov
  0 siblings, 0 replies; 2+ messages in thread
From: Ted Zlatanov @ 2005-09-20 16:39 UTC (permalink / raw)
  Cc: gmane dicuss

On Fri, 16 Sep 2005, reinersteib+gmane@imap.cc wrote:

> wouldn't it be nice to use `gnus-extended-version' instead of
> `gnus-emacs-version' for the Gmane spam reporting?  This would include
> Gnus version which is more useful in this context, IMO.
> 
> ELISP> (gnus-emacs-version)
> "Emacs/22.0.50 (gnu/linux)"
> ELISP> (gnus-extended-version)
> "Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)"
> 
> Unless Gmane prefers the current format for some reason, I'll commit
> this change:

Works for me.  Thanks!
Ted

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-20 16:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-16 12:21 gnus/spam-report.el: User-Agent for Gmane spam reporting Reiner Steib
2005-09-20 16:39 ` Ted Zlatanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).