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

Re: expire-alist syntax



Matt Price wrote:


>hi folks,

>trying to set up auto-expiry but running into an error with
>expire-alist:
>Wrong type argument: numberp, nil
>with wl-expire-alist set thus:

>(setq wl-expire-alist
> '(("^\\%inbox$" (date 40) ".archive")
>  ("/(flag:digest)/%inbox:pricemat/clear@mailbox126.utcc.utoronto.ca:993" (date 40) ".archive")
>))

>---
>the second entry is there just bc i don't understand emacs regexes
>every well & mostly work with the filter folder explicitly named in
>that line.  anyway the format there looks about like this example
>from the manual:
>("^\\+outbox$"  (number 300) "$outbox;lha")

>if anyone can see what the problem is i'd be absolutely grateful!
>thanks,

Can't spot an error in the regexp.  Maybe you could single out the
problem by setting `debug-on-error' to t and see if the backtrace
contains information on what causes the error?

Anyway, the second might have a flaw in logic: /flag:digest/ shows
unread and important messages but by default expire does not expire
those messages:

WL Manual, 9.2.2
,----
| 9.2.2 Treatment for Important or Unread Messages
|
| If you specify any of remove, trash, a folder name, or a standard
| function, messages with marks in wl-summary-expire-reserve-marks
| (which are called reserved messages thereafter) are retained.
|
| Per default, this variable include the important, new, and unread
| marks, so that messages with these marks are not removed. Note that
| you cannot include the temporary mark (i.e. temporary marks are
| removed anyway), and be sure to process temporary marks before you
| invoke expiration.
`----

HTH
 -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

Attachment: pgpYzYOk2DBhN.pgp
Description: PGP signature