Function: erc

erc is an autoloaded, interactive and byte-compiled function defined in erc.el.gz.

Signature

(erc &key (SERVER (erc-compute-server)) (PORT (erc-compute-port)) (NICK (erc-compute-nick)) (USER (erc-compute-user)) PASSWORD (FULL-NAME (erc-compute-full-name)) ID)

Documentation

ERC is a powerful, modular, and extensible IRC client.

This function is the main entry point for ERC.

It allows selecting connection parameters, and then starts ERC.

Non-interactively, it takes the keyword arguments
   (server (erc-compute-server))
   (port (erc-compute-port))
   (nick (erc-compute-nick))
   (user (erc-compute-user))
   password
   (full-name (erc-compute-full-name))
   id

That is, if called with

   (erc :server "irc.libera.chat" :full-name "J. Random Hacker")

then the server and full-name will be set to those values, whereas erc-compute-port and erc-compute-nick will be invoked for the values of the other parameters.

See erc-tls for the meaning of ID.

Probably introduced at or before Emacs version 22.1.

Key Bindings

Aliases

erc-select

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
;;;###autoload
(cl-defun erc (&key (server (erc-compute-server))
                    (port   (erc-compute-port))
                    (nick   (erc-compute-nick))
                    (user   (erc-compute-user))
                    password
                    (full-name (erc-compute-full-name))
                    id)
  "ERC is a powerful, modular, and extensible IRC client.
This function is the main entry point for ERC.

It allows selecting connection parameters, and then starts ERC.

Non-interactively, it takes the keyword arguments
   (server (erc-compute-server))
   (port   (erc-compute-port))
   (nick   (erc-compute-nick))
   (user   (erc-compute-user))
   password
   (full-name (erc-compute-full-name))
   id

That is, if called with

   (erc :server \"irc.libera.chat\" :full-name \"J. Random Hacker\")

then the server and full-name will be set to those values,
whereas `erc-compute-port' and `erc-compute-nick' will be invoked
for the values of the other parameters.

See `erc-tls' for the meaning of ID."
  (interactive (erc-select-read-args))
  (erc-open server port nick full-name t password nil nil nil nil user id))