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

Re: wl newbie, various questions



Hi Erik,

> Keep in mind that wl-draft-config-alist is not applied until you
> send the message *or* run wl-draft-config-exec (C-c C-e).

Yes, I have a hook for that:

     (add-hook 'wl-mail-setup-hook 'wl-draft-config-exec)

> Also, if you use the reply matching for wl-draft-config-alist, I
> believe the header to be matched must be stored in the msgdb. I’m
> not sure what fields are stored there by default but you might try
> adding “Delivered” to the elmo-msgdb-extra-fields variable. You will
> need to rebuild your msgdb after: `s all` in a summary buffer.

Thanks, I'll try that out.

> Not sure how to do this one, I imagine you can use a hook.
> 
> I personally like the workflow of wl-refile-alist. All my mails goes
> to one inbox. If I don’t want to read a message, I just mark it read
> (`R` in a summary buffer) and auto-refile. I don’t think you need to
> fetch the body of the message to refile.

Well, you definitely need the headers since the matching is done on
those.

The problem with that workflow is that I'm on some high volume mailing
lists that I don't follow that closely, and it's quite annoying to see
those messages in my inbox when I'm not interested in them.

> You might try imapfilter for this and the previous question. It lets
> you write rules in lua to move messages around, mark them read, etc.
> based on various conditions.

I'd like to keep it to a single piece of software :). Considering how
featureful and customizable wl is, I'm sure something can be hacked to
do what I want.

Francesco.

At Fri, 15 Jun 2012 09:53:53 -0700,
Erik Hetzner wrote:
> 
> Hi Francesco,
> 
> At Fri, 15 Jun 2012 11:58:22 +0100,
> Francesco Mazzoli wrote:
> > 
> > Hi,
> > 
> > I've been using Wanderlust for a week now and I'm quite happy with it,
> > but I have a few problems that I could not figure out with the manual.
> > 
> > I use Wanderlust to access IMAP folders remotely, in several different
> > servers. For each server I have various folders set up, and I have a
> > different email address and smtp server for each IMAP server - the
> > classic multiple account situation. I have a template for each email
> > address.
> > 
> > Now, in order of importance:
> > 
> >   * How do I make wanderlust select the right template when replying?
> >     the solution seems to be in fiddling with `wl-draft-config-alist',
> >     but I couldn't come up with a reliable solution. Using
> >     `wl-draft-parent-folder' works only when replying from the
> >     Summary, and is quite annoying anyway since I have a complex
> >     folder structure, so there isn't "one" parent folder to
> >     select. The ideal thing would be to match the `Delivered-To'
> >     header of the thing I'm replying to, but I haven't had much
> >     success.
> 
> Keep in mind that wl-draft-config-alist is not applied until you send
> the message *or* run wl-draft-config-exec (C-c C-e). Also, if you use
> the reply matching for wl-draft-config-alist, I believe the header to
> be matched must be stored in the msgdb. I’m not sure what fields are
> stored there by default but you might try adding “Delivered” to the
> elmo-msgdb-extra-fields variable. You will need to rebuild your msgdb
> after: `s all` in a summary buffer.
> 
> >   * I have various rules in `wl-refile-alist' and it works great. The
> >     problem is that to refile I have to fetch the messages manually to
> >     get the body, and then `C-o' in the summary. Is it possible to
> >     automate this process, so that it will do that immediately after
> >     syncing the folders? A solution seems to be `elmo-split-rule', but
> >     it looks like it is not suited for my situation in which I'm
> >     filtering multiple folders, since the matching rules are all in
> >     one place.
> 
> Not sure how to do this one, I imagine you can use a hook.
> 
> I personally like the workflow of wl-refile-alist. All my mails goes
> to one inbox. If I don’t want to read a message, I just mark it read
> (`R` in a summary buffer) and auto-refile. I don’t think you need to
> fetch the body of the message to refile.
> 
> >   * Easy one: how do I mark all the messages received in a certain
> >     folder automatically as read?
> 
> You might try imapfilter for this and the previous question. It lets
> you write rules in lua to move messages around, mark them read, etc.
> based on various conditions.
> 
> best, Erik
>