| www.delorie.com/gnu/docs/emacs/gnus_98.html | search |
![]() Buy the book! | |
| [ < ] | [ > ] | [ << ] | [ 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 and Message-IDs. 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) |
evaled, and if the result is non-nil,
this is considered a match. This is useful if you want extra sifting to
avoid false matches.
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.
gnus-button-url-regexp
gnus-article-button-face
gnus-article-mouse-face
See section 4.3 Customizing Articles, for how to buttonize articles automatically.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |