Skip to main content
added 101 characters in body
Source Link
Jordon Biondo
  • 12.7k
  • 2
  • 46
  • 63

First, make sure you're running (rcirc-notify-add-hooks) in your config.

It seems that rcirc-notify simply does not allow itself to work when `window-system'window-system is nil. So if you are running emacs in a terminal, it will never notify you.

You can get around this with some advice:

(defadvice rcirc-notify (around spoof-window-system activate) (let ((window-system 'spoof)) ad-do-it)) (defadvice rcirc-notify-keyword (around spoof-window-system activate) (let ((window-system 'spoof)) ad-do-it)) (defadvice rcirc-notify-private (around spoof-window-system activate) (let ((window-system 'spoof)) ad-do-it)) 

The internals of these functions do a (when window-system ... ) which is the problem, so you can simply fake a window-system when calling those functions, and they should work for you.

It seems that rcirc-notify simply does not allow itself to work when `window-system' is nil. So if you are running emacs in a terminal, it will never notify you.

You can get around this with some advice:

(defadvice rcirc-notify (around spoof-window-system activate) (let ((window-system 'spoof)) ad-do-it)) (defadvice rcirc-notify-keyword (around spoof-window-system activate) (let ((window-system 'spoof)) ad-do-it)) (defadvice rcirc-notify-private (around spoof-window-system activate) (let ((window-system 'spoof)) ad-do-it)) 

The internals of these functions do a (when window-system ... ) which is the problem.

First, make sure you're running (rcirc-notify-add-hooks) in your config.

It seems that rcirc-notify simply does not allow itself to work when window-system is nil. So if you are running emacs in a terminal, it will never notify you.

You can get around this with some advice:

(defadvice rcirc-notify (around spoof-window-system activate) (let ((window-system 'spoof)) ad-do-it)) (defadvice rcirc-notify-keyword (around spoof-window-system activate) (let ((window-system 'spoof)) ad-do-it)) (defadvice rcirc-notify-private (around spoof-window-system activate) (let ((window-system 'spoof)) ad-do-it)) 

The internals of these functions do a (when window-system ... ) which is the problem, so you can simply fake a window-system when calling those functions, and they should work for you.

added 470 characters in body
Source Link
Jordon Biondo
  • 12.7k
  • 2
  • 46
  • 63

It seems that rcirc-notify doesn't configuresimply does not allow itself automatically. In your eval-afterto work when `window-load "rcirc" addsystem' is nil. So if you are running emacs in a terminal, it will never notify you.

You can get around this with some advice:

(defadvice rcirc-notify (around spoof-window-system activate) (let ((window-system 'spoof)) ad-do-it)) (defadvice rcirc-notify-keyword (around spoof-window-system activate) (let ((window-system 'spoof)) ad-do-it)) (defadvice rcirc-notify-private (around spoof-window-system activate) (let ((window-system 'spoof)) ad-do-it)) 

The internals of these functions do a (rcirc-notify-addwhen window-hookssystem ... )

More information can be found in which is the readme https://github.com/nicferrier/rcirc-notify/blob/master/README.mdproblem.

rcirc-notify doesn't configure itself automatically. In your eval-after-load "rcirc" add:

(rcirc-notify-add-hooks)

More information can be found in the readme https://github.com/nicferrier/rcirc-notify/blob/master/README.md.

It seems that rcirc-notify simply does not allow itself to work when `window-system' is nil. So if you are running emacs in a terminal, it will never notify you.

You can get around this with some advice:

(defadvice rcirc-notify (around spoof-window-system activate) (let ((window-system 'spoof)) ad-do-it)) (defadvice rcirc-notify-keyword (around spoof-window-system activate) (let ((window-system 'spoof)) ad-do-it)) (defadvice rcirc-notify-private (around spoof-window-system activate) (let ((window-system 'spoof)) ad-do-it)) 

The internals of these functions do a (when window-system ... ) which is the problem.

Source Link
Jordon Biondo
  • 12.7k
  • 2
  • 46
  • 63

rcirc-notify doesn't configure itself automatically. In your eval-after-load "rcirc" add:

(rcirc-notify-add-hooks)

More information can be found in the readme https://github.com/nicferrier/rcirc-notify/blob/master/README.md.