Hello MAU,

On Tuesday, September 16, 2003 at 11:55 GMT +0200, Mau [M] pressed
random keys until the following was produced:

<snip>
M> Again looking in archives I found out about a QT for v2.0 called
M> "Recipients list". So, with v2.0 I tried this:

M> Reply template as above.

Change your reply template to:

=====[Begin reply template]=====
--------- Original Message ---------
   From: %OFromName <%OFromAddr>
   Date: %ODateEn %OTimeLongEn                          %IF:'%OTOLIST'<>'':'
     To: %_RL_Text="%OTOLIST; "%QINCLUDE="print_recipient"' %IF:'%OCCLIST'<>'':'
     Cc: %_RL_Text="%OCCLIST; "%QINCLUDE="print_recipient"'
Subject: %OFULLSUBJ

%TEXT
=====[ End  reply template]=====

This takes the %Comment macro out of the picture all together.  Since
the %Comment macro no longer accepts completely arbitrary text, using
a variable is safer (and shorter in this case).

M> ,----- [ 'print_recipient' for v2.0 ]
M> | %_RL_Num_Space("9")%-
M> | %_RL_Text="%Comment"%-
     ^^^^^^^^^^^^^^^^^^^^^^ Delete this line
     
M> | %SetPattRegexp="^(?s)\s{%_RL_Num_Space}(.*)\Z"%-
M> | %RegExpMatch="%-
M> | %___%QInclude='Recipient List'"%-
                                    ^^ Add this and make sure there
                                       are no trailing newline
                                       characters.  The new version
                                       doesn't delete them
                                       automatically.
M> `-----
<snip>
M> Where I have just changed  %COMMENT="%OTOLIST; " to %COMMENT="%OTOLIST"
M> and %COMMENT="%OCCLIST; " to %COMMENT="%OCCLIST" (I have deleted the
M> semicolon and space), what I get is this:

You should change this back.  If your templates are feeding the right
format information to the "Recipient List" template, then your
modification risks not printing the last name/address combination.

M> That is, I get 2 blank lines after each list instead of 3. But I would
M> obviously like to get rid of those blank lines too and I don't know how.

That doesn't make much sense.  I don't see in your templates where
this 2 line versus 3 line thing could be happening.  It looks like
somehow you're adding two semicolons somehow, but I don't see how.

Make the modifications above and if you're still having trouble.  If
not, great, otherwise we'll continue to try and track it down.

-- 
Thanks for writing,
 Januk Aggarwal





________________________________________________________

http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to