[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: show only some headers



Hi Erik,

This question was asked and answered some monts ago in

http://lists.airs.net/wl-en/archive/201001/msg00007.html

Q: How can I change which headers wl displays when viewing a message?

A: The headers wl displays when viewing and editing a message are
controlled by two variables: `wl-message-ignored-filed-list' and
`wl-message-visible-field-list'.  Both are lists whose elements are
regular expressions that are used to determine which headers are
displayed and which are not.

If you for instance only want a basic set of headers like From:, To:,
Cc:, Subject: and Date: to be displayed you could set these variables
as followed:

;; ignore  all fields
(setq wl-message-ignored-field-list '("^.*:"))

;; ..but these five
(setq wl-message-visible-field-list
'("^To:"
  "^Cc:"
  "^From:"
  "^Subject:"
  "^Date:"))

In addition you can control the order of these headers using the
variable `wl-message-sort-field-list':

(setq wl-message-sort-field-list
 '("^From"
   "^Subject"
   "^Date"
   "^To"
   "^Cc"))

HTH
 -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... maus.david@gmail.com

Attachment: pgpcP_FTNQa3J.pgp
Description: PGP signature