Difference between revisions of "ERC"

From WikEmacs
Jump to navigation Jump to search
(native -> built-in)
 
(12 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|name=ERC
 
|name=ERC
 
|description=IRC in Emacs
 
|description=IRC in Emacs
 +
|author= Alexander L. Belikoff & Others
 +
|maintainer=Michael Olson
 
|source=http://savannah.gnu.org/projects/erc/
 
|source=http://savannah.gnu.org/projects/erc/
 
|in_emacs=yes, since 22.1
 
|in_emacs=yes, since 22.1
 +
|Development status=active
 +
|website=http://www.gnu.org/software/erc
 
}}
 
}}
  
 
ERC is an Internet Relay Chat (IRC) client built into Emacs.
 
ERC is an Internet Relay Chat (IRC) client built into Emacs.
  
= Basic setup =
+
== Basic setup ==
  
Start ERC using {{Command|erc}} or {{Command|erc-tls}} if you want to connect over SSL.
+
Start ERC using {{Command|erc}} to connect without SSL or {{Command|erc-tls}} to connect with SSL.
  
= Helpful keybindings =
+
== Helpful keybindings ==
  
= Common customization =
+
== Common customization ==
  
 
<source lang="lisp">
 
<source lang="lisp">
Line 26: Line 30:
 
     ;; Set autojoin channels
 
     ;; Set autojoin channels
 
     (setq erc-autojoin-channels-alist
 
     (setq erc-autojoin-channels-alist
           '("freenode.net" "#emacs" "#foo" "#bar"))))
+
           '(("freenode.net" "#emacs" "#foo" "#bar")))))
  
;; Connect to Freenode automatically
+
;; Set autoconnect networks
 
(defun my-erc ()
 
(defun my-erc ()
 
   "Connect to my default ERC servers."
 
   "Connect to my default ERC servers."
 +
 
   (interactive)
 
   (interactive)
 
   (erc-tls :server "irc.freenode.net" :port 7000))
 
   (erc-tls :server "irc.freenode.net" :port 7000))
 
</source>
 
</source>
  
= See also =
+
Using the above configuration, {{Command|my-erc}} will start ERC and connect to Freenode on port 7000 using SSL, then join #emacs, #foo and #bar.
 +
 
 +
== See also ==
 +
* [[BitlBee]]
 +
* [[jabber.el]]
 +
* [[rcirc]]
  
= Project pages =
+
== Project pages ==
 +
[http://www.gnu.org/software/erc/ ERC Homepage]
  
 +
[[Category:Built-in Package]]
 
[[Category:Chat]]
 
[[Category:Chat]]

Latest revision as of 15:30, 5 April 2012

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

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"
  '(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, 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