File: erc-button.el.html

Heavily borrowed from gnus-art.el. Thanks to the original authors.

This buttonizes nicks and other stuff to make it all clickable. To enable, add to your init file:
(require 'erc-button)
(erc-button-mode 1)

Todo:
* Rewrite all this to do the same, but use button.el. Why?
button.el is much faster, and much more elegant, and solves the problem we get with large buffers and a large erc-button-marker-list.

Defined variables (18)

erc-button-alistAlist of regexps matching buttons in ERC buffers.
erc-button-buttonize-nicksFlag indicating whether nicks should be buttonized or not.
erc-button-faceFace used for highlighting buttons in ERC buffers.
erc-button-google-urlURL used to search for a term.
erc-button-keymapLocal keymap for ERC buttons.
erc-button-keys-addedInternal variable used to keep track of whether we’ve added the
erc-button-modeNon-nil if Erc-Button mode is enabled.
erc-button-mode-hookHook run after entering or leaving ‘erc-button-mode’.
erc-button-mouse-faceFace used for mouse highlighting in ERC buffers.
erc-button-nickname-faceFace used for ERC nickname buttons.
erc-button-rfc-urlURL used to browse RFC references.
erc-button-search-urlURL used to search for a term.
erc-button-syntax-tableSyntax table used when buttonizing messages.
erc-button-url-regexpRegular expression that matches URLs.
erc-button-wrap-long-urlsIf non-nil, "long" URLs matching ‘erc-button-url-regexp’ will be wrapped.
erc-emacswiki-lisp-urlURL of the EmacsWiki ELisp area.
erc-emacswiki-urlURL of the EmacsWiki website.
erc-nick-popup-alistAn alist of possible actions to take on a nickname.

Defined functions (20)

erc-browse-emacswiki(THING)
erc-browse-emacswiki-lisp(THING)
erc-button-add-button(FROM TO FUN NICK-P &optional DATA REGEXP)
erc-button-add-buttons()
erc-button-add-buttons-1(REGEXP ENTRY)
erc-button-add-face(FROM TO FACE)
erc-button-add-nickname-buttons(ENTRY)
erc-button-beats-to-time(BEATS)
erc-button-click-button(IGNORE EVENT)
erc-button-describe-symbol(SYMBOL-NAME)
erc-button-disable()
erc-button-enable()
erc-button-mode(&optional ARG)
erc-button-next()
erc-button-next-function()
erc-button-press-button()
erc-button-previous()
erc-button-remove-old-buttons()
erc-button-setup()
erc-nick-popup(NICK)

Defined faces (1)

erc-buttonERC button face.