-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Peter,

@03 May 2002, 23:47:33 +0200 (22:47 UK time) Peter Fjelsten wrote in
[EMAIL PROTECTED]">mid:[EMAIL PROTECTED]

> First let me say that your answers are excellent!

<blush>

M>> TB is one of the few MUAs that can nicely reformat quoted text.
M>> Focus into a quoted paragraph, press Alt-L and the quote prefix is
M>> removed, the paragraph reformatted and the prefix replaced.

> I don't understand. What is this supposed to do?

When a paragraph of quoted text is long or has already been long
line/short line distorted, TB will let you reflow the quoted text,
either using autoformat (that's how I do it - put the cursor at the
end of the last line of a quoted paragraph and hit space) or by using
the "reformat" shortcut keystroke of Alt-L.

M>> No, but there's a recursive template you can use to do that job. I
M>> used it for a while but it's not the way to go, not really.

> OK, could you post it? I am not too good with reg exp (as you have
> seen!) :)

,----- [ wrap ]
| %COMMENT="%CLIPBOARD"%-
| %QINCLUDE="wrap2"
| %COMMENT=""
`-----

,----- [ wrap2 ]
| %IF:'%-
| %SETPATTREGEXP="(?is-m)[^\n]+"%-
| %REGEXPMATCH="%COMMENT"'<>'':'%-
| %-
| %WRAPPED=_%SETPATTREGEXP="(?is-m)^(.*?)(\n((\w{0,5}(\>\s*)+)?\n)+(.*)$|\z)"%-
| %-%-%-%-%-%REGEXPBLINDMATCH="%COMMENT"%-
| %-%-%-%-%-%SUBPATT="1"_
|
| %COMMENT=_%SETPATTREGEXP="(?is-m)^.*?(\n((\w{0,5}(\>\s*)+)?\n)+(.*)$|\z)"%-
| %-%-%-%-%-%REGEXPBLINDMATCH="%COMMENT"%-
| %-%-%-%-%-%SUBPATT="5"_%-
| %QINCLUDE="wrap2"'
`-----

M>> ... Outgoing filters only hit after the message has been sent.

> Thought so. Regarding this reading confirmation (actually, it's an
> order confirmation I need to edit before it goes out - therefore no
> "send immediately is possible"), can I make it go into another
> folder automatically so I can use Send/Check?

> I'd like:
> Receive M1 (original mail) in Inbox
> Filter M1 to F1 (folder 1)
> Make R1 (reply with the reg exp)
> Filter R1 to F2 (not Outbox)
> I edit and move to Outbox.

Here's what I think: you have to edit the mail anyway... make the
decision to do so manually.

1) define a quick template that begins with %CLEAR and formats up the
   message and all the headers as from the reply
2) open a message that fits the bill and reply to it.
3) in the editor - type the handle of the QT and Ctrl-Space.
4) you are now sitting with the reformed (R1) message in the editor to
   do with as you wish.

> Is it possible to change all the macro text when an account is
> changed? I mean, if I receive mail on Account 1, open a reply for it
> and change to Account 2, then the macro stuff is still for A1.

I make all of my main QT's active in all accounts and most of my
templates are compilations of calls to %QINCLUDE them piecemeal. I
have other QT's to change fundamental signatures and formats between
accounts. It's a matter of setting these things up longhand to save
time in the end.

I see what you mean though: once a template has been "run" what's left
is plain text. All you can hope to do is use %CLEAR based quick
templates and start over.

Once again, the logic may need a break down:

What's going to change? From, Reply-To and Signature. The format of
the start of messages is pretty generic really, isn't it? I can't
think of anything else. We've already covered Reply-To; that leaves
- From and Sig. Well, From changes when you change account.

Now we're down to Sig. All of mine are individual (or summed
component) QT's which include the %ISSIGNATURE macro. That means,
anywhere in the message body, I type the handle of a sig QT and
whatever signature may appear beneath the cut mark (dash-dash-space)
is replaced by the new signature. No blood, no gore.

Any help?

- --
Cheers -- .\\arck D. Pearlstone -- List moderator
SB! v1.60d/iKey1000-5523848F0B1 on Windows 2000 5.0.2195 Service Pack 2
�
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (MingW32)

iD8DBQE80xTYOeQkq5KdzaARAumHAKCw+xAsOGFx/9L2vNFj3lkSlDVamQCZATTu
P/lx5EvO6VI62RZpKJlvTRM=
=3N9O
-----END PGP SIGNATURE-----



________________________________________________________
Current Ver: 1.60i
FAQ        : http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://bt.ritlabs.com

Reply via email to