Hi, On Tue, Mar 26, 2002 at 03:29:58:PM -0500 David T-G wrote: > % The problem is the following: if I would type fast enough to send a few > % dozen mails a minute, I wanted to be abled to include the date and time
> Heh. And you talk about not wanting to spam! :-) You're lucky. I'm toooooo tired to type fast enough. ;-) > In general, if you set your config inside single quotes, it will be > evaluated at execution time (when you send the email or invoke the hook > or whatever) rather than read time (when you start mutt or reread your > muttrc file). The following doesn't work, too: set record='`date +/tmp/%H%M%S`' What I thought of is that 'record' becomes a special type of 'path' allowing pipes. Appending '|' could cause mutt just to remember that string (instead of its expanded value) and evaluate it short before usuage. > You can see more on this if you search the archives for send-hook and > uptime; this typically comes up when people want their x-uptime headers > to be accurate to the time of the email rather than the time of the > mua initialization. I'll have a look at the archive. But using hooks is not what I want. Just setting the variable. > IIRC that would be a short section; if anything, perhaps just a note that > says "... and you can only do this pipe thing on the $signature variable > unless you see us talk about pipes on another variable". Yepp. Well, a while back I had this problem and (temporarily) solved it by using a hook which sources another file containing a my_hdr command. This special file was not sourced anywhere else. Seemed to work. ... and I thought that some more generall solutions would be interesting. Rocco
msg26245/pgp00000.pgp
Description: PGP signature
