diff options
| author | Amin Bandali | 2021-07-03 23:39:18 -0400 |
|---|---|---|
| committer | Amin Bandali | 2021-07-03 23:39:18 -0400 |
| commit | 348b2aed0c8c3630be4c15c8e70acf7ea9c023af (patch) | |
| tree | 4a4a1c388b277a557c9328086abab6762afa80cc /lisp/erc | |
| parent | b0e725e2fee2b6713eb724ef9812d6534750054d (diff) | |
| download | emacs-348b2aed0c8c3630be4c15c8e70acf7ea9c023af.tar.gz emacs-348b2aed0c8c3630be4c15c8e70acf7ea9c023af.zip | |
Update IRC-related references to point to Libera.Chat
Per GNU and FSF's announcements [0, 1] of moving official IRC channels
to the Libera.Chat IRC network, as well as several Emacs-related
channels following suit [2], update IRC-related references to reflect
the migration.
[0]: https://lists.gnu.org/archive/html/info-gnu/2021-06/msg00005.html
[1]: https://lists.gnu.org/archive/html/info-gnu/2021-06/msg00007.html
[2]: https://lists.gnu.org/archive/html/info-gnu-emacs/2021-06/msg00000.html
Diffstat (limited to 'lisp/erc')
| -rw-r--r-- | lisp/erc/erc-backend.el | 2 | ||||
| -rw-r--r-- | lisp/erc/erc-networks.el | 14 | ||||
| -rw-r--r-- | lisp/erc/erc-services.el | 27 | ||||
| -rw-r--r-- | lisp/erc/erc.el | 11 |
4 files changed, 37 insertions, 17 deletions
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el index dcda9044a55..2c2f62e76ed 100644 --- a/lisp/erc/erc-backend.el +++ b/lisp/erc/erc-backend.el | |||
| @@ -1793,7 +1793,7 @@ See `erc-display-server-message'." nil | |||
| 1793 | 's324 ?c channel ?m modes))) | 1793 | 's324 ?c channel ?m modes))) |
| 1794 | 1794 | ||
| 1795 | (define-erc-response-handler (328) | 1795 | (define-erc-response-handler (328) |
| 1796 | "Channel URL (on freenode network)." nil | 1796 | "Channel URL." nil |
| 1797 | (let ((channel (cadr (erc-response.command-args parsed))) | 1797 | (let ((channel (cadr (erc-response.command-args parsed))) |
| 1798 | (url (erc-response.contents parsed))) | 1798 | (url (erc-response.contents parsed))) |
| 1799 | (erc-display-message parsed 'notice (erc-get-buffer channel proc) | 1799 | (erc-display-message parsed 'notice (erc-get-buffer channel proc) |
diff --git a/lisp/erc/erc-networks.el b/lisp/erc/erc-networks.el index 4a566096cb1..ac32b294d3c 100644 --- a/lisp/erc/erc-networks.el +++ b/lisp/erc/erc-networks.el | |||
| @@ -290,6 +290,13 @@ | |||
| 290 | ("LagNet: Random server" LagNet "irc.lagnet.org.za" 6667) | 290 | ("LagNet: Random server" LagNet "irc.lagnet.org.za" 6667) |
| 291 | ("LagNet: AF, ZA, Cape Town" LagNet "reaper.lagnet.org.za" 6667) | 291 | ("LagNet: AF, ZA, Cape Town" LagNet "reaper.lagnet.org.za" 6667) |
| 292 | ("LagNet: AF, ZA, Johannesburg" LagNet "mystery.lagnet.org.za" 6667) | 292 | ("LagNet: AF, ZA, Johannesburg" LagNet "mystery.lagnet.org.za" 6667) |
| 293 | ("Libera.Chat: Random server" Libera.Chat "irc.libera.chat" 6667) | ||
| 294 | ("Libera.Chat: Random Europe server" Libera.Chat "irc.eu.libera.chat" 6667) | ||
| 295 | ("Libera.Chat: Random US & Canada server" Libera.Chat "irc.us.libera.chat" 6667) | ||
| 296 | ("Libera.Chat: Random Australia & New Zealand server" Libera.Chat "irc.au.libera.chat" 6667) | ||
| 297 | ("Libera.Chat: Random East Asia server" Libera.Chat "irc.ea.libera.chat" 6667) | ||
| 298 | ("Libera.Chat: IPv4 only server" Libera.Chat "irc.ipv4.libera.chat" 6667) | ||
| 299 | ("Libera.Chat: IPv6 only server" Libera.Chat "irc.ipv6.libera.chat" 6667) | ||
| 293 | ("Librenet: Random server" Librenet "irc.librenet.net" 6667) | 300 | ("Librenet: Random server" Librenet "irc.librenet.net" 6667) |
| 294 | ("LinkNet: Random server" LinkNet "irc.link-net.org" ((6667 6669))) | 301 | ("LinkNet: Random server" LinkNet "irc.link-net.org" ((6667 6669))) |
| 295 | ("LinuxChix: Random server" LinuxChix "irc.linuxchix.org" 6667) | 302 | ("LinuxChix: Random server" LinuxChix "irc.linuxchix.org" 6667) |
| @@ -595,6 +602,7 @@ PORTS is either a number, a list of numbers, or a list of port ranges." | |||
| 595 | (Krono "krono.net") | 602 | (Krono "krono.net") |
| 596 | (Krushnet "krushnet.org") | 603 | (Krushnet "krushnet.org") |
| 597 | (LagNet "lagnet.org.za") | 604 | (LagNet "lagnet.org.za") |
| 605 | (Libera.Chat "libera.chat") | ||
| 598 | (Librenet "librenet.net") | 606 | (Librenet "librenet.net") |
| 599 | (LinkNet "link-net.org") | 607 | (LinkNet "link-net.org") |
| 600 | (LinuxChix "cats\\.meow\\.at\\|linuxchix\\.org") | 608 | (LinuxChix "cats\\.meow\\.at\\|linuxchix\\.org") |
| @@ -836,8 +844,8 @@ As an example: | |||
| 836 | ;; think it is worth the effort. | 844 | ;; think it is worth the effort. |
| 837 | 845 | ||
| 838 | (defvar erc-settings | 846 | (defvar erc-settings |
| 839 | '((pals freenode ("kensanata" "shapr" "anti\\(fuchs\\|gone\\)")) | 847 | '((pals Libera.Chat ("kensanata" "shapr" "anti\\(fuchs\\|gone\\)")) |
| 840 | (format-nick-function (freenode "#emacs") erc-format-@nick)) | 848 | (format-nick-function (Libera.Chat "#emacs") erc-format-@nick)) |
| 841 | "Experimental: Alist of configuration options. | 849 | "Experimental: Alist of configuration options. |
| 842 | The format is (VARNAME SCOPE VALUE) where | 850 | The format is (VARNAME SCOPE VALUE) where |
| 843 | VARNAME is a symbol identifying the configuration option, | 851 | VARNAME is a symbol identifying the configuration option, |
| @@ -866,7 +874,7 @@ VALUE is the options value.") | |||
| 866 | items nil))))) | 874 | items nil))))) |
| 867 | val)) | 875 | val)) |
| 868 | 876 | ||
| 869 | (erc-get 'pals 'freenode) | 877 | (erc-get 'pals 'Libera.Chat) |
| 870 | 878 | ||
| 871 | (provide 'erc-networks) | 879 | (provide 'erc-networks) |
| 872 | 880 | ||
diff --git a/lisp/erc/erc-services.el b/lisp/erc/erc-services.el index 4f9b0b199f9..f04da183c64 100644 --- a/lisp/erc/erc-services.el +++ b/lisp/erc/erc-services.el | |||
| @@ -30,10 +30,10 @@ | |||
| 30 | ;; are made to test if NickServ is the real NickServ for a given network or | 30 | ;; are made to test if NickServ is the real NickServ for a given network or |
| 31 | ;; server. | 31 | ;; server. |
| 32 | 32 | ||
| 33 | ;; As a default, ERC has the data for the official nickname services on | 33 | ;; As a default, ERC has the data for the official nickname services |
| 34 | ;; the networks Austnet, BrasNET, Dalnet, freenode, GalaxyNet, GRnet, | 34 | ;; on the networks Austnet, BrasNET, Dalnet, freenode, GalaxyNet, |
| 35 | ;; and Slashnet. You can add more by using M-x customize-variable RET | 35 | ;; GRnet, Libera.Chat, and Slashnet. You can add more by using |
| 36 | ;; erc-nickserv-alist. | 36 | ;; M-x customize-variable RET erc-nickserv-alist. |
| 37 | 37 | ||
| 38 | ;; Usage: | 38 | ;; Usage: |
| 39 | ;; | 39 | ;; |
| @@ -43,9 +43,10 @@ | |||
| 43 | ;; (erc-services-mode 1) | 43 | ;; (erc-services-mode 1) |
| 44 | ;; | 44 | ;; |
| 45 | ;; Add your nickname and NickServ password to `erc-nickserv-passwords'. | 45 | ;; Add your nickname and NickServ password to `erc-nickserv-passwords'. |
| 46 | ;; Using the freenode network as an example: | 46 | ;; Using the Libera.Chat network as an example: |
| 47 | ;; | 47 | ;; |
| 48 | ;; (setq erc-nickserv-passwords '((freenode (("nickname" "password"))))) | 48 | ;; (setq erc-nickserv-passwords |
| 49 | ;; '((Libera.Chat (("nickname" "password"))))) | ||
| 49 | ;; | 50 | ;; |
| 50 | ;; The default automatic identification mode is autodetection of NickServ | 51 | ;; The default automatic identification mode is autodetection of NickServ |
| 51 | ;; identify requests. Set the variable `erc-nickserv-identify-mode' if | 52 | ;; identify requests. Set the variable `erc-nickserv-identify-mode' if |
| @@ -173,8 +174,8 @@ You can also use \\[erc-nickserv-identify-mode] to change modes." | |||
| 173 | 174 | ||
| 174 | Example of use: | 175 | Example of use: |
| 175 | (setq erc-nickserv-passwords | 176 | (setq erc-nickserv-passwords |
| 176 | \\='((freenode ((\"nick-one\" . \"password\") | 177 | \\='((Libera.Chat ((\"nick-one\" . \"password\") |
| 177 | (\"nick-two\" . \"password\"))) | 178 | (\"nick-two\" . \"password\"))) |
| 178 | (DALnet ((\"nick\" . \"password\")))))" | 179 | (DALnet ((\"nick\" . \"password\")))))" |
| 179 | :group 'erc-services | 180 | :group 'erc-services |
| 180 | :type '(repeat | 181 | :type '(repeat |
| @@ -190,6 +191,7 @@ Example of use: | |||
| 190 | (const GalaxyNet) | 191 | (const GalaxyNet) |
| 191 | (const GRnet) | 192 | (const GRnet) |
| 192 | (const iip) | 193 | (const iip) |
| 194 | (const Libera.Chat) | ||
| 193 | (const OFTC) | 195 | (const OFTC) |
| 194 | (const QuakeNet) | 196 | (const QuakeNet) |
| 195 | (const Rizon) | 197 | (const Rizon) |
| @@ -257,6 +259,15 @@ Example of use: | |||
| 257 | "type\\s-/squery\\s-Trent\\s-identify\\s-<password>" | 259 | "type\\s-/squery\\s-Trent\\s-identify\\s-<password>" |
| 258 | "Trent@anon.iip" | 260 | "Trent@anon.iip" |
| 259 | "IDENTIFY" nil "SQUERY" nil) | 261 | "IDENTIFY" nil "SQUERY" nil) |
| 262 | (Libera.Chat | ||
| 263 | "NickServ!NickServ@services.libera.chat" | ||
| 264 | ;; Libera.Chat also accepts a password at login, see the `erc' | ||
| 265 | ;; :password argument. | ||
| 266 | "This\\s-nickname\\s-is\\s-registered.\\s-Please\\s-choose" | ||
| 267 | "NickServ" | ||
| 268 | "IDENTIFY" nil nil | ||
| 269 | ;; See also the 901 response code message. | ||
| 270 | "You\\s-are\\s-now\\s-identified\\s-for\\s-") | ||
| 260 | (OFTC | 271 | (OFTC |
| 261 | "NickServ!services@services.oftc.net" | 272 | "NickServ!services@services.oftc.net" |
| 262 | ;; OFTC's NickServ doesn't ask you to identify anymore. | 273 | ;; OFTC's NickServ doesn't ask you to identify anymore. |
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 1e055a6c521..2bd58ba9379 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -255,7 +255,7 @@ A typical value would be \(\"JOIN\" \"PART\" \"QUIT\")." | |||
| 255 | 255 | ||
| 256 | (defcustom erc-network-hide-list nil | 256 | (defcustom erc-network-hide-list nil |
| 257 | "A list of IRC networks to hide message types from. | 257 | "A list of IRC networks to hide message types from. |
| 258 | A typical value would be \((\"freenode\" \"MODE\") | 258 | A typical value would be \((\"Libera.Chat\" \"MODE\") |
| 259 | \(\"OFTC\" \"JOIN\" \"QUIT\"))." | 259 | \(\"OFTC\" \"JOIN\" \"QUIT\"))." |
| 260 | :version "25.1" | 260 | :version "25.1" |
| 261 | :group 'erc-ignore | 261 | :group 'erc-ignore |
| @@ -1499,7 +1499,7 @@ Defaults to the server buffer." | |||
| 1499 | 1499 | ||
| 1500 | ;; activation | 1500 | ;; activation |
| 1501 | 1501 | ||
| 1502 | (defconst erc-default-server "irc.freenode.net" | 1502 | (defconst erc-default-server "irc.libera.chat" |
| 1503 | "IRC server to use if it cannot be detected otherwise.") | 1503 | "IRC server to use if it cannot be detected otherwise.") |
| 1504 | 1504 | ||
| 1505 | (defconst erc-default-port 6667 | 1505 | (defconst erc-default-port 6667 |
| @@ -2229,7 +2229,7 @@ Non-interactively, it takes the keyword arguments | |||
| 2229 | 2229 | ||
| 2230 | That is, if called with | 2230 | That is, if called with |
| 2231 | 2231 | ||
| 2232 | (erc :server \"irc.freenode.net\" :full-name \"Harry S Truman\") | 2232 | (erc :server \"irc.libera.chat\" :full-name \"J. Random Hacker\") |
| 2233 | 2233 | ||
| 2234 | then the server and full-name will be set to those values, whereas | 2234 | then the server and full-name will be set to those values, whereas |
| 2235 | `erc-compute-port', `erc-compute-nick' and `erc-compute-full-name' will | 2235 | `erc-compute-port', `erc-compute-nick' and `erc-compute-full-name' will |
| @@ -3355,8 +3355,9 @@ to send. | |||
| 3355 | 3355 | ||
| 3356 | If only one word is given, display the mode of that target. | 3356 | If only one word is given, display the mode of that target. |
| 3357 | 3357 | ||
| 3358 | A list of valid mode strings for Freenode may be found at | 3358 | A list of valid mode strings for Libera.Chat may be found at |
| 3359 | URL `http://freenode.net/using_the_network.shtml'." | 3359 | `https://libera.chat/guides/channelmodes' and |
| 3360 | `https://libera.chat/guides/usermodes'." | ||
| 3360 | (cond | 3361 | (cond |
| 3361 | ((string-match "^\\s-\\(.*\\)$" line) | 3362 | ((string-match "^\\s-\\(.*\\)$" line) |
| 3362 | (let ((s (match-string 1 line))) | 3363 | (let ((s (match-string 1 line))) |