From WikEmacs
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Description IRC in Emacs
Author Alexander L. Belikoff & Others
Maintainer Michael Olson
Part of Emacs yes, since 22.1

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

Basic setup

Start ERC using M-x erc to connect without SSL or M-x erc-tls to connect with SSL.

Helpful keybindings

Common customization

(eval-after-load "erc"

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

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

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

  (erc-tls :server "" :port 7000))

Using the above configuration, M-x my-erc will start ERC and connect to Freenode on port 7000 using SSL, then join #emacs, #foo and #bar.

See also

Project pages

ERC Homepage