Re: %ORG macro, (was Re: The Bat! - suggestions)

2000-12-16 Thread Januk Aggarwal

Hello Quin,

On  Fri, 15 Dec 2000  at  11:34:54 GMT -0700 (which was 10:34 AM
where I live) witnesses say Quin Selman typed:

 I was mailing the messages to myself at another destination address.
 But I get the same results in the outbox, prior to actual sending, as
 I do after sending.

Right, the bug is that a NULL organisation gets replaced with the
account default when the message hits the outbox.  Enable the
Organisation field in the message editor and see what happens when you
apply the %ORG="" macro.  The organisation does get cleared.

 Here's something else I found: I removed the default organization from
 Account Preferences. Then %ORG="New Organization" will insert whatever
 you want from the template. And %ORG="New Organization"%ORG="" will
 give no organization in the message.

That makes sense given the above.

 Likewise, if there is a default organization in Account Preferences,
 the macros %ORG="New Organization"%ORG="" will yield the default.

Right, you're seeing the same behaviour.

 Not sure just what to make of all that. What are we saying is the
 "correct" behavior?
 
None of the above.  The macro works right, the account isn't accepting
what you're telling it.  There is a bug, it is just slightly different
than what you're thinking.


-- 
Thanks for writing,
 Januk Aggarwal

 Using The Bat! 1.48 Beta/12
 under Windows 98 4.10 Build   A 

-- 
--
View the TBBETA archive at http://tbbeta.thebat.dutaint.com
To send a message to the list moderation team double-click HERE:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBBETA, double-click HERE:
   mailto:[EMAIL PROTECTED]
--


You are subscribed as : archive@jab.org





Re: %ORG macro, (was Re: The Bat! - suggestions)

2000-12-13 Thread Thomas Speer




ME In my account props I have Organization defined. I then have %ORG="" in my
ME reply filters of certain folders. If I put %ORG="" the organization is
^

You write here Reply Filters the %org="xyz" Macro must be set in the
Templates are you doing this or are you trying to change something in
the wrong place?


ME unchanged, if I put %ORG="-" it is changed to - as expected.




-- 
MFG / Best regards,
Thomas Speer  mailto:[EMAIL PROTECTED]

-- 
--
View the TBBETA archive at http://tbbeta.thebat.dutaint.com
To send a message to the list moderation team double-click HERE:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBBETA, double-click HERE:
   mailto:[EMAIL PROTECTED]
--


You are subscribed as : archive@jab.org





Re: %ORG macro, (was Re: The Bat! - suggestions)

2000-12-13 Thread Manfred Ell

On 13-12-2000 at 14:53:06GMT +0100 (which was 13:53 where I live)
Thomas Speer wrote regarding the subject of "%ORG macro,  (was Re: The Bat! - 
suggestions)"


ME In my account props I have Organization defined. I then have %ORG="" in my
ME reply filters of certain folders. If I put %ORG="" the organization is
Thomas ^

Thomas You write here Reply Filters the %org="xyz" Macro must be set in the
Thomas Templates are you doing this or are you trying to change something in
Thomas the wrong place?

Hello Thomas,

Sorry for the confusion, I have the macro in the quick-templates, which I
use for the folders, i.e. in my Tbbeta folder I have the following as reply
template: %QINCLUDE="Replylist"

The templates looks like:

Replylist:
--start--
%QINCLUDE="ReplyHeaderList"
%SETPATTREGEXP="^.*(?=[^\S\n])|^.*"Hello %REGEXPMATCH="%TONAME",

%Cursor

%QINCLUDE="TheBat"
%QINCLUDE="Subject"
end--

ReplyHeaderList:
--start--
%SETPATTREGEXP="(?m-s)Date\:\s*?((.*?[\d]{4})\s*?([\d]{0,2}\:[\d]{0,2}\:[\d]{0,2})\s*?(.*))"%REGEXPBLINDMATCH="%HEADERS"On
 %ODATESHORT at %SUBPATT="3"GMT%SUBPATT="4" (which was %OTIME where I live)
%OFROMNAME wrote regarding the subject of 
"%setpattregexp="(?i)\A\:?(\s*\[.*\])?(\s*(re|ha|rcpt|fwd|fw)(\[\d*\])?:\s*)*(.*)"%RegExpBlindMatch="%OSubj"%SubPatt='5'"
%ORG=""
%QINCLUDE="QuoteStyle"
%QINCLUDE="Quotes"
end--

QuoteStyle:
--start--
%quotestyle='=%ABOFROMFIRSTNAME="%OFROMFNAME"'
end--

Quotes:
--start--
%quotes="%SETPATTREGEXP=""(?is)(^-BEGIN PGP 
SIGNED.*?\n(Hash:.*?\n)?\s*)?(.*?)(^(-*?\s*?--\s*\n|_{40,}\s*\n|-BEGIN PGP 
SIGNATURE.*s?\n|-+\s*eGroups.*~-~.*-*_-)|\z)""%REGEXPBLINDMATCH=""%text""%SUBPATT=""3"""
end--

TheBat:
--start--
using TheBat %THEBATVERSION on Windows %WINDOWSMAJORVERSION.%WINDOWSMINORVERSION Build 
%WINDOWSBUILDNUMBER %WINDOWSCSDVERSION
end--

Subject:
--start--
%subject="Re: 
%setpattregexp=""(?i)\A\:?(\s*\[.*\])?(\s*(re|ha|rcpt|fwd|fw|sv)(\[\d*\])?:\s*)*(.*)""%RegExpBlindMatch=""%OSubj""%SubPatt=""5"""
end--


I like the templates to be modular like this, because when I want to change
something in a "module template" it changes automagically in all templates
which use it.

So far as I can see everything is OK. But the %ORG="" is ignored, or to be
precise:
When I create the reply message the macro works as the organization field
(which I have turned on in the view menu) is blanked. BUT once I send the
message the default organization is put again in the field, i.e. the
message in the outbox and after sending in the sent-folder has the
organization filled in.

If I change the above macro to read %ORG="-" everything works as it should.

The same happens when I test this in another account, which has NO macros
defined whatsoever.


Sorry for this long message but I hope I've covered all for you to
understand.


Regards

-- 
Manfred

using TheBat 1.48 Beta/11 on Windows 5.0 Build 2195 Service Pack 1, RC 1.1


Why do Newfies put bells on their cows? Because the horns don't work.

-- 
--
View the TBBETA archive at http://tbbeta.thebat.dutaint.com
To send a message to the list moderation team double-click HERE:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBBETA, double-click HERE:
   mailto:[EMAIL PROTECTED]
--


You are subscribed as : archive@jab.org