File: erc-match.el.html

This file includes stuff to work with pattern matching in ERC. If you were used to customizing erc-fools, erc-keywords, erc-pals, erc-dangerous-hosts and the like, this file contains these customizable variables.

Usage: Put (erc-match-mode 1) into your init file.

Defined variables (24)

erc-beep-match-typesTypes of matches to beep for when a match occurs.
erc-current-nick-highlight-typeDetermine how to highlight text in which your current nickname appears
erc-dangerous-host-highlight-typeDetermines how to highlight messages by nicks from dangerous-hosts.
erc-dangerous-hostsList of regexps for hosts to highlight.
erc-fool-highlight-typeDetermines how to highlight messages by fools.
erc-foolsList of fools on IRC.
erc-keyword-highlight-typeDetermines how to highlight messages containing keywords.
erc-keywordsList of keywords to highlight in all incoming messages.
erc-log-match-formatFormat for matched Messages.
erc-log-matches-flagFlag specifying when matched message logging should happen.
erc-log-matches-types-alistAlist telling ERC where to log which match types.
erc-match--instancesAlist mapping constructors to successful ‘erc-match’ instances.
erc-match--opt-pat-cacheAlist of (COMPUTE-FN . PAIRS) where PAIRS is an alist of (IN . OUT).
erc-match-exclude-server-bufferIf true, don’t perform match on the server buffer.
erc-match-functionsType constructors for \+‘match’ processing.
erc-match-highlight-matchedMatched ‘erc-match’ instance in ‘erc-text-matched-hook’.
erc-match-modeNon-nil if Erc-Match mode is enabled.
erc-match-mode-hookHook run after entering or leaving ‘erc-match-mode’.
erc-match-quote-when-addingWhether to ‘regexp-quote’ when adding to a match list interactively.
erc-match-syntax-tableSyntax table used when highlighting messages.
erc-match-use-legacy-logic-pWhen non-nil, use the non-‘erc-match’ variant of ‘erc-match-message’.
erc-pal-highlight-typeDetermines how to highlight messages by pals.
erc-palsList of pals on IRC.
erc-text-matched-hookAbnormal hook for visiting text matching a predefined "type".

Defined functions (285)

copy-erc-match(ARG)
copy-erc-match-opt-current-nick(ARG)
copy-erc-match-opt-dangerous-host(ARG)
copy-erc-match-opt-fool(ARG)
copy-erc-match-opt-keyword(ARG)
copy-erc-match-opt-pal(ARG)
copy-erc-match-traditional(ARG)
copy-erc-match-user(ARG)
erc-add-dangerous-host(&optional ARG)
erc-add-entry-to-list(LIST PROMPT &optional COMPLETIONS ALT)
erc-add-fool(&optional ARG)
erc-add-keyword(&optional ARG)
erc-add-pal(&optional ARG)
erc-beep-on-match(MATCH-TYPE NICKUSERHOST MESSAGE)
erc-delete-dangerous-host()
erc-delete-fool()
erc-delete-keyword()
erc-delete-pal()
erc-go-to-log-matches-buffer()
erc-hide-fools(MATCH-TYPE NICKUSERHOST MESSAGE)
erc-log-matches(MATCH-TYPE NICKUSERHOST MESSAGE)
erc-log-matches-come-back(PROC PARSED)
erc-log-matches-make-buffer(NAME)
erc-match
erc-match--cmacro
erc-match--current-nick-p(MATCH)
erc-match--keyword-p(MATCH)
erc-match--message()
erc-match--message-legacy()
erc-match--on-insert-post()
erc-match--opt-pat-custom-set(SYM VAL &optional _)
erc-match--opt-pat-get(COMPUTE-FN INPUT)
erc-match--opt-pat-make(PATTERNS)
erc-match--opt-pat-make-addr-beg(PATTERNS)
erc-match--opt-pat-make-addr-end(PATTERNS)
erc-match--opt-pat-make-kw(PATTERNS)
erc-match--run-match(CONSTRUCTOR SPKR-BEG SPKR-END BODY-BEG NICK SENDER COMMAND)
erc-match--setup()
erc-match--user-nuh-or-mention-p(MATCH)
erc-match-body-beg(erc-match-body-beg X)
erc-match-body-beg--inliner(INLINE--FORM X)
erc-match-command(erc-match-command X)
erc-match-command--inliner(INLINE--FORM X)
erc-match-current-nick-p(NICKUSERHOST MSG)
erc-match-dangerous-host-p(NICKUSERHOST MSG)
erc-match-directed-at-fool-p(MSG)
erc-match-disable()
erc-match-enable()
erc-match-fool-p(NICKUSERHOST MSG)
erc-match-get-match(CONSTRUCTOR)
erc-match-get-message-body(MATCH)
erc-match-handler(erc-match-handler X)
erc-match-handler--inliner(INLINE--FORM X)
erc-match-highlight(MATCH)
erc-match-highlight-by-part(MATCH PART)
erc-match-keyword-p(NICKUSERHOST MSG)
erc-match-message()
erc-match-mode(&optional ARG)
erc-match-newlinep(erc-match-newlinep X)
erc-match-newlinep--inliner(INLINE--FORM X)
erc-match-nick(erc-match-nick X)
erc-match-nick--inliner(INLINE--FORM X)
erc-match-opt-current-nick
erc-match-opt-current-nick--cmacro
erc-match-opt-current-nick-body-beg(erc-match-opt-current-nick-body-beg X)
erc-match-opt-current-nick-body-beg--inliner(INLINE--FORM X)
erc-match-opt-current-nick-category(erc-match-opt-current-nick-category X)
erc-match-opt-current-nick-category--inliner(INLINE--FORM X)
erc-match-opt-current-nick-command(erc-match-opt-current-nick-command X)
erc-match-opt-current-nick-command--inliner(INLINE--FORM X)
erc-match-opt-current-nick-data(erc-match-opt-current-nick-data X)
erc-match-opt-current-nick-data--inliner(INLINE--FORM X)
erc-match-opt-current-nick-face(erc-match-opt-current-nick-face X)
erc-match-opt-current-nick-face--inliner(INLINE--FORM X)
erc-match-opt-current-nick-handler(erc-match-opt-current-nick-handler X)
erc-match-opt-current-nick-handler--inliner(INLINE--FORM X)
erc-match-opt-current-nick-newlinep(erc-match-opt-current-nick-newlinep X)
erc-match-opt-current-nick-newlinep--inliner(INLINE--FORM X)
erc-match-opt-current-nick-nick(erc-match-opt-current-nick-nick X)
erc-match-opt-current-nick-nick--inliner(INLINE--FORM X)
erc-match-opt-current-nick-p(X)
erc-match-opt-current-nick-p--inliner(INLINE--FORM X)
erc-match-opt-current-nick-part(erc-match-opt-current-nick-part X)
erc-match-opt-current-nick-part--inliner(INLINE--FORM X)
erc-match-opt-current-nick-predicate(erc-match-opt-current-nick-predicate X)
erc-match-opt-current-nick-predicate--inliner(INLINE--FORM X)
erc-match-opt-current-nick-sender(erc-match-opt-current-nick-sender X)
erc-match-opt-current-nick-sender--inliner(INLINE--FORM X)
erc-match-opt-current-nick-spkr-beg(erc-match-opt-current-nick-spkr-beg X)
erc-match-opt-current-nick-spkr-beg--inliner(INLINE--FORM X)
erc-match-opt-current-nick-spkr-end(erc-match-opt-current-nick-spkr-end X)
erc-match-opt-current-nick-spkr-end--inliner(INLINE--FORM X)
erc-match-opt-dangerous-host
erc-match-opt-dangerous-host--cmacro
erc-match-opt-dangerous-host-body-beg(erc-match-opt-dangerous-host-body-beg X)
erc-match-opt-dangerous-host-body-beg--inliner(INLINE--FORM X)
erc-match-opt-dangerous-host-category(erc-match-opt-dangerous-host-category X)
erc-match-opt-dangerous-host-category--inliner(INLINE--FORM X)
erc-match-opt-dangerous-host-command(erc-match-opt-dangerous-host-command X)
erc-match-opt-dangerous-host-command--inliner(INLINE--FORM X)
erc-match-opt-dangerous-host-data(erc-match-opt-dangerous-host-data X)
erc-match-opt-dangerous-host-data--inliner(INLINE--FORM X)
erc-match-opt-dangerous-host-face(erc-match-opt-dangerous-host-face X)
erc-match-opt-dangerous-host-face--inliner(INLINE--FORM X)
erc-match-opt-dangerous-host-handler(erc-match-opt-dangerous-host-handler X)
erc-match-opt-dangerous-host-handler--inliner(INLINE--FORM X)
erc-match-opt-dangerous-host-newlinep(erc-match-opt-dangerous-host-newlinep X)
erc-match-opt-dangerous-host-newlinep--inliner(INLINE--FORM X)
erc-match-opt-dangerous-host-nick(erc-match-opt-dangerous-host-nick X)
erc-match-opt-dangerous-host-nick--inliner(INLINE--FORM X)
erc-match-opt-dangerous-host-p(X)
erc-match-opt-dangerous-host-p--inliner(INLINE--FORM X)
erc-match-opt-dangerous-host-part(erc-match-opt-dangerous-host-part X)
erc-match-opt-dangerous-host-part--inliner(INLINE--FORM X)
erc-match-opt-dangerous-host-predicate(erc-match-opt-dangerous-host-predicate X)
erc-match-opt-dangerous-host-predicate--inliner(INLINE--FORM X)
erc-match-opt-dangerous-host-sender(erc-match-opt-dangerous-host-sender X)
erc-match-opt-dangerous-host-sender--inliner(INLINE--FORM X)
erc-match-opt-dangerous-host-spkr-beg(erc-match-opt-dangerous-host-spkr-beg X)
erc-match-opt-dangerous-host-spkr-beg--inliner(INLINE--FORM X)
erc-match-opt-dangerous-host-spkr-end(erc-match-opt-dangerous-host-spkr-end X)
erc-match-opt-dangerous-host-spkr-end--inliner(INLINE--FORM X)
erc-match-opt-fool
erc-match-opt-fool--cmacro
erc-match-opt-fool-body-beg(erc-match-opt-fool-body-beg X)
erc-match-opt-fool-body-beg--inliner(INLINE--FORM X)
erc-match-opt-fool-category(erc-match-opt-fool-category X)
erc-match-opt-fool-category--inliner(INLINE--FORM X)
erc-match-opt-fool-command(erc-match-opt-fool-command X)
erc-match-opt-fool-command--inliner(INLINE--FORM X)
erc-match-opt-fool-data(erc-match-opt-fool-data X)
erc-match-opt-fool-data--inliner(INLINE--FORM X)
erc-match-opt-fool-face(erc-match-opt-fool-face X)
erc-match-opt-fool-face--inliner(INLINE--FORM X)
erc-match-opt-fool-handler(erc-match-opt-fool-handler X)
erc-match-opt-fool-handler--inliner(INLINE--FORM X)
erc-match-opt-fool-newlinep(erc-match-opt-fool-newlinep X)
erc-match-opt-fool-newlinep--inliner(INLINE--FORM X)
erc-match-opt-fool-nick(erc-match-opt-fool-nick X)
erc-match-opt-fool-nick--inliner(INLINE--FORM X)
erc-match-opt-fool-p(X)
erc-match-opt-fool-p--inliner(INLINE--FORM X)
erc-match-opt-fool-part(erc-match-opt-fool-part X)
erc-match-opt-fool-part--inliner(INLINE--FORM X)
erc-match-opt-fool-predicate(erc-match-opt-fool-predicate X)
erc-match-opt-fool-predicate--inliner(INLINE--FORM X)
erc-match-opt-fool-sender(erc-match-opt-fool-sender X)
erc-match-opt-fool-sender--inliner(INLINE--FORM X)
erc-match-opt-fool-spkr-beg(erc-match-opt-fool-spkr-beg X)
erc-match-opt-fool-spkr-beg--inliner(INLINE--FORM X)
erc-match-opt-fool-spkr-end(erc-match-opt-fool-spkr-end X)
erc-match-opt-fool-spkr-end--inliner(INLINE--FORM X)
erc-match-opt-keyword
erc-match-opt-keyword--cmacro
erc-match-opt-keyword-body-beg(erc-match-opt-keyword-body-beg X)
erc-match-opt-keyword-body-beg--inliner(INLINE--FORM X)
erc-match-opt-keyword-category(erc-match-opt-keyword-category X)
erc-match-opt-keyword-category--inliner(INLINE--FORM X)
erc-match-opt-keyword-command(erc-match-opt-keyword-command X)
erc-match-opt-keyword-command--inliner(INLINE--FORM X)
erc-match-opt-keyword-data(erc-match-opt-keyword-data X)
erc-match-opt-keyword-data--inliner(INLINE--FORM X)
erc-match-opt-keyword-face(erc-match-opt-keyword-face X)
erc-match-opt-keyword-face--inliner(INLINE--FORM X)
erc-match-opt-keyword-handler(erc-match-opt-keyword-handler X)
erc-match-opt-keyword-handler--inliner(INLINE--FORM X)
erc-match-opt-keyword-newlinep(erc-match-opt-keyword-newlinep X)
erc-match-opt-keyword-newlinep--inliner(INLINE--FORM X)
erc-match-opt-keyword-nick(erc-match-opt-keyword-nick X)
erc-match-opt-keyword-nick--inliner(INLINE--FORM X)
erc-match-opt-keyword-p(X)
erc-match-opt-keyword-p--inliner(INLINE--FORM X)
erc-match-opt-keyword-part(erc-match-opt-keyword-part X)
erc-match-opt-keyword-part--inliner(INLINE--FORM X)
erc-match-opt-keyword-predicate(erc-match-opt-keyword-predicate X)
erc-match-opt-keyword-predicate--inliner(INLINE--FORM X)
erc-match-opt-keyword-sender(erc-match-opt-keyword-sender X)
erc-match-opt-keyword-sender--inliner(INLINE--FORM X)
erc-match-opt-keyword-spkr-beg(erc-match-opt-keyword-spkr-beg X)
erc-match-opt-keyword-spkr-beg--inliner(INLINE--FORM X)
erc-match-opt-keyword-spkr-end(erc-match-opt-keyword-spkr-end X)
erc-match-opt-keyword-spkr-end--inliner(INLINE--FORM X)
erc-match-opt-pal
erc-match-opt-pal--cmacro
erc-match-opt-pal-body-beg(erc-match-opt-pal-body-beg X)
erc-match-opt-pal-body-beg--inliner(INLINE--FORM X)
erc-match-opt-pal-category(erc-match-opt-pal-category X)
erc-match-opt-pal-category--inliner(INLINE--FORM X)
erc-match-opt-pal-command(erc-match-opt-pal-command X)
erc-match-opt-pal-command--inliner(INLINE--FORM X)
erc-match-opt-pal-data(erc-match-opt-pal-data X)
erc-match-opt-pal-data--inliner(INLINE--FORM X)
erc-match-opt-pal-face(erc-match-opt-pal-face X)
erc-match-opt-pal-face--inliner(INLINE--FORM X)
erc-match-opt-pal-handler(erc-match-opt-pal-handler X)
erc-match-opt-pal-handler--inliner(INLINE--FORM X)
erc-match-opt-pal-newlinep(erc-match-opt-pal-newlinep X)
erc-match-opt-pal-newlinep--inliner(INLINE--FORM X)
erc-match-opt-pal-nick(erc-match-opt-pal-nick X)
erc-match-opt-pal-nick--inliner(INLINE--FORM X)
erc-match-opt-pal-p(X)
erc-match-opt-pal-p--inliner(INLINE--FORM X)
erc-match-opt-pal-part(erc-match-opt-pal-part X)
erc-match-opt-pal-part--inliner(INLINE--FORM X)
erc-match-opt-pal-predicate(erc-match-opt-pal-predicate X)
erc-match-opt-pal-predicate--inliner(INLINE--FORM X)
erc-match-opt-pal-sender(erc-match-opt-pal-sender X)
erc-match-opt-pal-sender--inliner(INLINE--FORM X)
erc-match-opt-pal-spkr-beg(erc-match-opt-pal-spkr-beg X)
erc-match-opt-pal-spkr-beg--inliner(INLINE--FORM X)
erc-match-opt-pal-spkr-end(erc-match-opt-pal-spkr-end X)
erc-match-opt-pal-spkr-end--inliner(INLINE--FORM X)
erc-match-p(X)
erc-match-p--inliner(INLINE--FORM X)
erc-match-pal-p(NICKUSERHOST MSG)
erc-match-predicate(erc-match-predicate X)
erc-match-predicate--inliner(INLINE--FORM X)
erc-match-sender(erc-match-sender X)
erc-match-sender--inliner(INLINE--FORM X)
erc-match-spkr-beg(erc-match-spkr-beg X)
erc-match-spkr-beg--inliner(INLINE--FORM X)
erc-match-spkr-end(erc-match-spkr-end X)
erc-match-spkr-end--inliner(INLINE--FORM X)
erc-match-toggle-hidden-fools(ARG)
erc-match-traditional
erc-match-traditional--cmacro
erc-match-traditional-body-beg(erc-match-traditional-body-beg X)
erc-match-traditional-body-beg--inliner(INLINE--FORM X)
erc-match-traditional-category(erc-match-traditional-category X)
erc-match-traditional-category--inliner(INLINE--FORM X)
erc-match-traditional-command(erc-match-traditional-command X)
erc-match-traditional-command--inliner(INLINE--FORM X)
erc-match-traditional-data(erc-match-traditional-data X)
erc-match-traditional-data--inliner(INLINE--FORM X)
erc-match-traditional-face(erc-match-traditional-face X)
erc-match-traditional-face--inliner(INLINE--FORM X)
erc-match-traditional-handler(erc-match-traditional-handler X)
erc-match-traditional-handler--inliner(INLINE--FORM X)
erc-match-traditional-newlinep(erc-match-traditional-newlinep X)
erc-match-traditional-newlinep--inliner(INLINE--FORM X)
erc-match-traditional-nick(erc-match-traditional-nick X)
erc-match-traditional-nick--inliner(INLINE--FORM X)
erc-match-traditional-p(X)
erc-match-traditional-p--inliner(INLINE--FORM X)
erc-match-traditional-part(erc-match-traditional-part X)
erc-match-traditional-part--inliner(INLINE--FORM X)
erc-match-traditional-predicate(erc-match-traditional-predicate X)
erc-match-traditional-predicate--inliner(INLINE--FORM X)
erc-match-traditional-sender(erc-match-traditional-sender X)
erc-match-traditional-sender--inliner(INLINE--FORM X)
erc-match-traditional-spkr-beg(erc-match-traditional-spkr-beg X)
erc-match-traditional-spkr-beg--inliner(INLINE--FORM X)
erc-match-traditional-spkr-end(erc-match-traditional-spkr-end X)
erc-match-traditional-spkr-end--inliner(INLINE--FORM X)
erc-match-user
erc-match-user--cmacro
erc-match-user-body-beg(erc-match-user-body-beg X)
erc-match-user-body-beg--inliner(INLINE--FORM X)
erc-match-user-category(erc-match-user-category X)
erc-match-user-category--inliner(INLINE--FORM X)
erc-match-user-command(erc-match-user-command X)
erc-match-user-command--inliner(INLINE--FORM X)
erc-match-user-data(erc-match-user-data X)
erc-match-user-data--inliner(INLINE--FORM X)
erc-match-user-face(erc-match-user-face X)
erc-match-user-face--inliner(INLINE--FORM X)
erc-match-user-handler(erc-match-user-handler X)
erc-match-user-handler--inliner(INLINE--FORM X)
erc-match-user-newlinep(erc-match-user-newlinep X)
erc-match-user-newlinep--inliner(INLINE--FORM X)
erc-match-user-nick(erc-match-user-nick X)
erc-match-user-nick--inliner(INLINE--FORM X)
erc-match-user-p(X)
erc-match-user-p--inliner(INLINE--FORM X)
erc-match-user-part(erc-match-user-part X)
erc-match-user-part--inliner(INLINE--FORM X)
erc-match-user-predicate(erc-match-user-predicate X)
erc-match-user-predicate--inliner(INLINE--FORM X)
erc-match-user-sender(erc-match-user-sender X)
erc-match-user-sender--inliner(INLINE--FORM X)
erc-match-user-spkr-beg(erc-match-user-spkr-beg X)
erc-match-user-spkr-beg--inliner(INLINE--FORM X)
erc-match-user-spkr-end(erc-match-user-spkr-end X)
erc-match-user-spkr-end--inliner(INLINE--FORM X)
erc-remove-entry-from-list(LIST PROMPT)

Defined faces (5)

erc-current-nick-faceERC face for occurrences of your current nickname.
erc-dangerous-host-faceERC face for people on dangerous hosts. See ‘erc-dangerous-hosts’.
erc-fool-faceERC face for fools on the channel. See ‘erc-fools’.
erc-keyword-faceERC face for your keywords. Note that this is the default face to use if ‘erc-keywords’ does not specify another.
erc-pal-faceERC face for your pals. See ‘erc-pals’.