Variable: erc-current-nick-highlight-type

erc-current-nick-highlight-type is a customizable variable defined in erc-match.el.gz.

Value

keyword

Documentation

Determine how to highlight text in which your current nickname appears
(does not apply to text sent by you).

The following values are allowed:

 nil - do not highlight the message at all
 keyword - highlight all instances of current nickname in message
 nick - highlight the nick of the user who typed your nickname
 nick-or-keyword - highlight the nick of the user who typed your nickname,
                     or all instances of the current nickname if there was
                     no sending user
 message - highlight the entire message where current nickname occurs
 all - highlight the entire message (including the nick) where
                     current nickname occurs

Any other value disables highlighting of current nickname altogether.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-match.el.gz
(defcustom erc-current-nick-highlight-type 'keyword
  "Determine how to highlight text in which your current nickname appears
\(does not apply to text sent by you).

The following values are allowed:

 nil               - do not highlight the message at all
 `keyword'         - highlight all instances of current nickname in message
 `nick'            - highlight the nick of the user who typed your nickname
 `nick-or-keyword' - highlight the nick of the user who typed your nickname,
                     or all instances of the current nickname if there was
                     no sending user
 `message'         - highlight the entire message where current nickname occurs
 `all'             - highlight the entire message (including the nick) where
                     current nickname occurs

Any other value disables highlighting of current nickname altogether."
  :type '(choice (const nil)
		 (const nick)
		 (const keyword)
		 (const nick-or-keyword)
                 (const message)
		 (const all)))