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

10.1 Summary mode

You can specify the format of Summary mode by ‘mew-summary-form’. The default value is as follows:

 
(setq mew-summary-form '(type (5 date) " " (14 from) " " t (30 subj) "|" (0 body)))

Like this, ‘mew-summary-form’ is a list of list, symbol, and string.

  1. A string is printed as it is.
  2. A list consists of an integer and a symbol. The symbol specifies a function to be called. The name of the function is produced by concatenating "mew-summary-form-" and the symbol name. (e.g. ‘mew-summary-form-date’ for the symbol 'date'). Pre-defined symbols are 'type, 'time, 'date, 'year, 'size, 'from, 'subj and 'body. For more details, see the explanation of the functions called ‘mew-summary-form-<symbol>’. The integer specifies the width of field which will be filled with a return string of the function. A positive value means padding SPCs on the right if necessary. A negative value means padding SPCs on the left if necessary. If a negative value is specified, the corresponding function must return an ASCII string. 0 means the remaining width of the line and is treated as a positive value.
  3. A symbol is equivalent to (1 symbol).
  4. '(mark) is appended to ‘mew-summary-form’ when used.
  5. t’ means the position of thread indentation.

An example is as follows:

 
(setq mew-summary-form
      '(type (5 date) " " (-4 size) " " (14 from) " " t (30 subj) "|" (0 body)))

mew-summary-form-from-me-prefix’ is the prefix to be prepend to an destination address if the message is originated by me. The default is "To:".

mew-summary-form-extract-rule’ is a list to specify what part to extract from the From: field. Each element must be 'name, 'comment, 'address, 'nickname, or appropriate "regex". The default value is '(nickname).

Consider the following examples:

 
A: Kazu Yamamoto <kazu@example.org>
B: kazu@example.org (Kazu Yamamoto)
C: Kazuhiko Yamamoto (Kazu) <kazu@example.org>

Each element returns the following value:

  1. 'name:: Name part, if any
     
    A. Kazu Yamamoto
    B. (No match)
    C. Kazuhiko Yamamoto (Kazu)
    
  2. 'comment:: Comment part, if any
     
    A: (No match)
    B: Kazu Yamamoto
    C: (Kazu)
    
  3. 'address:: Address part
     
    A: kazu@example.org
    B: kazu@example.org
    C: kazu@example.org
    
  4. 'nickname:: one element of personal information in Addrbook according to ‘mew-addrbook-for-summary’. The default value of ‘mew-addrbook-for-summary’ is ‘'nickname’. So, From: is converted a nickname by default. To know what kind of value can be used, refer to See section Draft mode.
  5. (regex):: The substring first matched.

If a element does not match, the next element is applied. If no element matches to the From: field, or this value is ‘nil’, the whole of the From: field is used.

If ‘mew-summary-form-mark-delete’ is ‘t’, the ‘D’ mark automatically is put onto duplicated messages. The default is ‘nil’.

If ‘mew-summary-form-mark-spam’ is ‘t’, the ‘D’ mark automatically is put onto SPAM messages. A message is considered a SPAM message if the MD5 checksum of its body is duplicated in a scan. The default is ‘nil’.

If ‘mew-summary-form-mark-review’ is ‘t’, the ‘*’ mark automatically is put onto messages destined to me. The default is ‘nil’.

If you want to use Mew with full Emacs frame, set like this.

 
(setq mew-use-full-window t)

SPC’ in Summary mode decide the next action to view a message according to ‘mew-summary-show-direction’. Likewise, you can specify the cursor direction after putting a strong mark by ‘mew-summary-mark-direction’. You can select one from the following candidates.

up

Display the message above.

down

Display the message below.

next

Display the next message in the direction.

stop

Do not display the next message.

The default value for both is ‘next’. If you read messages from the bottom, set as follows:

 
(setq mew-summary-show-direction 'up)

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

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