Rocco -- ...and then Rocco Rutte said... % % Hi,
Hello! % % I send this to the user's list and not to developer's because I do not % want to 'spam' anybody. I think that -users is a good place for it. % % 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! :-) % in the file I specify by the 'record' variable. Using `date`. But `date` % is only expanded on startup. Pipes may not be used. So that all mails % would end up in the same file the with time mutt read the config file. % And permanently re-reading the config file is ugly. Right. % % Just wondering if there's a mechanism to tell mutt to expand it % everytime the value of a variable is used. Maybe by allowing pipes to be % used more often or even generally? 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). 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. % % If not the documentation should be changed since it mentions the use of % a pipe for the 'signature' variable. This may let people expect, that it % works in other variables of type 'path', too. Which is not the case. At % least a note should be inserted, that this for this variable only (just % for the stupid ones ;-). Hmmm... Not a bad idea, I suppose, but this functionality is only for signature, so that's a special case. % % I thought of dividing the 'path' type into one dynamic and on static. % The dynamic ones would allow pipes generall whereby the static don't. % Just a thought. 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". % % Any ideas, opinions, comments? HTH & HAND % % Rocco :-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.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
msg26204/pgp00000.pgp
Description: PGP signature