From: Andras B. <dr...@bi...> - 2002-01-27 20:53:23
|
Hi. Would it be possible to be able to save timestamps in logs even when timestamping is disabled in the buffers? I believe this is a good idea, because in principle I really don't need timestamps, but logs are for archiving - and it can be important to know when did the events happen. According to an IRC conversation with delYsid, this feature requires two things to be implemented: 1. Make sure that *every* line of the ERC buffer has a timestamp property -- it wasn't true for messages by me, but adding (put-text-property 0 (length s) `timestamp (current-time) s) around line #1760 seemed to help. Note that it adds the property only to the message, not to the nick and it may be wrong with actions different from channel text. 2. Write a function that saves the erc buffer line by line and extracts the timestamp for each line from the properties, converts it to human-readable form and adds it. My lisp knowledge is unfortunately way too rough to be able to code anything usable, hence is the subject. Any help would be appreciated. Thanks, -- BALI, Andra's GPG keyID: 78560E1C dr...@bi... ba...@de... and...@st... |