[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
People often include references to other stuff in articles, and it would be nice if Gnus could just fetch whatever it is that people talk about with the minimum of fuzz when you hit RET or use the middle mouse button on these references.
Gnus adds buttons to certain standard references by default: Well-formed URLs, mail addresses, Message-IDs, Info links, man pages and Emacs or Gnus related references. This is controlled by two variables, one that handles article bodies and one that handles article heads:
gnus-button-alist
(regexp button-par use-p function data-par) |
gnus-button-url-regexp
and gnus-button-mid-or-mail-regexp
.
eval
ed, and if the result is non-nil
,
this is considered a match. This is useful if you want extra sifting to
avoid false matches. Often variables named
gnus-button-*-level
are used here, See section 3.17.7 Article button levels, but any other form may be used too.
So the full entry for buttonizing URLs is then
("<URL:\\([^\n\r>]*\\)>" 0 t gnus-button-url 1) |
gnus-header-button-alist
(header regexp button-par use-p function data-par) |
header is a regular expression.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |