ERC

From WikEmacs
Revision as of 19:49, 2 April 2012 by Kindahero (talk | contribs) (minor)
Jump to navigation Jump to search

ERC is an Internet Relay Chat (IRC) client built into Emacs.

ERC
Description IRC in Emacs
Author Alexander L. Belikoff & Others
Maintainer Michael Olson
Source http://savannah.gnu.org/projects/erc/
Part of Emacs yes, since 22.1

Basic setup

Start ERC using M-x erc or M-x erc-tls if you want to connect over SSL.

Helpful keybindings

Common customization

(eval-after-load "erc"
  '(progn

     ;; Set personal information
     (setq erc-nick "defaultnick")
     (setq erc-user-full-name "My Full Name")

     ;; Set autojoin channels
     (setq erc-autojoin-channels-alist
           '(("freenode.net" "#emacs" "#foo" "#bar")))))

;; Set autoconnect networks
(defun my-erc ()
  "Connect to my default ERC servers."

  (interactive)
  (erc-tls :server "irc.freenode.net" :port 7000))

Using the above configuration calling M-x my-erc will start ERC and connect to Freenode using SSL, then join the three channels listed above.

See also

Project pages