|
From: Michael O. <mw...@gn...> - 2005-07-25 20:10:55
|
Pascal J.Bourguignon <pj...@in...> writes: > 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? Is this still an issue in the latest CVS checkout of ERC? If so, it should probably be fixed; either by me when I get back from vacation in a few weeks, or by someone else who's willing to work on it. =2D-=20 Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/ Interests: anime, Debian, XHTML, wiki, Emacs Lisp /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #pulug |_] | \| |_| Jabber: mwolson_at_hcoop.net |