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

Re: Similarities between expiration and scoring



Hi Lluís -

A few thoughts follow inline.

At Fri, 14 May 2010 14:21:03 +0200,
Lluís wrote:
> 
> Hi there.
> 
> I've been a happy user of automatic message expiration for some
> time. My current workflow is:
>
> […]
>
> Now, after some time following this scheme, I've found some weaknesses
> to it:
>    * I've ended up accumulating a relatively big bunch of messages of
>      the second type
>    * sometimes I'd like to do a quick search on a specific mailing
>      list, or just view past messages of current thread, but my
>      messages are split between the list's folder and a huge trash
>      folder

Disk space is cheap. I keep all list messages in a specific folder for
the list. I can quickly move these there from my inbox using
auto-refile and the variable wl-refile-rule-alist, which contains a
rule for each subscribed mailings list.

>    * disposing messages into trash requires too much time, as the trash folder
>      is overcrowded
> 
> So my wonders where if I could be able to jump into this setup:
>    * maintain new/unread messages on their folder undefinately and
>      visible on summary
>    * let me mark/flag read messages with a "keep" flag that is not
>      visible in the summary.
>      The "important" flag is visually aggressive to me, and I do mark
>      some really important messages as "important" from time to time,
>      which I keep readily accessible through a virtual folder.

See wl-summary-flag-alist, e.g.:

  (setq wl-summary-flag-alist
      '((important "red" " ")))

>    * hide read messages in summary if they're older than a given age
>    * expire/delete messages that are older than a given age, but only
>      if they're neither new/unread nor flagged as "keep"

What about using a filter folder, e.g.:
  /flag:digest|since:lastweek/%INBOX

>    * toggle visibility of hidden messages
>    * search messages in current folder, both visible and invisible
> 
> Expiring already provides a hide action, which I can base on age, but:
>    * I don't know how to toggle visibility of hidden messages (either
>      all, or something like "unhide current thread").
>    * searching through 'wl-summary-pick' only applies to visible
>      messages.
>    * I don't know how can I attach a mark that is not visible in
>      summary, but that will prevent expiration.

A possible solution would be to maintain two folders, a filtered one
as described above & a fully visible one. (I almost always enter
summary buffers with C-u RET, which allows you to keep multiple
summary buffers open.) You can then switch back & forth between these
summary buffers as needed. As for invisible mark, you could use the
wl-summary-flag-alist as above to make important mark invisible.
 
> Can I do this with the current codebase? I'm using Debian's 'wl-beta'
> package (version 2.15.9+0.20100303-1).
> 
> 
> Besides, scoring is already able to "expire" and hide messages (and
> more), but lacks some of the options available to the expiring
> infrastucture.
> 
> So my other question is whether if it would be much cleaner to have a
> single infrastucture to merge all functionalities from both scoring
> and expiring, which I hope would provide a much cleaner and
> comprehensive interface.

Could be. Personally I find filter folders provide all I might want
from expiration or scoring, so I don’t use those features.

best,
Erik Hetzner

Attachment: pgpL1yM97PdzR.pgp
Description: PGP signature