|
From: Michael O. <big...@ya...> - 2004-07-12 23:08:45
|
I've enclosed a patch to erc.el which does the following things: - Add a new configurable variable called `erc-kill-server-buffer-on-quit' that defaults to nil - Significant rewrite of erc-process-sentinel. I split off some of the code into erc-process-sentinel-1 in order to make it more readable. - Modify erc-process-sentinel to mark server buffers as unread so that they are easier to kill manually. - Modify erc-process-sentinel to insinuate the new `erc-kill-server-buffer-on-quit' option. - Colorize the disconnect and finished messages. - Kill the last ERC prompt in the server buffer before displaying the message(s). The only unresolved issue with the patch is that XEmacs apparently complains when I try to kill the prompt. bpalmer from #emacs is working on that. Apparently XEmacs seems to have another layer of complexity in that it can have a non-read-only buffer with read-only text. Kudos to jbms and bpalmer from #emacs for the help. Mike Olson preferred email addr: <mw...@me...> (Sourceforge was rejecting my email message for some reason; reverting temporarily to Yahoo addr) __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail |