diff options
| author | Stefan Kangas | 2023-10-24 00:37:23 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2023-10-24 00:39:47 +0200 |
| commit | cc3e436c822343f72f3ede6b638e1b68cd434583 (patch) | |
| tree | 6793de1fcb0bb492ca32d6761576a7a2e4a75830 | |
| parent | 297fe945c57c33b51b890ea105d5f7c15a520bd0 (diff) | |
| download | emacs-cc3e436c822343f72f3ede6b638e1b68cd434583.tar.gz emacs-cc3e436c822343f72f3ede6b638e1b68cd434583.zip | |
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/
| -rw-r--r-- | admin/notes/emba | 2 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 16 | ||||
| -rw-r--r-- | lisp/gnus/gnus-group.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/spam-report.el | 4 | ||||
| -rw-r--r-- | 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 | |||
| 21 | <https://lists.gnu.org/mailman/listinfo/emacs-buildstatus>. | 21 | <https://lists.gnu.org/mailman/listinfo/emacs-buildstatus>. |
| 22 | 22 | ||
| 23 | Alternatively, these notifications can be read via gmane at | 23 | Alternatively, these notifications can be read via gmane at |
| 24 | <nntp+news.gmane.org:gmane.emacs.buildstatus>. | 24 | <nntp+news.gmane.io:gmane.emacs.buildstatus>. |
| 25 | 25 | ||
| 26 | The messages contain a URL to the log file of the failed job, like | 26 | The messages contain a URL to the log file of the failed job, like |
| 27 | <https://emba.gnu.org/emacs/emacs/-/jobs/739/raw>. | 27 | <https://emba.gnu.org/emacs/emacs/-/jobs/739/raw>. |
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 | |||
| 3372 | group by reverse date to see the latest news at the top and an | 3372 | group by reverse date to see the latest news at the top and an |
| 3373 | @acronym{RSS} group by subject. In this example, the first group is the | 3373 | @acronym{RSS} group by subject. In this example, the first group is the |
| 3374 | Debian daily news group @code{gmane.linux.debian.user.news} from | 3374 | Debian daily news group @code{gmane.linux.debian.user.news} from |
| 3375 | news.gmane.org. The @acronym{RSS} group corresponds to the Debian | 3375 | news.gmane.io. The @acronym{RSS} group corresponds to the Debian |
| 3376 | weekly news RSS feed | 3376 | weekly news RSS feed |
| 3377 | @url{https://packages.debian.org/unstable/newpkg_main.en.rdf}, | 3377 | @url{https://packages.debian.org/unstable/newpkg_main.en.rdf}, |
| 3378 | @xref{RSS}. | 3378 | @xref{RSS}. |
| @@ -4426,7 +4426,7 @@ A select method can be very long, like: | |||
| 4426 | 4426 | ||
| 4427 | @lisp | 4427 | @lisp |
| 4428 | (nntp "gmane" | 4428 | (nntp "gmane" |
| 4429 | (nntp-address "news.gmane.org") | 4429 | (nntp-address "news.gmane.io") |
| 4430 | (nntp-end-of-line "\n") | 4430 | (nntp-end-of-line "\n") |
| 4431 | (nntp-open-connection-function | 4431 | (nntp-open-connection-function |
| 4432 | nntp-open-via-rlogin-and-telnet) | 4432 | nntp-open-via-rlogin-and-telnet) |
| @@ -7279,7 +7279,7 @@ The server has to support @acronym{NOV} for any of this to work. | |||
| 7279 | @cindex Gmane, @code{gnus-fetch-old-headers} | 7279 | @cindex Gmane, @code{gnus-fetch-old-headers} |
| 7280 | This feature can seriously impact performance it ignores all locally | 7280 | This feature can seriously impact performance it ignores all locally |
| 7281 | cached header entries. Setting it to @code{t} for groups for a server | 7281 | cached header entries. Setting it to @code{t} for groups for a server |
| 7282 | that doesn't expire articles (such as news.gmane.org), leads to very | 7282 | that doesn't expire articles (such as news.gmane.io), leads to very |
| 7283 | slow summary generation. | 7283 | slow summary generation. |
| 7284 | 7284 | ||
| 7285 | @item gnus-fetch-old-ephemeral-headers | 7285 | @item gnus-fetch-old-ephemeral-headers |
| @@ -18017,7 +18017,7 @@ Here is an example: | |||
| 18017 | (nnselect-args | 18017 | (nnselect-args |
| 18018 | . [["nnimap+work:mail" 595 100] | 18018 | . [["nnimap+work:mail" 595 100] |
| 18019 | ["nnimap+home:sent" 223 100] | 18019 | ["nnimap+home:sent" 223 100] |
| 18020 | ["nntp+news.gmane.org:gmane.emacs.gnus.general" 23666 100]])) | 18020 | ["nntp+news.gmane.io:gmane.emacs.gnus.general" 23666 100]])) |
| 18021 | @end lisp | 18021 | @end lisp |
| 18022 | 18022 | ||
| 18023 | The function is the identity and the argument is just the list of | 18023 | 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: | |||
| 25152 | @end lisp | 25152 | @end lisp |
| 25153 | 25153 | ||
| 25154 | Additionally, I use @code{(setq spam-report-gmane-use-article-number nil)} | 25154 | Additionally, I use @code{(setq spam-report-gmane-use-article-number nil)} |
| 25155 | because I don't read the groups directly from news.gmane.org, but | 25155 | because I don't read the groups directly from news.gmane.io, but |
| 25156 | through my local news server (leafnode). I.e., the article numbers are | 25156 | through my local news server (leafnode). I.e., the article numbers are |
| 25157 | not the same as on news.gmane.org, thus @code{spam-report.el} has to check | 25157 | not the same as on news.gmane.io, thus @code{spam-report.el} has to check |
| 25158 | the @code{X-Report-Spam} header to find the correct number. | 25158 | the @code{X-Report-Spam} header to find the correct number. |
| 25159 | 25159 | ||
| 25160 | @node Spam Back Ends | 25160 | @node Spam Back Ends |
| @@ -29318,13 +29318,13 @@ have names like @samp{gnu.emacs.gnus}. | |||
| 29318 | You can also have any number of foreign groups active at the same | 29318 | You can also have any number of foreign groups active at the same |
| 29319 | time. These are groups that use non-native non-secondary back ends | 29319 | time. These are groups that use non-native non-secondary back ends |
| 29320 | for getting news. Foreign groups have names like | 29320 | for getting news. Foreign groups have names like |
| 29321 | @samp{nntp+news.gmane.org:gmane.emacs.gnus.devel}. | 29321 | @samp{nntp+news.gmane.io:gmane.emacs.gnus.devel}. |
| 29322 | 29322 | ||
| 29323 | @item secondary | 29323 | @item secondary |
| 29324 | @cindex secondary | 29324 | @cindex secondary |
| 29325 | Secondary back ends are somewhere half-way between being native and | 29325 | Secondary back ends are somewhere half-way between being native and |
| 29326 | being foreign, but they mostly act like they are native, but they, too | 29326 | being foreign, but they mostly act like they are native, but they, too |
| 29327 | have names like @samp{nntp+news.gmane.org:gmane.emacs.gnus.devel}. | 29327 | have names like @samp{nntp+news.gmane.io:gmane.emacs.gnus.devel}. |
| 29328 | 29328 | ||
| 29329 | @item article | 29329 | @item article |
| 29330 | @cindex article | 29330 | @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." | |||
| 286 | :type 'hook) | 286 | :type 'hook) |
| 287 | 287 | ||
| 288 | (defcustom gnus-useful-groups | 288 | (defcustom gnus-useful-groups |
| 289 | '(("(ding) mailing list mirrored at gmane.org" | 289 | '(("(ding) mailing list mirrored at gmane.io" |
| 290 | "gmane.emacs.gnus.general" | 290 | "gmane.emacs.gnus.general" |
| 291 | (nntp "Gmane" | 291 | (nntp "Gmane" |
| 292 | (nntp-address "news.gmane.org"))) | 292 | (nntp-address "news.gmane.io"))) |
| 293 | ("Gnus bug archive" | 293 | ("Gnus bug archive" |
| 294 | "gnus.gnus-bug" | 294 | "gnus.gnus-bug" |
| 295 | (nntp "news.gnus.org" | 295 | (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. | |||
| 120 | 120 | ||
| 121 | This feature can seriously impact performance it ignores all | 121 | This feature can seriously impact performance it ignores all |
| 122 | locally cached header entries. Setting it to t for groups for a | 122 | locally cached header entries. Setting it to t for groups for a |
| 123 | server that doesn't expire articles (such as news.gmane.org), | 123 | server that doesn't expire articles (such as news.gmane.io), |
| 124 | leads to very slow summary generation." | 124 | leads to very slow summary generation." |
| 125 | :group 'gnus-thread | 125 | :group 'gnus-thread |
| 126 | :type '(choice (const :tag "off" nil) | 126 | :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." | |||
| 49 | "Whether the article number (faster!) or the header should be used. | 49 | "Whether the article number (faster!) or the header should be used. |
| 50 | 50 | ||
| 51 | You must set this to nil if you don't read Gmane groups directly | 51 | You must set this to nil if you don't read Gmane groups directly |
| 52 | from news.gmane.org, e.g. when using local newsserver such as | 52 | from news.gmane.io, e.g. when using local newsserver such as |
| 53 | leafnode." | 53 | leafnode." |
| 54 | :type 'boolean) | 54 | :type 'boolean) |
| 55 | 55 | ||
| @@ -149,6 +149,8 @@ submitted at once. Internal variable.") | |||
| 149 | (when (and gnus-newsgroup-name | 149 | (when (and gnus-newsgroup-name |
| 150 | (or (null spam-report-gmane-regex) | 150 | (or (null spam-report-gmane-regex) |
| 151 | (string-match spam-report-gmane-regex gnus-newsgroup-name))) | 151 | (string-match spam-report-gmane-regex gnus-newsgroup-name))) |
| 152 | ;; FIXME: These addresses are down. There is also no | ||
| 153 | ;; unspam.gmane.io or spam.gmane.io. | ||
| 152 | (let ((rpt-host (if unspam "unspam.gmane.org" "spam.gmane.org"))) | 154 | (let ((rpt-host (if unspam "unspam.gmane.org" "spam.gmane.org"))) |
| 153 | (gnus-message 6 "Reporting article %d to %s..." article rpt-host) | 155 | (gnus-message 6 "Reporting article %d to %s..." article rpt-host) |
| 154 | (cond | 156 | (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 @@ | |||
| 38 | ;; This is a very aggressive shortening of the left hand side. | 38 | ;; This is a very aggressive shortening of the left hand side. |
| 39 | ("nnimap+email@banana.salesman.example.com:234" . "email@banana:234") | 39 | ("nnimap+email@banana.salesman.example.com:234" . "email@banana:234") |
| 40 | ("nntp+some.where.edu:soc.motss" . "some:s.motss") | 40 | ("nntp+some.where.edu:soc.motss" . "some:s.motss") |
| 41 | ("nntp+news.gmane.org:gmane.emacs.gnus.general" . "news:g.e.g.general") | 41 | ("nntp+news.gmane.io:gmane.emacs.gnus.general" . "news:g.e.g.general") |
| 42 | ("nntp+news.gnus.org:gmane.text.docbook.apps" . "news:g.t.d.apps") | 42 | ("nntp+news.gnus.org:gmane.text.docbook.apps" . "news:g.t.d.apps") |
| 43 | 43 | ||
| 44 | ;; nnimap groups. | 44 | ;; nnimap groups. |