| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
You can use wl-archive-alist in order to specify how messages are
archived according to their folder names, as in wl-expire-alist.
For example:
(setq wl-archive-alist
'(("^\\+tmp$" wl-archive-date)
("^\\+outbox$" wl-archive-number2)
(".*" wl-archive-number1)))
|
Each item in the list has the following format:
(folders-regexp deleting-function) |
As you can see, you can only use a function after folders-regexp. Per default, there are three functions:
wl-archive-number1
wl-archive-number2
wl-archive-date
As inferred from their names, they work similarly to "expire" versions, other than the following points:
These functions are good to archive all messages in a folder by their numbers or by their dates. These are also useful for backup or confirmation purposes before expiration. If you try to re-file them after they are archived, they are deleted but not re-filed.
Per default, the archiving folders to which messages are copied are
determined automatically by wl-expire-archive-get-folder-function.
You can copy to a specific folder by invoking with a prefix argument,
i.e. C-u M-x wl-summary-archive.
Note that this feature has not been seriously tested, because you can
simply copy to an archiving folder, for example by
wl-summary-copy-region.
The archiving folders are determined by the same logic as in
wl-summary-expire; the following customizable variables are
relevant:
wl-expire-archive-files
wl-expire-archive-get-folder-function
wl-expire-archive-folder-name-fmt
wl-expire-archive-folder-type
wl-expire-archive-folder-prefix
wl-expire-archive-folder-num-regexp