From: Pascal J.B. <pj...@in...> - 2005-04-25 18:46:31
|
I had this problem: erc was showing timestamps when a hiden fool message came in. It is due to the order the erc insert modify hooks are run. To solve it, I added this to erc-mode-hook: (setf erc-insert-modify-hook (cons 'erc-add-timestamp (delete 'erc-add-timestamp erc-insert-modify-hook))) but of course, then I had to move the timestamp to the left for the right alignment would not be able to be done. Perhaps the right solution would be in erc-add-timestamp to check that the message is hidden and then not insert the time stamp or insert it hidden too. Also, unless erc-insert-modify-hook is to be considered internal, perhaps the hooks put in erc-insert-modify-hook should have a priority to have them ordered correctly? -- __Pascal Bourguignon__ http://www.informatimago.com/ Kitty like plastic. Confuses for litter box. Don't leave tarp around. |