From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.help Subject: Re: rcirc question Date: Mon, 28 Feb 2011 11:29:07 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1298889044 25992 80.91.229.12 (28 Feb 2011 10:30:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Feb 2011 10:30:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "B. T. Raven" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 28 11:30:40 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pu0NB-00040I-Pu for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Feb 2011 11:30:37 +0100 Original-Received: from localhost ([127.0.0.1]:36087 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pu0NA-0007Us-Nu for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Feb 2011 05:30:36 -0500 Original-Received: from [140.186.70.92] (port=51506 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pu0M6-0007T1-G1 for help-gnu-emacs@gnu.org; Mon, 28 Feb 2011 05:29:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pu0M4-0002tZ-6Y for help-gnu-emacs@gnu.org; Mon, 28 Feb 2011 05:29:30 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:44172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pu0M4-0002tN-1K for help-gnu-emacs@gnu.org; Mon, 28 Feb 2011 05:29:28 -0500 Original-Received: by iyf13 with SMTP id 13so3745270iyf.0 for ; Mon, 28 Feb 2011 02:29:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=QPBsreNJ6jv3/GHEh+eifYxlKTccE3kiUJDbEbHm69Y=; b=JfBNW03N/q9gI+b5x6HXEsS1ELcyErexYEpJholIBvN4CKhSqpXV6lq0cWUXqiXfxR K/PKMUDmkL1pItw0aeGjrjXDOXU5G68XCA+TTsJtjgQq2irBBp6Nygx3RvnGZfPEXSCH fALObVJTivt+a3zbLVVXYm4LtFtPY2rQeuveI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=f6FXmiliuFTpi1z2avHLGBdrOq1FzBsRBRBjvc7UXoo1S0aXlvS/WgzQZwXU2FfsmS IRjLWHZgNkq3LP9o4TppqZT179PP185HZwaOp5juKTaZRc4CyOVshuI1lqriL7x7Ha0J RjR1VU7yJcjPJJHOpdh6dYv6orO0lHxxI/x/g= Original-Received: by 10.231.20.9 with SMTP id d9mr3529189ibb.82.1298888967117; Mon, 28 Feb 2011 02:29:27 -0800 (PST) Original-Received: by 10.231.15.129 with HTTP; Mon, 28 Feb 2011 02:29:07 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79556 Archived-At: 2011/2/28 B. T. Raven : > Can I connect to more than one irc server at a time? I don't have > rcirc-server-alist in my variables (via C-h v) but do have: > > '(rcirc-startup-channels-alist (quote (("^irc.dal.net$" "#chan1") > ("^irc.freenode.net$" "#rcirc")))) > > rcirc connects only to dal.net > rcirc-startup-channels-alist is obsolete in Emacs 23 and has been replaced by rcirc-server-alist. If you use Emacs 23, use this new variable and configure it through customize. If you don't use Emacs 23 or a more recent version, rcirc-startup-channels-alist can be used to tell rcirc what channels to join when the server matches one of your regexps. However, the setting does _not_ say what servers to connect to. As far as I can tell, there is no way to tell rcirc to connect to multiple servers automatically on older Emacs versions. Try: (defun my-irc () (interactive) (rcirc-connect "irc.dal.net" 6667 "my_nick" "username" "fullname" '("#chan1")) (rcirc-connect "irc.freenode.net" ...)) -- Deniz Dogan