SiteMap Search ElispArea HowTo Glossary RecentChanges News Problems Suggestions

rcircNotify

Libnotify notifications for rcirc.

Source:

To install, put it in your LoadPath and add the following to your InitFile:

    (eval-after-load 'rcirc '(require 'rcirc-notify))

This library tries to use the following binaries to send the message:

notify-send
Available in packages libnotify-bin on Ubuntu, for example
growlnotify
Newer Mac OSX
osascript
Older Mac OSX

How do I change the message?

Redefine `my-rcirc-notify-message`. Use %s for where you want the name of the person calling your name to go.

Strange notifications?

You might see a message saying “X is calling your name” but when you check your active rcirc buffers, you see nothing. What happened?

I found the following to be useful:

(defun occur-irc (regexp)
  "Run `multi-occur' for all buffers in `rcirc-mode'."
  (interactive "sList lines matching regexp: ")
  (multi-occur (let (result)
		 (dolist (buf (buffer-list))
		   (with-current-buffer buf
		     (when (eq major-mode 'rcirc-mode)
		       (setq result (cons buf result)))))
		 result) regexp))

Use it to find X in all your rcirc buffers. I discovered what had happened: *** X MODE +oooo kensanata – aaaah! :)

See also


CategoryChatClient rcirc