Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: gnus/spam-report.el: User-Agent for Gmane spam reporting
Date: Fri, 16 Sep 2005 14:21:49 +0200	[thread overview]
Message-ID: <v9irx16w4i.fsf@marauder.physik.uni-ulm.de> (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/

             reply	other threads:[~2005-09-16 12:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-16 12:21 Reiner Steib [this message]
2005-09-20 16:39 ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9irx16w4i.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).