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

Re: filter folder syntax



At Mon, 15 Mar 2010 14:56:26 -0700,
Erik Hetzner wrote:
> 
> [1  <text/plain; UTF-8 (quoted-printable)>]
> At Mon, 15 Mar 2010 16:56:28 -0400,
> Matt Price wrote:
> > 
> > still on the learning curve here,
> > 
> > I'm trying to use filter folders as my main way of achieving inbox
> > zero (this is David Maus's cool idea).  
> > 
> > So I would like to have folders something like this:
> > 
> > /(flag:unread|flag:important)/%[Work]inbox,.archive
> > 
> > when I have the following in my .folders:
> > ----------------
> > Work{
> > 	%inbox:username/clear@imapserver.utoronto.ca:993	"Utoronto Inbox"
> > 	%inbox.Archived:username/clear@imapserver.utoronto.ca:993	"Archived"
> > 	%inbox.Junk:username/clear@imapserver.utoronto.ca:993	"Spam"
> > 	%inbox.Sent:username/clear@imapserver.utoronto.ca:993	"Sent"
> > 	%inbox.Trash:username/clear@imapserver.utoronto.ca:993	"Trash"
> > }
> > .archive
> > ------------------
> > but clearly something is wrong with my syntax here, and I think it's
> > in the folder name part.  It's not obvious to me what I ought to do --
> > I can't for instance use the pet name as a folder reference, as wl
> > will not permit spaces in the folder description string in folders
> > view.  
> > 
> > Once again, thank you.
> 
> Hi Matt -
> 
> I don’t think you can use petname in filter folder targets. Try using
> the full folder spec string for the filter folder.
> 
> Also, the target folder of a filter folder can only be a single
> folder, so you need to use a multi folder (*) to merge them before
> they are filtered.
> 
> This might work:
> 
>   /(flag:unread|flag:important)/*%inbox:username/clear@imapserver.utoronto.ca:993,.archive


totally, totally helpful.  thanks erik.  works great now!
m