Diary SiteMap RecentChanges About Contact 2010-03 Calendar

Search:

Matching Pages:

2010-03-25 Show Only rcirc Buffers

Last edit

Changed:

< As I said. Useless. Gaaah! >{

to

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


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 ()
  (interactive)
  (let (channels)
    (dolist (buf (buffer-list))
      (with-current-buffer buf
	(when (and (eq major-mode 'rcirc-mode)
		   rcirc-target)
	  (setq channels (cons buf channels)))))
    (delete-other-windows)
    (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)))
  (balance-windows))

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

Tags:

Comments

Difference between revision 6 and current revision

Summary: Rollback to 2011-01-23 19:28 UTC

No diff available.

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

And:

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

Interesting…

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 :)

http://github.com/dimitri/rcirc-groups

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. 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.

Show Google +1

EditNearLinks: rcirc