On Mon, Jan 12, 2009 at 10:27:44AM +0100, Rado S wrote: > =- Christian Mongeau wrote on Sat 10.Jan'09 at 17:27:01 +0100 -= > > > How can I change the $date_format in the index after setting it > > with a reply-hook? > > Maybe replace your "send" key with a macro to reset date_format > after sending.
Ah, now that you mention "send"... A send2-hook does the job: folder-hook . 'set date_format="%d/%b %H:%M"' reply-hook . 'set date_format="!%a, %b %d, %Y at %I:%M:%S%p %Z"' send2-hook . 'set date_format="%d/%b %H:%M"' Thanks. Best regards, chr -- SDF Public Access UNIX System - http://sdf.lonestar.org