(byte-compile-warn-obsolete): New function.
[emacs.git] / lisp / erc / erc-networks.el
blobb74fdb245a44d5b7123607f7c1ab8a1d0e3894b5
1 ;;; erc-networks.el --- IRC networks
3 ;; Copyright (C) 2002, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
5 ;; Author: Mario Lang <mlang@lexx.delysid.org>
6 ;; Keywords: comm
8 ;; This file is part of GNU Emacs.
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
11 ;; it under the terms of the GNU General Public License as published by
12 ;; the Free Software Foundation; either version 3, or (at your option)
13 ;; any later version.
15 ;; GNU Emacs is distributed in the hope that it will be useful,
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;; GNU General Public License for more details.
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
22 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23 ;; Boston, MA 02110-1301, USA.
25 ;;; Commentary:
27 ;; This file deals with IRC networks.
29 ;; Usage:
31 ;; This is the "networks" module.
33 ;; M-x erc-server-select provides an alternative way to connect to servers by
34 ;; choosing networks.
35 ;; You can use (eq (erc-network) 'Network) if you'd like to set variables or do
36 ;; certain actions according to which network you're connected to.
37 ;; If a network you use is not listed in `erc-networks-alist', you can put
38 ;; (add-to-list 'erc-networks-alist '(Network "irc.server-name.net")) in your
39 ;; config file.
41 ;;; Code:
43 (require 'erc)
44 (eval-when-compile (require 'cl))
46 ;; Variables
48 (defgroup erc-networks nil
49 "IRC Networks"
50 :group 'erc)
52 (defcustom erc-server-alist
53 '(("4-irc: Random server" 4-irc "4-irc.com" 6667)
54 ("A5KNet: Random server" A5KNet "irc.a5knet.com" ((6660 6669)))
55 ("AbleNet: Random server" AbleNet "irc.ablenet.org" 6667)
56 ("Accessirc: Random server" Accessirc "irc.accessirc.net" 6667)
57 ("Acestar: Random server" Acestar "irc.acestar.org" 6667)
58 ("Action-IRC: Random server" Action-IRC "irc.action-irc.net" ((6660 6669)))
59 ("AfterNET: Random server" AfterNET "irc.afternet.org" 6667)
60 ("Alternativenet: Random server" Alternativenet "irc.altnet.org" 6667)
61 ("AmigaNet: Random server" AmigaNet "irc.amiganet.org" 6667)
62 ("AngelEyez: Random server" AngelEyez "irc.angeleyez.net" ((6666 7000)))
63 ("AnotherNet: Random server" Anothernet "irc.another.net" (6667 7000 ))
64 ("ArabChat: Random server" ArabChat "irc.arabchat.org" ((6660 6667)))
65 ("Ars-OpenIRC: Random server" Ars "irc.arstechnica.com" 6667)
66 ("AsiaTalk: Random server" AsiaTalk "irc.asiatalk.org" ((6667 6669) 7000 ))
67 ("AstroLink: Random server" AstroLink "irc.astrolink.org" ((6660 6667)))
68 ("Asylumnet: Random server" Asylumnet "irc.asylum-net.org" ((6661 6669) 7000 7777 ))
69 ("Austnet: Random AU server" Austnet "au.austnet.org" 6667)
70 ("Austnet: Random NZ server" Austnet "nz.austnet.org" 6667)
71 ("Austnet: Random SG server" Austnet "sg.austnet.org" 6667)
72 ("Austnet: Random US server" Austnet "us.austnet.org" 6667)
73 ("AwesomeChat: Random server" AwesomeChat "irc.awesomechat.net" ((6661 6669)))
74 ("Awesomechristians: Random server" Awesomechristians "irc.awesomechristians.com" 7000)
75 ("Axenet: Random server" Axenet "irc.axenet.org" ((6660 6667)))
76 ("BeyondIRC: Random server" Beyondirc "irc.beyondirc.net" ((6660 6669)))
77 ("BGIRC: Random server" BGIRC "irc.bulgaria.org" ((6666 6669) 7000 ))
78 ("Blabbernet: Random server" Blabbernet "irc.blabber.net" (6667 7000 ))
79 ("Blitzed: Random server" Blitzed "irc.blitzed.org" (6667 7000 ))
80 ("Brasirc: Random server" Brasirc "irc.brasirc.net" ((6666 6667)))
81 ("Brasirc: BR, PA, Belem" Brasirc "irc.libnet.com.br" ((6666 6668) 7777 8002 ))
82 ("BRASnet: Random European server" BRASnet "eu.brasnet.org" ((6665 6669)))
83 ("BRASnet: Random US server" BRASnet "us.brasnet.org" ((6665 6669)))
84 ("BubbleNet: Random server" BubbleNet "irc.bubblenet.org" ((6667 6669)))
85 ("CCnet: Random server" CCnet "irc.cchat.net" (6667 7000 ))
86 ("CCnet: US, TX, Dallas" CCnet "irc2.cchat.net" (6667 7000 ))
87 ("Chat-Net: Random server" Chat-Net "irc.chat-net.org" 6667)
88 ("Chat-Solutions: Random server" Chat-Solutions "irc.chat-solutions.org" 6667)
89 ("Chatcafe: Random server" Chatcafe "irc.chatcafe.net" 6667)
90 ("Chatchannel: Random server" Chatchannel "irc.chatchannel.org" ((6666 6669) 7000 ))
91 ("ChatCircuit: Random server" ChatCircuit "irc.chatcircuit.com" 6668)
92 ("Chatlink: Random server" Chatlink "irc.chatlink.org" 6667)
93 ("Chatnet: Random AU server" Chatnet "au.chatnet.org" 6667)
94 ("Chatnet: Random EU server" Chatnet "eu.chatnet.org" 6667)
95 ("Chatnet: Random US server" Chatnet "us.chatnet.org" 6667)
96 ("ChatNut: Random server" ChatNut "irc.chatnut.net" (6667 7000 ))
97 ("Chatpinoy: Random server" Chatpinoy "irc.chatpinoy.com" 6667)
98 ("ChatPR: Random server" ChatPR "irc.chatpr.org" 6667)
99 ("Chatroom: Random server" Chatroom "irc.chatroom.org" 6667)
100 ("Chatster: Random server" Chatster "irc.chatster.org" 6667)
101 ("ChatX: Random server" ChatX "irc.chatx.net" 6667)
102 ("China263: Random server" China263 "irc.263.net" 6667)
103 ("Cineplex1: Random server" Cineplex1 "irc.cineplex1.com" ((6666 6668)))
104 ("CNN: CNN News discussions" CNN "chat.cnn.com" ((6667 6669) 7000 ))
105 ("CobraNet: Random server" CobraNet "irc.cobra.net" 6667)
106 ("Coolchat: Random server" Coolchat "irc.coolchat.net" 6667)
107 ("Criten: Random server" Criten "irc.criten.net" 6667)
108 ("Cyberchat: Random server" Cyberchat "irc.cyberchat.org" (6667 6668 ))
109 ("CyGanet: Random server" CyGanet "irc.cyga.net" 6667)
110 ("DALnet: AS, MY, Coins" DALnet "coins.dal.net" ((6663 6668) 7000 ))
111 ("DALnet: CA, ON, Sodre" DALnet "sodre.on.ca.dal.net" ((6661 6669) 7000 ))
112 ("DALnet: EU, DE, Nexgo" DALnet "nexgo.de.eu.dal.net" ((6664 6669) 7000 ))
113 ("DALnet: EU, NO, Powertech" DALnet "powertech.no.eu.dal.net" ((6666 6667) 7000 ))
114 ("DALnet: EU, SE, Borg" DALnet "borg.se.eu.dal.net" (6667 7000 ))
115 ("DALnet: EU, SE, Ced" DALnet "ced.se.eu.dal.net" (6667 7000 ))
116 ("DALnet: US, GA, Astro" DALnet "astro.ga.us.dal.net" ((6661 6669) 7000 ))
117 ("DALnet: US, GA, Dragons" DALnet "dragons.ga.us.dal.net" ((6661 6669) 7000 ))
118 ("DALnet: US, GA, Elysium" DALnet "elysium.ga.us.dal.net" ((6661 6669) 7000 ))
119 ("DALnet: US, MA, Twisted" DALnet "twisted.ma.us.dal.net" ((6660 6669) 7001 7002 ))
120 ("DALnet: US, MO, Global" DALnet "global.mo.us.dal.net" ((6661 6669) 7000 ))
121 ("DALnet: US, NJ, Liberty" DALnet "liberty.nj.us.dal.net" ((6662 6669) 7000 ))
122 ("DALnet: US, VA, Wombat" DALnet "wombat.va.us.dal.net" ((6661 6669) 7000 ))
123 ("DALnet: Random EU server" DALnet "irc.eu.dal.net" 6667)
124 ("DALnet: Random US server" DALnet "irc.dal.net" ((6660 6667)))
125 ("Dark-Tou-Net: Random server" Dark-Tou-Net "irc.d-t-net.de" 6667)
126 ("Darkfire: Random server" Darkfire "irc.darkfire.net" (6667 7000 8000 ))
127 ("DarkMyst: Random server" DarkMyst "irc.darkmyst.org" 6667)
128 ("Darkserv: Random server" Darkserv "irc.darkserv.net" 6667)
129 ("Darksystem: Random server" Darksystem "irc.darksystem.com" 6667)
130 ("Darktree: Random server" Darktree "irc.darktree.net" 6667)
131 ("DayNet: Random server" DayNet "irc.daynet.org" 6667)
132 ("Deepspace: Disability network" Deepspace "irc.deepspace.org" 6667)
133 ("Different: Random server" Different "irc.different.net" 6667)
134 ("Digarix: Random server" Digarix "irc.digarix.net" 6667)
135 ("Digatech: Random server" Digatech "irc.digatech.net" 6667)
136 ("Digital-Base: Random server" Digital-Base "irc.digital-base.net" ((6660 7000)))
137 ("Digitalirc: Random server" Digitalirc "irc.digitalirc.net" 6667)
138 ("Discussioni: Random server" Discussioni "irc.discussioni.org" ((6666 6669)))
139 ("DorukNet: TR, Istanbul" DorukNet "irc.doruk.net.tr" ((6660 6669) 7000 8888 ))
140 ("Dreamcast: Random server" Dreamcast "irc0.dreamcast.com" 6667)
141 ("DWChat: Random server" DWChat "irc.dwchat.net" 6667)
142 ("Dynastynet: Random server" Dynastynet "irc.dynastynet.net" 6667)
143 ("EFnet: CA, AB, Edmonton (arcti)" EFnet "irc.arcti.ca" 6667)
144 ("EFnet: CA, AB, Edmonton (mpls)" EFnet "irc.mpls.ca" ((6660 6669)))
145 ("EFnet: CA, ON, Toronto" EFnet "irc2.magic.ca" 6667)
146 ("EFnet: CA, QB, Montreal" EFnet "irc.qeast.net" 6667)
147 ("EFnet: EU, DK, Aarhus" EFnet "irc.inet.tele.dk" 6667)
148 ("EFnet: EU, FI, Helsinki" EFnet "efnet.cs.hut.fi" 6667)
149 ("EFnet: EU, FR, Paris" EFnet "irc.isdnet.fr" ((6667 6669)))
150 ("EFnet: EU, NL, Amsterdam" EFnet "efnet.vuurwerk.nl" 6667)
151 ("EFnet: EU, NO, Homelien" EFnet "irc.homelien.no" (5190 (6666 6667) (7000 7001) ))
152 ("EFnet: EU, NO, Oslo" EFnet "irc.daxnet.no" ((6666 7000)))
153 ("EFnet: EU, PL, Warszawa" EFnet "irc.efnet.pl" 6667)
154 ("EFnet: EU, RU, Moscow" EFnet "irc.rt.ru" ((6661 6669)))
155 ("EFnet: EU, SE, Dalarna" EFnet "irc.du.se" ((6666 6669)))
156 ("EFnet: EU, SE, Gothenberg" EFnet "irc.hemmet.chalmers.se" ((6666 7000)))
157 ("EFnet: EU, SE, Sweden" EFnet "irc.light.se" 6667)
158 ("EFnet: EU, UK, London (carrier)" EFnet "irc.carrier1.net.uk" ((6666 6669)))
159 ("EFnet: EU, UK, London (demon)" EFnet "efnet.demon.co.uk" ((6665 6669)))
160 ("EFnet: ME, IL, Inter" EFnet "irc.inter.net.il" ((6665 6669)))
161 ("EFnet: US, AZ, Phoenix" EFnet "irc.easynews.com" (6660 (6665 6667) 7000 ))
162 ("EFnet: US, CA, San Jose" EFnet "irc.concentric.net" ((6665 6668)))
163 ("EFnet: US, CA, San Luis Obispo" EFnet "irc.prison.net" ((6666 6667)))
164 ("EFnet: US, GA, Atlanta" EFnet "irc.mindspring.com" ((6660 6669)))
165 ("EFnet: US, MI, Ann Arbor" EFnet "irc.umich.edu" 6667)
166 ("EFnet: US, MN, Twin Cities" EFnet "irc.umn.edu" ((6665 6669)))
167 ("EFnet: US, NY, Mineola" EFnet "irc.lightning.net" ((6665 7000)))
168 ("EFnet: US, NY, New York (east)" EFnet "irc.east.gblx.net" 6667)
169 ("EFnet: US, NY, New York (flamed)" EFnet "irc.flamed.net" ((6665 6669)))
170 ("EFnet: US, TX, Houston" EFnet "ircd.lagged.org" ((6660 6669)))
171 ("EFnet: US, VA, Ashburn" EFnet "irc.secsup.uu.net" ((6665 6669) 8080 ))
172 ("EFnet: Random AU server" EFnet "au.rr.efnet.net" 6667)
173 ("EFnet: Random CA server" EFnet "ca.rr.efnet.net" 6667)
174 ("EFnet: Random EU server" EFnet "eu.rr.efnet.net" 6667)
175 ("EFnet: Random US server" EFnet "us.rr.efnet.net" 6667)
176 ("EgyptianIRC: Random server" EgyptianIRC "irc.egyptianirc.net" ((6667 6669)))
177 ("Eircnet: Random server" Eircnet "irc.eircnet.org" ((6660 6669) 7000 ))
178 ("Eleethal: Random server" Eleethal "irc.eleethal.com" ((6660 6669) 7000 ))
179 ("EntertheGame: Random server" EntertheGame "irc.enterthegame.com" ((6667 6669)))
180 ("EpiKnet: Random server" EpiKnet "irc.epiknet.org" ((6660 6669) 7000 7001 ))
181 ("EsperNet: Random server" EsperNet "irc.esper.net" (5555 (6667 6669) ))
182 ("Esprit: Random server" Esprit "irc.esprit.net" 6667)
183 ("euIRC: Random server" euIRC "irc.euirc.net" ((6665 6669)))
184 ("Evilzinc: Random server" Evilzinc "irc.evilzinc.net" ((6660 6669) 7000 8000 ))
185 ("ExodusIRC: Random server" ExodusIRC "irc.exodusirc.net" ((6660 6669)))
186 ("FDFnet: Random server" FDFnet "irc.fdfnet.net" ((6666 6668) 9999 ))
187 ("FEFnet: Random server" FEFnet "irc.fef.net" 6667)
188 ("Financialchat: Random server" Financialchat "irc.financialchat.com" ((6667 6669) 7000 ))
189 ("Forestnet: Random server" Forestnet "irc.forestnet.org" (6667 7000 ))
190 ("ForeverChat: Random server" ForeverChat "irc.foreverchat.net" ((6660 6669) 7000 ))
191 ("Fraggers: Random server" Fraggers "irc.fraggers.co.uk" ((6661 6669) (7000 7001) ))
192 ("FreedomChat: Random server" FreedomChat "chat.freedomchat.net" 6667)
193 ("FreedomIRC: Random server" FreedomIRC "irc.freedomirc.net" 6667)
194 ("Freenode: Random server" freenode "irc.freenode.net" 6667)
195 ("Freenode: Random EU server" freenode "irc.eu.freenode.net" 6667)
196 ("Freenode: Random US server" freenode "irc.us.freenode.net" 6667)
197 ("FunNet: Random server" FunNet "irc.funnet.org" 6667)
198 ("Galaxynet: Random server" GalaxyNet "irc.galaxynet.org" ((6662 6668) 7000 ))
199 ("Galaxynet: AU, NZ, Auckland" GalaxyNet "auckland.nz.galaxynet.org" ((6661 6669)))
200 ("Galaxynet: EU, BE, Online" GalaxyNet "online.be.galaxynet.org" ((6661 6669)))
201 ("Galaxynet: US, FL, Florida" GalaxyNet "gymnet.us.galaxynet.org" ((6661 6669)))
202 ("Gamesnet: Random east US server" Gamesnet "east.gamesnet.net" 6667)
203 ("Gamesnet: Random west US server" Gamesnet "west.gamesnet.net" 6667)
204 ("GammaForce: Random server" GammaForce "irc.gammaforce.org" ((6660 6669) 7000 ))
205 ("GIKInet: Random server" GIKInet "irc.giki.edu.pk" 6667)
206 ("GizNet: Random server" GizNet "irc.giznet.org" ((6666 6669) 7000 ))
207 ("Globalchat: Random server" Globalchat "irc.globalchat.org" 6667)
208 ("GlobIRC: Random server" GlobIRC "irc.globirc.net" ((6666 6668) 9999 ))
209 ("Goldchat: Random server" Goldchat "irc.goldchat.nl" ((6660 6669) 7000 ))
210 ("Goodchatting: Random server" Goodchatting "irc.goodchatting.com" ((6661 6669) 7000 ))
211 ("GravityLords: Random server" GravityLords "irc.gravitylords.net" 6667)
212 ("Grnet: Random EU server" GRnet "gr.irc.gr" (6667 7000 ))
213 ("Grnet: Random server" GRnet "srv.irc.gr" (6667 7000 ))
214 ("Grnet: Random US server" GRnet "us.irc.gr" (6667 7000 ))
215 ("GulfChat: Random server" GulfChat "irc.gulfchat.net" ((6660 6669)))
216 ("HabberNet: Random server" HabberNet "irc.habber.net" 6667)
217 ("HanIRC: Random server" HanIRC "irc.hanirc.org" 6667)
218 ("Hellenicnet: Random server" Hellenicnet "irc.mirc.gr" (6667 7000 ))
219 ("IceNet: Random server" IceNet "irc.icenet.org.za" 6667)
220 ("ICQnet: Random server" ICQnet "irc.icq.com" 6667)
221 ("Infatech: Random server" Infatech "irc.infatech.net" ((6660 6669)))
222 ("Infinity: Random server" Infinity "irc.infinity-irc.org" 6667)
223 ("Infomatrix: Random server" Infomatrix "irc.infomatrix.net" 6667)
224 ("Inside3D: Random server" Inside3D "irc.inside3d.net" ((6661 6669)))
225 ("InterlinkChat: Random server" InterlinkChat "irc.interlinkchat.net" ((6660 6669) 7000 ))
226 ("IRC-Chile: Random server" IRC-Chile "irc.cl" 6667)
227 ("IRC-Hispano: Random server" IRC-Hispano "irc.irc-hispano.org" 6667)
228 ("IRCchat: Random server" IRCchat "irc.ircchat.tk" 6667)
229 ("IRCGate: Random server" IRCGate "irc.ircgate.net" ((6667 6669)))
230 ("IRCGeeks: Random server" IRCGeeks "irc.ircgeeks.org" ((6660 6669)))
231 ("IRChat: Random server" IRChat "irc.irchat.net" ((6660 6669)))
232 ("IrcLordz: Random server" IrcLordz "irc.irclordz.com" 6667)
233 ("IrcMalta: Random server" IrcMalta "irc.ircmalta.org" ((6660 6667)))
234 ("IRCnet: EU, FR, Random" IRCnet "irc.fr.ircnet.net" 6667)
235 ("IRCnet: EU, IT, Random" IRCnet "irc.ircd.it" ((6665 6669)))
236 ("IRCnet: AS, IL, Haifa" IRCnet "ircnet.netvision.net.il" ((6661 6668)))
237 ("IRCnet: AS, JP, Tokyo" IRCnet "irc.tokyo.wide.ad.jp" 6667)
238 ("IRCnet: AS, TW, Seed" IRCnet "irc.seed.net.tw" 6667)
239 ("IRCnet: EU, AT, Linz" IRCnet "linz.irc.at" ((6666 6668)))
240 ("IRCnet: EU, AT, Wien" IRCnet "vienna.irc.at" ((6666 6669)))
241 ("IRCnet: EU, BE, Brussels" IRCnet "irc.belnet.be" 6667)
242 ("IRCnet: EU, BE, Zaventem" IRCnet "ircnet.wanadoo.be" ((6661 6669)))
243 ("IRCnet: EU, CZ, Prague" IRCnet "irc.felk.cvut.cz" 6667)
244 ("IRCnet: EU, DE, Berlin" IRCnet "irc.fu-berlin.de" ((6665 6669)))
245 ("IRCnet: EU, DE, Dusseldorf" IRCnet "irc.freenet.de" ((6665 6669)))
246 ("IRCnet: EU, DE, Stuttgart" IRCnet "irc.belwue.de" ((6665 6669)))
247 ("IRCnet: EU, DK, Copenhagen" IRCnet "irc.ircnet.dk" 6667)
248 ("IRCnet: EU, EE, Tallinn" IRCnet "irc.estpak.ee" ((6666 6668)))
249 ("IRCnet: EU, FI, Helsinki" IRCnet "irc.cs.hut.fi" 6667)
250 ("IRCnet: EU, GR, Thessaloniki" IRCnet "irc.ee.auth.gr" ((6666 6669)))
251 ("IRCnet: EU, HU, Budapest" IRCnet "irc.elte.hu" 6667)
252 ("IRCnet: EU, IS, Reykjavik (ircnet)" IRCnet "irc.ircnet.is" ((6661 6669)))
253 ("IRCnet: EU, IS, Reykjavik (simnet)" IRCnet "irc.simnet.is" ((6661 6669)))
254 ("IRCnet: EU, IT, Rome" IRCnet "irc.tin.it" ((6665 6669)))
255 ("IRCnet: EU, NL, Amsterdam (nlnet)" IRCnet "irc.nl.uu.net" ((6660 6669)))
256 ("IRCnet: EU, NL, Amsterdam (xs4all)" IRCnet "irc.xs4all.nl" ((6660 6669)))
257 ("IRCnet: EU, NL, Enschede" IRCnet "irc.snt.utwente.nl" ((6660 6669)))
258 ("IRCnet: EU, NL, Nijmegen" IRCnet "irc.sci.kun.nl" ((6660 6669)))
259 ("IRCnet: EU, NO, Oslo" IRCnet "irc.ifi.uio.no" 6667)
260 ("IRCnet: EU, NO, Trondheim" IRCnet "irc.pvv.ntnu.no" 6667)
261 ("IRCnet: EU, PL, Lublin" IRCnet "lublin.irc.pl" ((6666 6668)))
262 ("IRCnet: EU, PL, Warsaw" IRCnet "warszawa.irc.pl" ((6666 6668)))
263 ("IRCnet: EU, RU, Moscow" IRCnet "irc.msu.ru" 6667)
264 ("IRCnet: EU, SE, Lulea" IRCnet "irc.ludd.luth.se" ((6661 6669)))
265 ("IRCnet: EU, UK, London (Demon)" IRCnet "ircnet.demon.co.uk" ((6665 6669)))
266 ("IRCnet: EU, UK, London (Easynet)" IRCnet "ircnet.easynet.co.uk" ((6666 6669)))
267 ("IRCnet: US, NY, New York" IRCnet "irc.stealth.net" ((6660 6669)))
268 ("IRCnet: Random AU server" IRCnet "au.ircnet.org" 6667)
269 ("IRCnet: Random EU server" IRCnet "eu.ircnet.org" ((6665 6668)))
270 ("IRCnet: Random US server" IRCnet "us.ircnet.org" ((6665 6668)))
271 ("IRCSoulZ: Random server" IRCSoulZ "irc.ircsoulz.net" 6667)
272 ("IRCSul: BR, PR, Maringa" IRCSul "irc.wnet.com.br" 6667)
273 ("IrcTalk: Random server" IrcTalk "irc.irctalk.net" ((6660 6669)))
274 ("Irctoo: Random server" Irctoo "irc.irctoo.net" 6667)
275 ("IRCtown: Random server" IRCtown "irc.irctown.net" ((6666 6669) 7000 ))
276 ("IRCworld: Random server" IRCworld "irc.ircworld.org" 6667)
277 ("ircXtreme: Random server" ircXtreme "irc.ircXtreme.net" ((6660 6669)))
278 ("Israelnet: Random server" Israelnet "irc.israel.net" 6667)
279 ("K0wNet: Random server" K0wNet "irc.k0w.net" ((6660 6669)))
280 ("KDFSnet: Random server" KDFSnet "irc.kdfs.net" ((6667 6669)))
281 ("Kemik: Random server" Kemik "irc.kemik.net" 6667)
282 ("Kewl.Org: Random server" Kewl\.Org "irc.kewl.org" (6667 7000 ))
283 ("Kickchat: Random server" Kickchat "irc.kickchat.com" ((6660 6669) 7000 ))
284 ("Kidsworld: Random server" KidsWorld "irc.kidsworld.org" ((6666 6669)))
285 ("Knightnet: AF, ZA, Durban" Knightnet "orc.dbn.za.knightnet.net" (6667 5555 ))
286 ("Knightnet: US, CA, Goldengate" Knightnet "goldengate.ca.us.knightnet.net" (6667 5555 ))
287 ("Konfido.Net: Random server" Konfido\.Net "irc.konfido.net" 6667)
288 ("KreyNet: Random server" Kreynet "irc.krey.net" 6667)
289 ("Krono: Random server" Krono "irc.krono.net" ((6660 6669) 7000 ))
290 ("Krushnet: Random server" Krushnet "irc.krushnet.org" 6667)
291 ("LagNet: Random server" LagNet "irc.lagnet.org.za" 6667)
292 ("LagNet: AF, ZA, Cape Town" LagNet "reaper.lagnet.org.za" 6667)
293 ("LagNet: AF, ZA, Johannesburg" LagNet "mystery.lagnet.org.za" 6667)
294 ("Librenet: Random server" Librenet "irc.librenet.net" 6667)
295 ("LinkNet: Random server" LinkNet "irc.link-net.org" ((6667 6669)))
296 ("LinuxChix: Random server" LinuxChix "irc.linuxchix.org" 6667)
297 ("Liquidized: Random server" Liquidized "irc.liquidized.net" (6667 7000 ))
298 ("M-IRC: Random server" M-IRC "irc.m-sys.org" ((6667 6669)))
299 ("MagicStar: Random server" MagicStar "irc.magicstar.net" 6667)
300 ("Mavra: Random server" Mavra "irc.mavra.net" 6667)
301 ("MediaDriven: Random server" MediaDriven "irc.mediadriven.com" ((6667 6669)))
302 ("mIRC-X: Random server" mIRC-X "irc.mircx.com" (6667 7000 ))
303 ("Morat: Random server" Morat "irc.morat.net" 6667)
304 ("MusicCity: Random server" MusicCity "chat.musiccity.com" 6667)
305 ("Mysteria: Random server" Mysteria "irc.mysteria.net" (6667 7000 ))
306 ("Mysterychat: Random server" Mysterychat "irc.mysterychat.net" ((6667 6669)))
307 ("Mystical: Random server" Mystical "irc.mystical.net" (6667 7000 ))
308 ("Narancs: Random server" Narancs "irc.narancs.com" ((6667 6669) 7000 ))
309 ("Net-France: Random server" Net-France "irc.net-france.com" 6667)
310 ("Nevernet: Random server" Nevernet "irc.nevernet.net" 6667)
311 ("Newnet: Random server" Newnet "irc.newnet.net" ((6665 6667)))
312 ("Nexusirc: Random server" Nexusirc "irc.nexusirc.org" 6667)
313 ("Nightstar: Random server" NightStar "irc.nightstar.net" ((6665 6669)))
314 ("NitrousNet: Random server" NitrousNet "irc.nitrousnet.net" 6667)
315 ("Novernet: Random server" Novernet "irc.novernet.com" ((6665 6669) 7000 ))
316 ("Nullrouted: Random server" Nullrouted "irc.nullrouted.org" ((6666 6669) 7000 ))
317 ("NullusNet: Random server" NullusNet "irc.nullus.net" 6667)
318 ("OFTC: Random server" OFTC "irc.oftc.net" ((6667 6670) 7000))
319 ("OpChat: Random server" OpChat "irc.opchat.org" ((6667 6669)))
320 ("Othernet: Random server" Othernet "irc.othernet.org" 6667)
321 ("Othernet: US, FL, Miami" Othernet "miami.fl.us.othernet.org" 6667)
322 ("Othernet: US, MO, StLouis" Othernet "stlouis.mo.us.othernet.org" 6667)
323 ("Otherside: Random server" OtherSide "irc.othersideirc.net" 6667)
324 ("Outsiderz: Random server" Outsiderz "irc.outsiderz.com" 6667)
325 ("OzOrg: AU, Perth" OzOrg "iinet.perth.oz.org" 6667)
326 ("Peacefulhaven: Random server" Peacefulhaven "irc.peacefulhaven.net" ((6660 6669) 7000 ))
327 ("PhazedIRC: Random server" PhazedIRC "irc.phazedirc.net" 6667)
328 ("Philchat: Random server" Philchat "irc.philchat.net" 6667)
329 ("phrozN: Random server" phrozN "irc.phrozn.net" 6667)
330 ("PiNet: Random server" PiNet "irc.praetorians.org" ((6665 6669)))
331 ("Pinoycentral: Random server" Pinoycentral "chat.abs-cbn.com" 6667)
332 ("Planetarion: Random server" Planetarion "irc.planetarion.com" 6667)
333 ("POLNet: Random server" POLNet "irc.ircnet.pl" 6667)
334 ("Psionics: CA, PQ, Montreal" Psionics "chat.psionics.net" ((6660 6669)))
335 ("PTirc: Random server" PTirc "irc.ptirc.com.pt" 6667)
336 ("PTlink: Random server" PTlink "irc.ptlink.net" 6667)
337 ("PTnet: Random server" PTnet "irc.ptnet.org" 6667)
338 ("QChat: Random server" QChat "irc.qchat.net" 6667)
339 ("QuakeNet: Random German server" QuakeNet "de.quakenet.org" ((6667 6669)))
340 ("QuakeNet: Random server" QuakeNet "irc.quakenet.eu.org" ((6667 6669)))
341 ("QuakeNet: Random Swedish server" QuakeNet "se.quakenet.org" ((6667 6669)))
342 ("QuakeNet: Random UK server" QuakeNet "uk.quakenet.org" ((6667 6669)))
343 ("QuakeNet: Random US server" QuakeNet "us.quakenet.org" ((6667 6669)))
344 ("Realirc: Random server" Realirc "irc.realirc.org" 6667)
345 ("RealmNET: Random server" RealmNET "irc.realmnet.com" 6667)
346 ("Rebelchat: Random server" Rebelchat "irc.rebelchat.org" 6667)
347 ("Red-Latina: Random server" Red-Latina "irc.red-latina.org" 6667)
348 ("RedLatona: Random server" RedLatona "irc.redlatona.net" (6667 6668 ))
349 ("Relicnet: Random server" Relicnet "irc.relic.net" 6667)
350 ("Rezosup: Random server" Rezosup "irc.rezosup.org" 6667)
351 ("Risanet: Random server" Risanet "irc.risanet.com" ((6667 6669)))
352 ("Rizon: Random server" Rizon "irc.rizon.net" (6633 (6660 6669) 6697 7000 8080 9999))
353 ("Rubiks: Random server" Rubiks "irc.rubiks.net" 6667)
354 ("Rusnet: EU, RU, Tomsk" Rusnet "irc.tsk.ru" ((6667 6669) (7770 7775) ))
355 ("Rusnet: EU, RU, Vladivostok" Rusnet "irc.vladivostok.ru" ((6667 6669) (7770 7775) ))
356 ("Rusnet: EU, UA, Kiev" Rusnet "irc.kar.net" ((6667 6669) (7770 7775) ))
357 ("Sandnet: Random server" Sandnet "irc.sandnet.net" ((6660 6669) 7000 ))
358 ("Scunc: Random server" Scunc "irc.scunc.net" 6667)
359 ("SerbianCafe: Random server" SerbianCafe "irc.serbiancafe.ws" ((6665 6669)))
360 ("SexNet: Random server" SexNet "irc.sexnet.org" 6667)
361 ("ShadowFire: Random server" ShadowFire "irc.shadowfire.org" 6667)
362 ("ShadowWorld: Random server" ShadowWorld "irc.shadowworld.net" 6667)
363 ("SkyNet: Random server" SkyNet "irc.bronowski.pl" ((6666 6668)))
364 ("Slashnet: Random server" Slashnet "irc.slashnet.org" 6667)
365 ("SolarStone: Random server" SolarStone "irc.solarstone.net" ((6660 6669)))
366 ("Sorcerynet: Random server" Sorcery "irc.sorcery.net" (6667 7000 9000 ))
367 ("Sorcerynet: EU, SE, Karlskrona" Sorcery "nexus.sorcery.net" (6667 7000 9000 ))
368 ("Sorcerynet: US, CA, Palo Alto" Sorcery "kechara.sorcery.net" (6667 7000 9000 ))
369 ("SourceIRC: Random server" SourceIRC "irc.sourceirc.net" ((6667 6669) 7000 ))
370 ("SpaceTronix: Random server" SpaceTronix "irc.spacetronix.net" ((6660 6669) 7000 ))
371 ("Spirit-Harmony: Random server" Spirit-Harmony "irc.spirit-harmony.com" ((6661 6669)))
372 ("StarChat: Random server" StarChat "irc.starchat.net" ((6667 6669) 7000 ))
373 ("StarEquinox: Random server" StarEquinox "irc.starequinox.net" ((6660 6669)))
374 ("StarLink: Random server" Starlink "irc.starlink.net" ((6660 6669)))
375 ("StarLink-irc: Random server" starlink-irc "irc.starlink-irc.org" 6667)
376 ("StarWars-IRC: Random server" StarWars-IRC "irc.starwars-irc.net" ((6663 6667)))
377 ("Stormdancing: Random server" Stormdancing "irc.stormdancing.net" ((6664 6669) 7000 9000 ))
378 ("Superchat: Random server" Superchat "irc.superchat.org" ((6660 6668)))
379 ("Sysopnet: Random server" Sysopnet "irc.sysopnet.org" ((6666 6668)))
380 ("Telstra: Random server" Telstra "irc.telstra.com" ((6667 6669)))
381 ("TR-net: EU, TR, Ankara" TR-net "irc.dominet.com.tr" 6667)
382 ("TR-net: EU, Tr, Istanbul" TR-net "irc.teklan.com.tr" 6667)
383 ("Tri-net: Random server" Tri-net "irc.tri-net.org" 6667)
384 ("TriLink: Random server" TriLink "irc.ft4u.net" 6667)
385 ("TurkishChat: Random server" TurkishChat "irc.turkishchat.org" ((6660 6669) 7000 ))
386 ("UberNinja: Random server" UberNinja "irc.uberninja.net" ((6667 6669)))
387 ("UICN: Random server" UICN "irc.uicn.net" 6667)
388 ("UltraIRC: Random server" UltraIRC "irc.ultrairc.net" 6667)
389 ("UnderChat: Random server" UnderChat "irc.underchat.it" ((6660 6669) 7000 ))
390 ("Undernet: CA, ON, Toronto" Undernet "toronto.on.ca.undernet.org" ((6661 6669)))
391 ("Undernet: CA, QC, Montreal" Undernet "montreal.qu.ca.undernet.org" ((6660 6669)))
392 ("Undernet: EU, AT, Graz" Undernet "graz.at.eu.undernet.org" ((6661 6669)))
393 ("Undernet: EU, BE, Antwerp" Undernet "flanders.be.eu.undernet.org" ((6660 6669)))
394 ("Undernet: EU, BE, Brussels" Undernet "brussels.be.eu.undernet.org" 6667)
395 ("Undernet: EU, CH, Geneva" Undernet "geneva.ch.eu.undernet.org" ((6660 6669) 7777 8000 ))
396 ("Undernet: EU, FR, Caen" Undernet "caen.fr.eu.undernet.org" ((6666 6669)))
397 ("Undernet: EU, NL, Diemen" Undernet "diemen.nl.eu.undernet.org" ((6660 6669)))
398 ("Undernet: EU, NL, Haarlem" Undernet "haarlem.nl.eu.undernet.org" ((6660 6669)))
399 ("Undernet: EU, NO, Oslo" Undernet "oslo.no.eu.undernet.org" ((6660 6669)))
400 ("Undernet: EU, SE, Stockholm" Undernet "stockholm.se.eu.undernet.org" ((6666 6669)))
401 ("Undernet: EU, UK, Surrey" Undernet "surrey.uk.eu.undernet.org" ((6660 6669)))
402 ("Undernet: US, AZ, Mesa" Undernet "mesa.az.us.undernet.org" ((6665 6667)))
403 ("Undernet: US, CA, San Diego" Undernet "sandiego.ca.us.undernet.org" ((6660 6670)))
404 ("Undernet: US, DC, Washington" Undernet "washington.dc.us.undernet.org" ((6660 6669)))
405 ("Undernet: US, KS, Manhattan" Undernet "manhattan.ks.us.undernet.org" ((6660 6669)))
406 ("Undernet: US, NV, Las Vegas" Undernet "lasvegas.nv.us.undernet.org" ((6660 6669)))
407 ("Undernet: US, TX, Austin" Undernet "austin.tx.us.undernet.org" ((6660 6669)))
408 ("Undernet: US, UT, Saltlake" Undernet "saltlake.ut.us.undernet.org" ((6660 6669)))
409 ("Undernet: US, VA, Arlington" Undernet "arlington.va.us.undernet.org" ((6660 6669)))
410 ("Undernet: US, VA, McLean" Undernet "mclean.va.us.undernet.org" ((6666 6669)))
411 ("Undernet: Random EU server" Undernet "eu.undernet.org" 6667)
412 ("Undernet: Random US server" Undernet "us.undernet.org" 6667)
413 ("UnderZ: Random server" UnderZ "irc.underz.org" ((6667 6668)))
414 ("UniChat: Random server" UniChat "irc.uni-chat.net" 6667)
415 ("UnionLatina: Random server" UnionLatina "irc.unionlatina.org" 6667)
416 ("Univers: Random server" Univers "irc.univers.org" ((6665 6669)))
417 ("UnixR: Random server" UnixR "irc.unixr.net" ((6667 6669)))
418 ("Vidgamechat: Random server" Vidgamechat "irc.vidgamechat.com" 6667)
419 ("VirtuaNet: Random server" VirtuaNet "irc.virtuanet.org" ((6660 6669) 7000 ))
420 ("Vitamina: Random server" Vitamina "irc.vitamina.ca" 6667)
421 ("Voila: Random server" Voila "irc.voila.fr" 6667)
422 ("Wahou: Random server" Wahou "irc.wahou.org" ((6665 6669)))
423 ("Warpednet: Random server" Warpednet "irc.warped.net" 6667)
424 ("Weaklinks: Random server" Weaklinks "irc.weaklinks.net" ((6667 6669)))
425 ("Webnet: Random server" Webnet "irc.webchat.org" ((6667 6669) 7000 ))
426 ("Webnet: US, CA, Santa Clara" Webnet "webmaster.ca.us.webchat.org" ((6661 6669)))
427 ("WinChat: Random server" WinChat "irc.winchat.net" ((6661 6669)))
428 ("WinIRC: Random server" WinIRC "irc.winirc.org" ((6667 6669) 4400 ))
429 ("WorldIRC: Random server" WorldIRC "irc.worldirc.org" ((6660 6667)))
430 ("WyldRyde: Random server" WyldRyde "irc.wyldryde.net" ((6666 6669)))
431 ("XentoniX: Random server" XentoniX "irc.xentonix.net" ((6661 6669)))
432 ("Xevion: Random server" Xevion "irc.xevion.net" (6667 7000 ))
433 ("XNet: Random server" XNet "irc.xnet.org" 6667)
434 ("XWorld: Random server" XWorld "irc.xworld.org" 6667)
435 ("ZAnet Net: Random server" ZAnetNet "irc.zanet.net" 6667)
436 ("ZAnet Org: UK, London" ZAnetOrg "mystic.zanet.org.za" 6667)
437 ("ZiRC: Random server" ZiRC "irc.zirc.org" ((6660 6669)))
438 ("ZUHnet: Random server" ZUHnet "irc.zuh.net" 6667)
439 ("Zurna: Random server" Zurna "irc.zurna.net" 6667))
440 "Alist of irc servers. (NAME NET HOST PORTS) where
441 NAME is a name for that server,
442 NET is a symbol indicating to which network from `erc-networks-alist' this
443 server corresponds,
444 HOST is the servers hostname and
445 PORTS is either a number, a list of numbers, or a list of port ranges."
446 :group 'erc-networks
447 :type 'sexp)
449 (defcustom erc-networks-alist
450 '((4-irc "4-irc.com")
451 (A5KNet "a5knet.com")
452 (AbleNet "ablenet.org")
453 (Accessirc "accessirc.net")
454 (Acestar "acestar.org")
455 (Action-IRC "action-irc.net")
456 (AfterNET "afternet.org")
457 (Alternativenet "altnet.org")
458 (AmigaNet "amiganet.org")
459 (AngelEyez "angeleyez.net")
460 (Anothernet "another.net")
461 (ArabChat "arabchat.org")
462 (Ars "arstechnica.com")
463 (AsiaTalk "asiatalk.org")
464 (AstroLink "astrolink.org")
465 (Asylumnet "asylumnet.org")
466 (Austnet "austnet.org")
467 (AwesomeChat "awesomechat.net")
468 (Awesomechristians "awesomechristians.com")
469 (Axenet "axenet.org")
470 (Beyondirc "beyondirc.net")
471 (BGIRC "bulgaria.org")
472 (Blabbernet "blabber.net")
473 (Blitzed "blitzed.org")
474 (BrasIRC "brasirc.net")
475 (BRASnet "brasnet.org")
476 (BubbleNet "bubblenet.org")
477 (CCnet "christian-chat.net")
478 (Chat-Net "chat-net.org")
479 (Chat-Solutions "chat-solutions.org")
480 (Chatcafe "chatcafe.net")
481 (Chatchannel "chatchannel.org")
482 (ChatCircuit "chatcircuit.com")
483 (Chatlink "chatlink.org")
484 (Chatnet "chatnet.org")
485 (ChatNut "chatnut.net")
486 (Chatpinoy "chatpinoy.com")
487 (ChatPR "chatpr.org")
488 (Chatroom "chatroom.org")
489 (Chatster "chatster.org")
490 (ChatX "chatx.net")
491 (China263 "263.net")
492 (Cineplex1 "cineplex1.com")
493 (CNN "cnn.com")
494 (CobraNet "cobra.net")
495 (Coolchat "coolchat.net")
496 (Criten "criten.net")
497 (Cyberchat "cyberchat.org")
498 (CyGanet "cyga.net")
499 (DALnet "dal.net")
500 (Dark-Tou-Net "d-t-net.de")
501 (Darkfire "darkfire.net")
502 (DarkMyst "darkmyst.org")
503 (Darkserv "darkserv.net")
504 (Darksystem "darksystem.com")
505 (Darktree "darktree.net")
506 (DayNet "daynet.org")
507 (Deepspace "deepspace.org")
508 (Different "different.net")
509 (Digarix "digarix.net")
510 (Digatech "digatech.net")
511 (Digital-Base "digital-base.net")
512 (Digitalirc "digitalirc.net")
513 (Discussioni "discussioni.org")
514 (DorukNet "doruk.net.tr")
515 (DWChat "dwchat.net")
516 (Dynastynet "dynastynet.net")
517 (EFnet nil)
518 (EgyptianIRC "egyptianirc.net")
519 (Eircnet "eircnet.org")
520 (Eleethal "eleethal.com")
521 (EntertheGame "enterthegame.com")
522 (EpiKnet "epiknet.org")
523 (EsperNet "esper.net")
524 (Esprit "esprit.net")
525 (euIRC "euirc.net")
526 (Evilzinc "evilzinc.net")
527 (ExodusIRC "exodusirc.net")
528 (FDFnet "fdfnet.net")
529 (FEFnet "fef.net")
530 (Financialchat "financialchat.com")
531 (Forestnet "forestnet.org")
532 (ForeverChat "foreverchat.net")
533 (Fraggers "fraggers.co.uk")
534 (FreedomChat "freedomchat.net")
535 (FreedomIRC "freedomirc.net")
536 (freenode "freenode.net")
537 (FunNet "funnet.org")
538 (GalaxyNet "galaxynet.org")
539 (Gamesnet "gamesnet.net")
540 (GammaForce "gammaforce.org")
541 (GIKInet "giki.edu.pk")
542 (GizNet "giznet.org")
543 (Globalchat "globalchat.org")
544 (GlobIRC "globirc.net")
545 (Goldchat "goldchat.nl")
546 (Goodchatting "goodchatting.com")
547 (GravityLords "gravitylords.net")
548 (GRnet "irc.gr")
549 (GulfChat "gulfchat.net")
550 (HabberNet "habber.net")
551 (HanIRC "hanirc.org")
552 (Hellenicnet "mirc.gr")
553 (IceNet "icenet.org.za")
554 (ICQnet "icq.com")
555 (iip "anon.iip")
556 (Infatech "infatech.net")
557 (Infinity "infinity-irc.org")
558 (Infomatrix "infomatrix.net")
559 (Inside3D "inside3d.net")
560 (InterlinkChat "interlinkchat.net")
561 (IRC-Chile "irc.cl")
562 (IRC-Hispano "irc-hispano.org")
563 (IRCchat "ircchat.tk")
564 (IRCGate "ircgate.net")
565 (IRCGeeks "ircgeeks.org")
566 (IRChat "irchat.net")
567 (IrcLordz "irclordz.com")
568 (IrcMalta "ircmalta.org")
569 (IRCnet nil)
570 (IRCSoulZ "ircsoulz.net")
571 (IRCSul "wnet.com.br")
572 (IrcTalk "irctalk.net")
573 (Irctoo "irctoo.net")
574 (IRCtown "irc.irctown.net")
575 (IRCworld "ircworld.org")
576 (ircXtreme "ircXtreme.net")
577 (Israelnet "israel.net")
578 (K0wNet "k0w.net")
579 (KDFSnet "kdfs.net")
580 (Kemik "kemik.net")
581 (Kewl\.Org "kewl.org")
582 (Kickchat "kickchat.com")
583 (KidsWorld "kidsworld.org")
584 (Knightnet "knightnet.net")
585 (Konfido\.Net "konfido.net")
586 (Kreynet "krey.net")
587 (Krono "krono.net")
588 (Krushnet "krushnet.org")
589 (LagNet "lagnet.org.za")
590 (Librenet "librenet.net")
591 (LinkNet "link-net.org")
592 (LinuxChix "cats\.meow\.at\\|linuxchix\.org")
593 (Liquidized "liquidized.net")
594 (M-IRC "m-sys.org")
595 (MagicStar "magicstar.net")
596 (Mavra "mavra.net")
597 (MediaDriven "mediadriven.com")
598 (mIRC-X "mircx.com")
599 (Morat "morat.net")
600 (MusicCity "musiccity.com")
601 (Mysteria "mysteria.net")
602 (Mysterychat "mysterychat.net")
603 (Mystical "mystical.net")
604 (Narancs "narancs.com")
605 (Net-France "net-france.com")
606 (Nevernet "nevernet.net")
607 (Newnet "newnet.net")
608 (Nexusirc "nexusirc.org")
609 (NightStar "nightstar.net")
610 (NitrousNet "nitrousnet.net")
611 (Novernet "novernet.com")
612 (Nullrouted "nullrouted.org")
613 (NullusNet "nullus.net")
614 (OFTC "oftc.net")
615 (OpChat "opchat.org")
616 (Openprojects "openprojects.net")
617 (Othernet "othernet.org")
618 (OtherSide "othersideirc.net")
619 (Outsiderz "outsiderz.com")
620 (OzOrg "oz.org")
621 (Peacefulhaven "peacefulhaven.net")
622 (PhazedIRC "phazedirc.net")
623 (Philchat "philchat.net")
624 (phrozN "phrozn.net")
625 (PiNet "praetorians.org")
626 (Pinoycentral "abs-cbn.com")
627 (Planetarion "planetarion.com")
628 (POLNet "ircnet.pl")
629 (Psionics "psionics.net")
630 (PTirc "ptirc.com.pt")
631 (PTlink "ptlink.net")
632 (PTnet "ptnet.org")
633 (QChat "qchat.net")
634 (QuakeNet "quakenet.org")
635 (Realirc "realirc.org")
636 (RealmNET "realmnet.com")
637 (Rebelchat "rebelchat.org")
638 (Red-Latina "red-latina.org")
639 (RedLatona "redlatona.net")
640 (Relicnet "relic.net")
641 (Rezosup "rezosup.org")
642 (Risanet "risanet.com")
643 (Rubiks "rubiks.net")
644 (Rusnet "nil")
645 (Sandnet "sandnet.net")
646 (Scunc "scunc.net")
647 (SerbianCafe "serbiancafe.ws")
648 (SexNet "sexnet.org")
649 (ShadowFire "shadowfire.org")
650 (ShadowWorld "shadowworld.net")
651 (SkyNet "bronowski.pl")
652 (SlashNET "slashnet.org")
653 (SolarStone "solarstone.net")
654 (Sorcery "sorcery.net")
655 (SourceIRC "sourceirc.net")
656 (SpaceTronix "spacetronix.net")
657 (Spirit-Harmony "spirit-harmony.com")
658 (StarChat "starchat.net")
659 (StarEquinox "starequinox.net")
660 (Starlink "starlink.net")
661 (starlink-irc "starlink-irc.org")
662 (StarWars-IRC "starwars-irc.net")
663 (Stormdancing "stormdancing.net")
664 (Superchat "superchat.org")
665 (Sysopnet "sysopnet.org")
666 (Telstra "telstra.com")
667 (TR-net "dominet.com.tr")
668 (Tri-net "tri-net.org")
669 (TriLink "ft4u.net")
670 (TurkishChat "turkishchat.org")
671 (UberNinja "uberninja.net")
672 (UICN "uicn.net")
673 (UltraIRC "ultrairc.net")
674 (UnderChat "underchat.it")
675 (Undernet "undernet.org")
676 (UnderZ "underz.org")
677 (UniChat "irc.uni-chat.net")
678 (UnionLatina "unionlatina.org")
679 (Univers "univers.org")
680 (UnixR "unixr.net")
681 (Vidgamechat "vidgamechat.com")
682 (VirtuaNet "virtuanet.org")
683 (Vitamina "vitamina.ca")
684 (Voila "voila.fr")
685 (Wahou "wf-net.org")
686 (Warpednet "warped.net")
687 (Weaklinks "weaklinks.net")
688 (Webnet "webchat.org")
689 (WinChat "winchat.net")
690 (WinIRC "winirc.org")
691 (WorldIRC "worldirc.org")
692 (WyldRyde "wyldryde.net")
693 (XentoniX "xentonix.net")
694 (Xevion "xevion.net")
695 (XNet "xnet.org")
696 (XWorld "xworld.org")
697 (ZAnetNet "zanet.net")
698 (ZAnetOrg "zanet.org.za")
699 (ZiRC "zirc.org")
700 (ZUHnet "zuh.net")
701 (Zurna "zurna.net"))
702 "Alist of IRC networks. (NET MATCHER) where
703 NET is a symbol naming that IRC network and
704 MATCHER is used to find a corresponding network to a server while connected to
705 it. If it is regexp, it's used to match against `erc-server-announced-name'.
706 It can also be a function (predicate). Then it is executed with the
707 server buffer as current-buffer."
708 :group 'erc-networks
709 :type '(repeat
710 (list :tag "Network"
711 (symbol :tag "Network name")
712 (choice :tag "Network's common server ending"
713 (regexp)
714 (const :tag "Network has no common server ending" nil)))))
716 (defvar erc-network nil
717 "The name of the network you are connected to (a symbol).")
718 (make-variable-buffer-local 'erc-network)
720 ;; Functions:
722 ;;;###autoload
723 (defun erc-determine-network ()
724 "Return the name of the network or \"Unknown\" as a symbol. Use the
725 server parameter NETWORK if provided, otherwise parse the server name and
726 search for a match in `erc-networks-alist'."
727 ;; The server made it easy for us and told us the name of the NETWORK
728 (if (assoc "NETWORK" erc-server-parameters)
729 (intern (cdr (assoc "NETWORK" erc-server-parameters)))
731 ;; Loop through `erc-networks-alist' looking for a match.
732 (let ((server (or erc-server-announced-name erc-session-server)))
733 (loop for (name matcher) in erc-networks-alist
734 when (and matcher
735 (string-match (concat matcher "\\'") server))
736 do (return name)))
737 'Unknown)))
739 (defun erc-network ()
740 "Return the value of `erc-network' for the current server."
741 (erc-with-server-buffer erc-network))
743 (defun erc-current-network ()
744 "Deprecated. Use `erc-network' instead. Return the name of this server's
745 network as a symbol."
746 (erc-with-server-buffer
747 (intern (downcase (symbol-name erc-network)))))
749 (erc-make-obsolete 'erc-current-network 'erc-network
750 "Obsolete since erc-networks 1.5")
752 (defun erc-network-name ()
753 "Returns the name of the current network as a string."
754 (erc-with-server-buffer (symbol-name erc-network)))
756 (defun erc-set-network-name (proc parsed)
757 "Set `erc-network' to the value returned by `erc-determine-network'."
758 (unless erc-server-connected
759 (setq erc-network (erc-determine-network)))
760 nil)
762 (defun erc-unset-network-name (nick ip reason)
763 "Set `erc-network' to nil."
764 (setq erc-network nil)
765 nil)
767 (define-erc-module networks nil
768 "Provide data about IRC networks."
769 ((add-hook 'erc-server-375-functions 'erc-set-network-name)
770 (add-hook 'erc-server-422-functions 'erc-set-network-name)
771 (add-hook 'erc-disconnected-hook 'erc-unset-network-name))
772 ((remove-hook 'erc-server-375-functions 'erc-set-network-name)
773 (remove-hook 'erc-server-422-functions 'erc-set-network-name)
774 (remove-hook 'erc-disconnected-hook 'erc-unset-network-name)))
776 (defun erc-ports-list (ports)
777 "Return a list of PORTS.
779 PORTS should be a list of either:
780 A number, in which case it is returned a list.
781 Or a pair of the form (LOW HIGH), in which case, a list of all the
782 numbers between LOW and HIGH (inclusive) is returned.
784 As an example:
785 (erc-ports-list '(1)) => (1)
786 (erc-ports-list '((1 5))) => (1 2 3 4 5)
787 (erc-ports-list '(1 (3 5))) => (1 3 4 5)"
788 (let (result)
789 (dolist (p ports)
790 (cond ((numberp p)
791 (push p result))
792 ((listp p)
793 (setq result (nconc (loop for i from (cadr p) downto (car p)
794 collect i)
795 result)))))
796 (nreverse result)))
798 ;;;###autoload
799 (defun erc-server-select ()
800 "Interactively select a server to connect to using `erc-server-alist'."
801 (interactive)
802 (let* ((completion-ignore-case t)
803 (net (intern
804 (completing-read "Network: "
805 (erc-delete-dups
806 (mapcar (lambda (x)
807 (list (symbol-name (nth 1 x))))
808 erc-server-alist)))))
809 (srv (assoc
810 (completing-read "Server: "
811 (delq nil
812 (mapcar (lambda (x)
813 (when (equal (nth 1 x) net)
815 erc-server-alist)))
816 erc-server-alist))
817 (host (nth 2 srv))
818 (ports (if (listp (nth 3 srv))
819 (erc-ports-list (nth 3 srv))
820 (list (nth 3 srv))))
821 (port (nth (random (length ports)) ports)))
822 (erc :server host :port port)))
824 ;;; The following experimental
825 ;; It does not work yet, help me with it if you
826 ;; think it is worth the effort.
828 (defvar erc-settings
829 '((pals freenode ("kensanata" "shapr" "anti\\(fuchs\\|gone\\)"))
830 (format-nick-function (freenode "#emacs") erc-format-@nick))
831 "Experimental: Alist of configuration options.
832 The format is (VARNAME SCOPE VALUE) where
833 VARNAME is a symbol identifying the configuration option,
834 SCOPE is either a symbol which identifies an entry from
835 `erc-networks-alist' or a list (NET TARGET) where NET is a network symbol and
836 TARGET is a string identifying the channel/query target.
837 VALUE is the options value.")
839 (defun erc-get (var &optional net target)
840 (let ((items erc-settings)
841 elt val)
842 (while items
843 (setq elt (car items)
844 items (cdr items))
845 (when (eq (car elt) var)
846 (cond ((and net target (listp (nth 1 elt))
847 (eq net (car (nth 1 elt)))
848 (string-equal target (nth 1 (nth 1 elt))))
849 (setq val (nth 2 elt)
850 items nil))
851 ((and net (eq net (nth 1 elt)))
852 (setq val (nth 2 elt)
853 items nil))
854 ((and (not net) (not target) (not (nth 1 elt)))
855 (setq val (nth 2 elt)
856 items nil)))))
857 val))
859 (erc-get 'pals 'freenode)
861 (provide 'erc-networks)
863 ;;; erc-networks.el ends here
865 ;; Local Variables:
866 ;; indent-tabs-mode: t
867 ;; tab-width: 8
868 ;; End:
870 ;; arch-tag: 68cccabd-f66b-456c-9abe-5f993a2dc91c