www.delorie.com/gnu/docs/emacs/gnus_263.html   search  
 
Buy the book!


Gnus Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

8.16.2 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---`:-)', `:-=', `:-(' 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 `yellow', which is really racist.

smiley-features-color
Color of the features of the face. The default is `black'.

smiley-tongue-color
Color of the tongue. The default is `red'.

smiley-circle-color
Color of the circle around the face. The default is `black'.

smiley-mouse-face
Face used for mouse highlighting over the smiley face.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003