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

Re: Template bug



Hello,

David Maus wrote:
> 
> At Sun, 10 Jul 2011 16:03:52 +0100,
> Simon Brown wrote:
> >
> > Hi,
> >
> > When writing mail I use templates to setup the To and CC based on the
> > parent folder and this works well. Sometimes however I have to change
> > to a different template. C-c C-j changes the template to which ever I
> > select and all looks well.
> >
> > However when I submit the mail, it reverts to the original
> > template. What am I getting wrong?
> 
> I think I fixed this problem in CVS trunk:
> 
> ,----
> | 2011-01-09  David Maus  <dmaus@ictsoc.de>
> |
> | * wl-template.el (wl-template-select): Reset draft config exec
> | flag when selecting template.
> |
> | Reset `wl-draft-config-exec-flag' so template specific configuration
> | is applied when sending the message.  Not resetting causes WL to use
> | configuration of previous template that matched the draft buffer
> `----
I have the same problem. I noted rules considering the to: header
field and the wl-draft-parent-folder in my wl-draft-config-alist. If I
change the template used for an email manually parameters like the
wl-smtp-posting-server are set as expected. The moment I sent the
email the templates resulting from the evaluation of w-d-c-a are
reapplied again. I use Debian's wl-beta package which, according to
the changelog, has the above patch implemented. Using the variant from
github don't change anything. I can't remember exactly, but I think
this feature worked as expected some (several, many) moons ago. So,
any hints on this?


Regards
hmw