Variable: erc-nick-popup-alist
erc-nick-popup-alist is a customizable variable defined in
erc-button.el.gz.
Value
(("DeOp" erc-cmd-DEOP nick)
("Kick" erc-cmd-KICK
(concat nick " "
(read-from-minibuffer
(concat "Kick " nick ", reason: "))))
("Msg" erc-cmd-MSG
(concat nick " "
(read-from-minibuffer
(concat "Message to " nick ": "))))
("Op" erc-cmd-OP nick)
("Query" erc-cmd-QUERY nick)
("Whois" erc-cmd-WHOIS nick)
("Lastlog" erc-cmd-LASTLOG nick))
Documentation
An alist of possible actions to take on a nickname.
An entry looks like ("Action" . SEXP) where SEXP is evaluated with
the variable nick bound to the nick in question.
Examples:
("DebianDB" .
(shell-command
(format
"ldapsearch -x -P 2 -h db.debian.org -b dc=debian,dc=org ircnick=%s"
nick)))
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-button.el.gz
;;; Nickname buttons:
(defcustom erc-nick-popup-alist
'(("DeOp" . (erc-cmd-DEOP nick))
("Kick" . (erc-cmd-KICK (concat nick " "
(read-from-minibuffer
(concat "Kick " nick ", reason: ")))))
("Msg" . (erc-cmd-MSG (concat nick " "
(read-from-minibuffer
(concat "Message to " nick ": ")))))
("Op" . (erc-cmd-OP nick))
("Query" . (erc-cmd-QUERY nick))
("Whois" . (erc-cmd-WHOIS nick))
("Lastlog" . (erc-cmd-LASTLOG nick)))
"An alist of possible actions to take on a nickname.
An entry looks like (\"Action\" . SEXP) where SEXP is evaluated with
the variable `nick' bound to the nick in question.
Examples:
(\"DebianDB\" .
(shell-command
(format
\"ldapsearch -x -P 2 -h db.debian.org -b dc=debian,dc=org ircnick=%s\"
nick)))"
:type '(repeat (cons (string :tag "Op")
sexp)))