Function: erc-select
erc-select is a function alias and interactive for erc, defined in
erc.el.gz.
Signature
(erc-select &key SERVER PORT NICK USER PASSWORD FULL-NAME ID)
Documentation
Connect to an Internet Relay Chat SERVER on a non-TLS PORT.
Use NICK and USER, when non-nil, to inform the IRC commands of the same name, possibly factoring in a non-nil FULL-NAME as well. When PASSWORD is non-nil, also send an opening server password via the "PASS" command. Interactively, prompt for SERVER, PORT, NICK, and PASSWORD, along with USER and FULL-NAME when given a prefix argument. Non-interactively, expect the rarely needed ID parameter, when non-nil, to be a symbol or a string for naming the server buffer and identifying the connection unequivocally. Once connected, return the server buffer. (See Info node (erc) Connecting for details about all mentioned parameters.)
Together with erc-tls, this command serves as the main entry
point for ERC, the powerful, modular, and extensible IRC client.
Non-interactively, both commands accept the following keyword
arguments, with their defaults supplied by the indicated
"compute" functions:
:server erc-compute-server
:port erc-compute-port
:nick erc-compute-nick
:user erc-compute-user
:password N/A
:full-name erc-compute-full-name
:id' N/A
For example, when called in the following manner
(erc :server "irc.libera.chat" :full-name "J. Random Hacker")
ERC assigns SERVER and FULL-NAME the associated keyword values
and defers to erc-compute-port, erc-compute-user, and
erc-compute-nick for those respective parameters.
Key Bindings