Next: , Previous: Face, Up: Image Enhancements


8.17.3 Smileys

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:

     (setq gnus-treat-display-smileys t)

Smiley maps text smiley faces—`:-)', `8-)', `:-(' 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.

The alist used is specified by the smiley-regexp-alist variable. 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:

smiley-data-directory
Where Smiley will look for smiley faces files.
gnus-smiley-file-types
List of suffixes on smiley file names to try.