all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <moasen@zoho.com>
To: erc-discuss@gnu.org
Cc: help-gnu-emacs@gnu.org
Subject: Re: multiple servers with ERC
Date: Tue, 15 Aug 2017 22:41:36 +0200	[thread overview]
Message-ID: <86bmngef7j.fsf@zoho.com> (raw)
In-Reply-To: 27749B84-54D2-4268-87E5-8141DFBD3AC1@informatimago.com

Pascal Bourguignon wrote:

> You just use M-x erc-select RET several
> times. Note that you can even connect several
> times to the same server (use a different
> nickname).

How nice to hear from you again :) Come back to
gmane.emacs.help as well!

Yes, I realized it was that simple:

(setq erc-server  "irc.freenode.net")
(setq erc-port    6667)

(defun erc-freenode ()
  (interactive)
  (let ((server erc-server)
        (port   erc-port) )
    (erc :server server :port port) ))

(defun erc-efnet ()
  (interactive)
  (let ((server "irc.du.se")
        (port   erc-port) )
    (erc :server server :port port) ))

(defun erc-join-all ()
  (interactive)
  (erc-freenode)
  (erc-efnet) )

-- 
underground experts united
http://user.it.uu.se/~embe8573

      reply	other threads:[~2017-08-15 20:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-15 14:26 multiple servers with ERC Emanuel Berg
2017-08-15 20:07 ` Pascal Bourguignon
2017-08-15 20:41   ` Emanuel Berg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86bmngef7j.fsf@zoho.com \
    --to=moasen@zoho.com \
    --cc=erc-discuss@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.