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