Picons XEmacs Enhancements Toolbar
Smiley is a package separate from Gnus, but since Gnus is currently the only package that uses Smiley, it is documented here.
In short---to use Smiley in Gnus, put the following in your
`.gnus.el
' file:
(add-hook 'gnus-article-display-hook 'gnus-smiley-display t)
Smiley maps text smiley faces---`:-)
', `:-=
', `:-(
' and
the like---to pictures and displays those instead of the text smiley
faces. The conversion is controlled by a list of regexps that matches
text and maps that to file names.
Smiley supplies two example conversion alists by default:
smiley-deformed-regexp-alist
(which matches `:)
', `:(
'
and so on), and smiley-nosey-regexp-alist
(which matches
`:-)
', `:-(
' and so on).
The alist used is specified by the smiley-regexp-alist
variable,
which defaults to the value of smiley-deformed-regexp-alist
.
The first item in each element is the regexp to be matched; the second element is the regexp match group that is to be replaced by the picture; and the third element is the name of the file to be displayed.
The following variables customize where Smiley will look for these files, as well as the color to be used and stuff:
smiley-data-directory
|
Where Smiley will look for smiley faces files. |
smiley-flesh-color
|
Skin color. The default is ` |
smiley-features-color
|
Color of the features of the face. The default is ` |
smiley-tongue-color
|
Color of the tongue. The default is ` |
smiley-circle-color
|
Color of the circle around the face. The default is ` |
smiley-mouse-face
|
Face used for mouse highlighting over the smiley face. |