Caster --
...and then Caster said...
% Hi!
% I want to make myself kind of "template" for writing mails. I think the
Neat idea.
% best way would be a filter, that could put some text in a new mail. The
% filter is not a problem, but I wonder how to call it automatically
...
% set editor="the_filer %s; vim %s". It works and it's possible to have
Yep; I think you'll find that that's best.
% different filters for different addresees (with a send-hook pattern 'set
Aren't hooks great? :-)
% editor="filter_no_2 %s; vim %s"'). Now I just wonder if there is a "nicer"
% way to solve my problem?
No, I think that that's it. I certainly can't think of a cleaner way,
although the possibility of a macro springs to mind.
% BTW: Why the '' are necessary when I define a hook and there are "" in
% the expression (like: send-hook mutt-users 'set attribution="sth"')?
The '' protect the hook from being evaluated, while the "" (or '')
insulate the spaces. You can often skip the '' but there are times when
it's necessary.
%
% --
% Bi-la kaifa
% mailto:[EMAIL PROTECTED]
:-D
--
David T-G * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001. There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*
PGP signature