## 18 Faces ¶

VM uses Emacs faces to emphasize text in the folder and summary buffers. In addition to using the predefined faces of Emacs, VM also defines several faces of its own. You can do `M-x list-faces` inside Emacs to see what faces have been defined. You can also define your own faces using Emacs primitives for doing so. See Faces in the GNU Emacs Manual.

In the folder or presentation buffer, the header contents of headers matched by the `vm-highlighted-header-regexp` variable are displayed using the face named by `vm-highlighted-header-face`. This variable is ignored under XEmacs if `vm-use-lucid-highlighting` is non-`nil`. The XEmacs `highlight-headers` package is used instead. See the documentation for the function `highlight-headers` to find out how to customize header highlighting using this package.

URL’s that occur in message bodies are displayed using the face named by `vm-highlight-url-face`. Typing Return on such URL’s or clicking button-2 has the effect of sending the URL to an external web browser. See Using the Mouse. Searching for URLs in a large message can take a long time. Since URLs often occur near the beginning and near the end of messages, VM offers a way to search just those parts of a message for URLs. The variable `vm-url-search-limit` specifies how much of a message to search. If `vm-url-search-limit` has a positive numeric value N, VM will search the first N / 2 characters and the last N / 2 characters in the message for URLs.

The face named by `vm-mime-button-face` is used to display the textual buttons that trigger the display of MIME objects.

See Summary Faces, for the faces support in the Summary buffer.