From cc3e436c822343f72f3ede6b638e1b68cd434583 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Tue, 24 Oct 2023 00:37:23 +0200 Subject: [PATCH] Change news.gmane.org to news.gmane.io * admin/notes/emba: * doc/misc/gnus.texi (Group Parameters) (Non-ASCII Group Names, Filling In Threads) (Selection Groups, Spam Package Configuration Examples) (Terminology): * lisp/gnus/gnus-group.el (gnus-useful-groups): * lisp/gnus/gnus-sum.el (gnus-fetch-old-headers): * lisp/gnus/spam-report.el (spam-report-gmane-use-article-number) (spam-report-gmane-internal): * test/lisp/gnus/gnus-group-tests.el (gnus-short-group-name): Change news.gmane.org to news.gmane.io. Ref: https://news.gmane.io/ --- admin/notes/emba | 2 +- doc/misc/gnus.texi | 16 ++++++++-------- lisp/gnus/gnus-group.el | 4 ++-- lisp/gnus/gnus-sum.el | 2 +- lisp/gnus/spam-report.el | 4 +++- test/lisp/gnus/gnus-group-tests.el | 2 +- 6 files changed, 16 insertions(+), 14 deletions(-) diff --git a/admin/notes/emba b/admin/notes/emba index 564cc3c54ac..6970279d3af 100644 --- a/admin/notes/emba +++ b/admin/notes/emba @@ -21,7 +21,7 @@ If you want to receive these notifications, please subscribe at . Alternatively, these notifications can be read via gmane at -. +. The messages contain a URL to the log file of the failed job, like . diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 216bbed4966..d8136baacba 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi @@ -3372,7 +3372,7 @@ You can define different sorting to different groups via group by reverse date to see the latest news at the top and an @acronym{RSS} group by subject. In this example, the first group is the Debian daily news group @code{gmane.linux.debian.user.news} from -news.gmane.org. The @acronym{RSS} group corresponds to the Debian +news.gmane.io. The @acronym{RSS} group corresponds to the Debian weekly news RSS feed @url{https://packages.debian.org/unstable/newpkg_main.en.rdf}, @xref{RSS}. @@ -4426,7 +4426,7 @@ A select method can be very long, like: @lisp (nntp "gmane" - (nntp-address "news.gmane.org") + (nntp-address "news.gmane.io") (nntp-end-of-line "\n") (nntp-open-connection-function nntp-open-via-rlogin-and-telnet) @@ -7279,7 +7279,7 @@ The server has to support @acronym{NOV} for any of this to work. @cindex Gmane, @code{gnus-fetch-old-headers} This feature can seriously impact performance it ignores all locally cached header entries. Setting it to @code{t} for groups for a server -that doesn't expire articles (such as news.gmane.org), leads to very +that doesn't expire articles (such as news.gmane.io), leads to very slow summary generation. @item gnus-fetch-old-ephemeral-headers @@ -18017,7 +18017,7 @@ Here is an example: (nnselect-args . [["nnimap+work:mail" 595 100] ["nnimap+home:sent" 223 100] - ["nntp+news.gmane.org:gmane.emacs.gnus.general" 23666 100]])) + ["nntp+news.gmane.io:gmane.emacs.gnus.general" 23666 100]])) @end lisp The function is the identity and the argument is just the list of @@ -25152,9 +25152,9 @@ groups as spam and reports the to Gmane at group exit: @end lisp Additionally, I use @code{(setq spam-report-gmane-use-article-number nil)} -because I don't read the groups directly from news.gmane.org, but +because I don't read the groups directly from news.gmane.io, but through my local news server (leafnode). I.e., the article numbers are -not the same as on news.gmane.org, thus @code{spam-report.el} has to check +not the same as on news.gmane.io, thus @code{spam-report.el} has to check the @code{X-Report-Spam} header to find the correct number. @node Spam Back Ends @@ -29318,13 +29318,13 @@ have names like @samp{gnu.emacs.gnus}. You can also have any number of foreign groups active at the same time. These are groups that use non-native non-secondary back ends for getting news. Foreign groups have names like -@samp{nntp+news.gmane.org:gmane.emacs.gnus.devel}. +@samp{nntp+news.gmane.io:gmane.emacs.gnus.devel}. @item secondary @cindex secondary Secondary back ends are somewhere half-way between being native and being foreign, but they mostly act like they are native, but they, too -have names like @samp{nntp+news.gmane.org:gmane.emacs.gnus.devel}. +have names like @samp{nntp+news.gmane.io:gmane.emacs.gnus.devel}. @item article @cindex article diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 070d1223e2c..0467907ec94 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el @@ -286,10 +286,10 @@ If you want to modify the group buffer, you can use this hook." :type 'hook) (defcustom gnus-useful-groups - '(("(ding) mailing list mirrored at gmane.org" + '(("(ding) mailing list mirrored at gmane.io" "gmane.emacs.gnus.general" (nntp "Gmane" - (nntp-address "news.gmane.org"))) + (nntp-address "news.gmane.io"))) ("Gnus bug archive" "gnus.gnus-bug" (nntp "news.gnus.org" diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 9992f46bbd5..3b25d3e2c07 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el @@ -120,7 +120,7 @@ The server has to support NOV for any of this to work. This feature can seriously impact performance it ignores all locally cached header entries. Setting it to t for groups for a -server that doesn't expire articles (such as news.gmane.org), +server that doesn't expire articles (such as news.gmane.io), leads to very slow summary generation." :group 'gnus-thread :type '(choice (const :tag "off" nil) diff --git a/lisp/gnus/spam-report.el b/lisp/gnus/spam-report.el index 9f1ec7e3677..8435d2d0124 100644 --- a/lisp/gnus/spam-report.el +++ b/lisp/gnus/spam-report.el @@ -49,7 +49,7 @@ instead." "Whether the article number (faster!) or the header should be used. You must set this to nil if you don't read Gmane groups directly -from news.gmane.org, e.g. when using local newsserver such as +from news.gmane.io, e.g. when using local newsserver such as leafnode." :type 'boolean) @@ -149,6 +149,8 @@ submitted at once. Internal variable.") (when (and gnus-newsgroup-name (or (null spam-report-gmane-regex) (string-match spam-report-gmane-regex gnus-newsgroup-name))) + ;; FIXME: These addresses are down. There is also no + ;; unspam.gmane.io or spam.gmane.io. (let ((rpt-host (if unspam "unspam.gmane.org" "spam.gmane.org"))) (gnus-message 6 "Reporting article %d to %s..." article rpt-host) (cond diff --git a/test/lisp/gnus/gnus-group-tests.el b/test/lisp/gnus/gnus-group-tests.el index e12f42711ea..3f5cbefc6ea 100644 --- a/test/lisp/gnus/gnus-group-tests.el +++ b/test/lisp/gnus/gnus-group-tests.el @@ -38,7 +38,7 @@ ;; This is a very aggressive shortening of the left hand side. ("nnimap+email@banana.salesman.example.com:234" . "email@banana:234") ("nntp+some.where.edu:soc.motss" . "some:s.motss") - ("nntp+news.gmane.org:gmane.emacs.gnus.general" . "news:g.e.g.general") + ("nntp+news.gmane.io:gmane.emacs.gnus.general" . "news:g.e.g.general") ("nntp+news.gnus.org:gmane.text.docbook.apps" . "news:g.t.d.apps") ;; nnimap groups. -- 2.39.2