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

10.5 Highlighting

If ‘mew-use-highlight-mark’ is ‘t’, marked message are highlighted. The default is ‘t’.

If ‘mew-use-highlight-header’ is ‘t’, the header of a message is highlighted. The default is ‘t’.

If ‘mew-use-highlight-body’ is ‘t’, the body of a message is highlighted. The default is ‘t’. The limit to be highlighted can be set by ‘mew-highlight-body-max-size’. The default is 10000 bytes.

If ‘mew-use-highlight-url’ is ‘t’, a spell is cast to URL strings in a message. So, when you move the cursor onto the URL, it is highlighted. The default is ‘t’.

If ‘mew-use-cursor-mark’ is ‘t’, the mark specified ‘mew-cursor-mark’ is putted to the beginning of the current line. The default is ‘nil’. The default of ‘mew-cursor-mark’ is ">".

If ‘mew-use-highlight-cursor-line’ is ‘t’, underline is put on the cursor line in Summary mode. The default is ‘t’.

If ‘mew-use-highlight-mouse-line’ is ‘t’ on Emacs which supports mouse highlight, the mouse line is painted in Summary mode. This is very convenient to read messages clicking the middle button of the mouse. The default value is ‘nil’.

If ‘mew-use-highlight-x-face’ is ‘t’, X-Face: in a header is iconified in Message mode. The default value is ‘t’. To use this feature, install the "netpbm" package and the "compface" package.

To modify colors, copy "mew.dot.theme" contained Mew's source file to an appropriate place, say "~/.mew-theme.el". First, set ‘mew-theme-file’ to this file name in ".mew.el" as follows:

 
(setq mew-theme-file "~/.mew-theme.el")

Then, change the contents. For instance, you can find the following configuration.

 
(mew-setface-bold header-subject
  :tty "red" :light "Firebrick" :dark "OrangeRed")

The symbol ‘header-subject’ means the value of the "Subject:" field in a header. :tty is the case where Emacs is executed on a terminal while :light and :dark indicates the case where the background of Emacs executed with a window is white and black, respectively.

If you wish green for a terminal, ForestGreen for the white background, and LimeGreen for the black background, modify the configuration as follows:

 
(mew-setface-bold header-subject
  :tty "green" :light "ForestGreen" :dark "LimeGreen")

To know what kind of symbols are prepared, see the "mew.dot.mew".

The method above does not prepare symbols for all field names and field value. So, ‘mew-header-color’ and ‘mew-header-color-bold’ exist to change colors easily. If you use the latter, characters become bold. The former results in normal. The following is a typical usage:

 
(mew-header-color-bold "Subject:" "LimeGreen" "OrangeRed")

With this configuration, "Subject:" becomes bold LimeGreen and its value turns into bold OrangeRed.

The second method cannot specify the cases of terminal or background. If you omit the field value color, the field name color is used for the field value.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated by U-X61T\saito on June, 6 2008 using texi2html 1.78.