2010-03-25 Show Only rcirc Buffers

The following function will replace whatever you are looking at with all your rcirc targets (channels and query buffers). It turns out that with 13 channels I’m already reaching a limit on this display. Bummer!

(defun rcirc-only ()
  (let (channels)
    (dolist (buf (buffer-list))
      (with-current-buffer buf
	(when (and (eq major-mode 'rcirc-mode)
	  (setq channels (cons buf channels)))))
    (let ((win (selected-window))
	  (size (/ (window-height) (length channels))))
      (dolist (buf channels)
	(split-window-vertically (- (window-height) size))
	(window--display-buffer-2 buf (selected-window)))
      (delete-window win)))

As I said. Useless. Every window is about three lines high. Gaaah! >{



fledermaus suggested http://paste.lisp.org/display/96878 on #emacs.


17:17 fledermaus
kensanata: make a synthetic “master irc” buffer and echo all irc channel messages into it using the appropriate hooks, labelling each insert with the channel
17:18 fledermaus
kensanata: possibly use colour coding, eg like alternate row banding in tables, to show when the channel cntext changes


AlexSchroeder 2010-03-25 16:18 UTC

see rcirc-groups to have an IRC equivalent to Group with gnus. I still have some bugs around eve for you to participate :)


dim 2010-03-25 21:19 UTC

Please make sure you contribute only your own work, or work licensed under the GNU Free Documentation License. Note: in order to facilitate peer review and fight vandalism, we will store your IP number for a number of days. See Privacy Policy for more information. See Info for text formatting rules. You can edit the comment page if you need to fix typos. You can subscribe to new comments by email without leaving a comment.

To save this page you must answer this question:

Please say HELLO.