From: Andreas F. <as...@vo...> - 2002-05-29 18:37:03
|
Today, Mario Lang <ml...@de...> wrote: >> How about having no timestamp stuff clutter the channel buffers, >> rather put the timestamp in a text property or similar, so that >> moving the mouse (or point) over it creates a timestamp message in >> the minibuffer. Maybe > Look at erc-echo-timestamps, and code which uses it :-). Oh, I just knew that this idea wasn't originally mine. (-: I will. As soon as the timestamping stuff is in skeleton state, I will write it. >> even a bubble-help like thingy could pop up... > Sounds good. Ok, I'll look into how the button thingies do "it." >>> Any ideas? Any comments? Is there something which prevents this? >>> Does someone want to do it? If not, I will try. >> >> I would certainly want to give filling advice, and most probably >> create the minibuffer timestamping stuff. > > Good. Do we need any additional hooks to be able to get rid of all > that in the core? IMHO, there should be no additional hooks required. What about this customizable thingy: (defcustom erc-timestamp-function-list nil "Functions to call when timestamping messages." :type '(repeat function)) (defun erc-timestamp-left (...)...) (defun erc-timestamp-right (...)...) (defun erc-timestamp-minibuffer (...)...) (defun erc-timestamp () "Timestamp incoming (and outgoing) messages. This function is designed to be called from `erc-insert-post-hook'. Customize `erc-timestamp-function-list' if you wish to modify timestamping behaviour." (mapc (lambda (function) (funcall function)) erc-timestamp-function-list)) Would something like that be fine? Have fun, -- Andreas Fuchs, <as...@ac...>, as...@ja..., antifuchs |