[Users] reply-template question (again)

Uwe Fritz u.fritz at gmx.net
Mon Feb 27 11:51:39 CET 2012


Hi wwp,

On Mon, 27 Feb 2012 11:19:52 +0100
wwp <subscript at free.fr> wrote:

> Hello Uwe,
> 
> 
> On Mon, 27 Feb 2012 10:48:29 +0100 Uwe Fritz <u.fritz at gmx.net> wrote:
> 
> > Hello wwp,
> > 
> > > I use a set of custom scripts to determine what's the introducing
> > 
> > this sounds very interesting to me. Would you mind to share this
> > scripts?
> > 
> > Anyway, is there a place to share scripts like this?
> 
> Few scripts attached. And a template sample:
> 
> =======================================================
> |p{cm-top-politeness %am} |p{cm-firstname %A %N},
> 
> 
> ?d{On %d }%f wrote:
> 
> %q
> %X
> |p{cm-bottom-politeness --cr %am %N}
> =======================================================
> 
> In that case, scripts must be on the path, but you can prefix the
> script name with the complete path too.
> 
> It's not 100% perfect, it's poorly designed, but works reasonably and
> fits my needs, and you now have script templates to base your custom
> rules on.
> 

Thats fine, thank you. It saves me a lot of time, because I'm quite
slow with scripting shell.

> I don't know a real place to share such stuff, except
> http://www.claws-mail.org/tools.php?section=downloads and discussing
> tools on this ML.
> 

Yes, but not a place to let users upload stuff.

> 
> Regards,
> 
> > On Mon, 27 Feb 2012 10:13:47 +0100
> > wwp <subscript at free.fr> wrote:
> > 
> > > Hello Michael,
> > > 
> > > 
> > > On Mon, 27 Feb 2012 10:05:34 +0100 Michael <codejodler at gmx.ch>
> > > wrote:
> > > 
> > > > In Prefs -> Writing -> Reply, i have 
> > > > 
> > > > ?ABf{%ABf,}!ABf{%F,}
> > > > %X
> > > > %q
> > > > 
> > > > The problem is, if it si a friend, i wanted to reply with first
> > > > name only. As a rough indicator, friends usually have nickname
> > > > field in addressbook, or, at least, separate first / last names.
> > > > With business contacts, i usually don't bother to edit these
> > > > fields at all.
> > > > 
> > > > Thus the reply would look like
> > > > 
> > > > Hello Peter # for a friend
> > > > 
> > > > and
> > > > 
> > > > Dear Mr. President # for someone who's name is like "Homer LVII.
> > > > President")
> > > > 
> > > > So my question is, can i have addressbook completion 'From' but
> > > > with the first name, or (better) the nickname, if exists, and
> > > > with last name otherwise ?
> > > 
> > > You cannot tune the addressbook completion, unless you modify the
> > > contact data itself.
> > > 
> > > I use a set of custom scripts to determine what's the introducing
> > > (Hi Michael, Hello M. President) and goodbye (Regards, Ciao)
> > > politeness formulae. Those scripts perform a switch/case
> > > according to the account and some few exceptions because some
> > > From have inverted 1st/last names, and are called by the
> > > compose/reply templates.
> > > 
> > > 
> > > Regards,
> > > 
> > 
> > 
> > best regards,
> > Uwe
> > _______________________________________________
> > Users mailing list
> > Users at lists.claws-mail.org
> > http://lists.claws-mail.org/cgi-bin/mailman/listinfo/users
> 


best regards,
Uwe



More information about the Users mailing list