Difference between revisions of "ERC"

From WikEmacs
Jump to: navigation, search
m (Basic setup)
Line 9: Line 9:
  
 
= Basic setup =
 
= Basic setup =
 +
 +
Start ERC using {{Command|erc}} or {{Command|erc-tls}} if you want to connect over SSL.
 +
 +
= Helpful keybindings =
 +
 +
= Common customization =
  
 
<source lang="lisp">
 
<source lang="lisp">
Line 16: Line 22:
 
     ;; Set personal information
 
     ;; Set personal information
 
     (setq erc-nick "defaultnick")
 
     (setq erc-nick "defaultnick")
     (setq erc-user-full-name "My Full Name")))
+
     (setq erc-user-full-name "My Full Name")
</source>
+
  
Start ERC using {{Command|erc}} or {{Command|erc-tls}} if you want to connect over SSL.
+
    ;; Set autojoin channels
 +
    (add-to-list 'erc-autojoin-channels-alist
 +
      '("freenode.net" "#emacs" "#foo" "#bar"))
  
= Helpful keybindings =
+
    ;; Connect to Freenode automatically
 
+
    (erc-tls :server "irc.freenode.net" :port 7000)))
= Common customization =
+
</source>
  
 
= See also =
 
= See also =

Revision as of 14:35, 2 April 2012

ERC
Description IRC in Emacs
Author name of author
Maintainer name of maintainer
Source http://savannah.gnu.org/projects/erc/
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 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
     (add-to-list 'erc-autojoin-channels-alist
       '("freenode.net" "#emacs" "#foo" "#bar"))
 
     ;; Connect to Freenode automatically
     (erc-tls :server "irc.freenode.net" :port 7000)))

See also

Project pages