Variable: erc-mode-line-format
erc-mode-line-format is a customizable variable defined in erc.el.gz.
Value
"%S %a"
Documentation
A string to be formatted and shown in the mode-line in erc-mode.
The string is formatted using format-spec and the result is set as the value
of mode-line-buffer-identification.
The following characters are replaced:
%a: String indicating away status or "" if you are not away
%l: The estimated lag time to the server
%m: The modes of the channel
%n: The current nick name
%N: The name of the network
%o: The topic of the channel
%p: The session port
%t: The name of the target (channel, nickname, or servername:port)
%s: In the server-buffer, this gets filled with the value of
erc-server-announced-name, in a channel, the value of
(erc-default-target) also get concatenated.
%S: In the server-buffer, this gets filled with the value of
erc-network(var)/erc-network(fun), in a channel, the value of (erc-default-target)
also get concatenated.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
;; Mode line handling
(defcustom erc-mode-line-format "%S %a"
"A string to be formatted and shown in the mode-line in `erc-mode'.
The string is formatted using `format-spec' and the result is set as the value
of `mode-line-buffer-identification'.
The following characters are replaced:
%a: String indicating away status or \"\" if you are not away
%l: The estimated lag time to the server
%m: The modes of the channel
%n: The current nick name
%N: The name of the network
%o: The topic of the channel
%p: The session port
%t: The name of the target (channel, nickname, or servername:port)
%s: In the server-buffer, this gets filled with the value of
`erc-server-announced-name', in a channel, the value of
(erc-default-target) also get concatenated.
%S: In the server-buffer, this gets filled with the value of
`erc-network', in a channel, the value of (erc-default-target)
also get concatenated."
:group 'erc-mode-line-and-header
:type 'string)