|
From: <da...@ad...> - 2004-09-23 15:10:36
|
Pascal J.Bourguignon <pj...@in...> writes: > Hello, > > I'm a new user of erc, and I have a couple of questions: > > - how to erase (/clean) a channel buffer? erase-buffer complains for > read-only text. For now, the only solution I have is /leave and > /join #channel. (And I mean really removing all the buffer contents, > not jumping down!) > I just got this the other day from a user here, as I had the same question. Put this in your .emacs, and change the key definition to something you like: (fset 'ClearERC [?\C-p ?\C-e ?\C- ?\M-< ?\C-w ?\M->]) (global-set-key (kbd "C-c C-x C-c") 'ClearERC) I run this with point right after the ERC prompt. It goes up a line, moves to the end of the line, sets the point, moves to the beginning of the buffer, kills the region, and moves to the end of the buffer > - the answers to /msg commands given in a #channel buffer go to the > server buffer. How can one get them in the #channel buffer where > the /msg command was given? > Can't help with this one... Dave |