Open shackra opened 8 years ago
@shackra This seems like the issue described in #30 .
My solution is to call (alert-add-rule)
before (alert "msg" :style 'notifier)
.
This is a little strange, but it do send alert with terminal-notifier
.
I don't have a Mac anymore, but thanks for the insight!
El miércoles 20 de abril del 2016 a las 2230 horas, Zheng Piaodan escribió:
@shackra This seems like the issue described in #30 . My solution is to call
(alert-add-rule)
before(alert "msg" :style 'notifier)
. This is a little strange, but it do send alert withterminal-notifier
.
You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/jwiegley/alert/issues/32#issuecomment-212736604
👋 Pax et bonum. Jorge Araya Navarro https://es.gravatar.com/shackra
(alert-add-rule)
in my .emacs (or Preferences.el) file I had to change in function alert-notifier-notify in alert.el the string"-sender" "org.gnu.Emacs"
to "-sender" "org.gnu.Aquamacs"
This is because I use Aquamacs in which case "org.gnu.Emacs" will cause an error.
By the way, if you use the emacs version from https://emacsformacosx.com/, then you might not be able to run the elisp function "executable-find" which is called in alert.el. You can solve this by downloading the emacs package "exec-path-from-shell" (from https://github.com/purcell/exec-path-from-shell).
Furthermore add the following to your .emacs file, because of https://github.com/jwiegley/alert/issues/30 (setq alert-default-style (quote notifier)) (setq alert-user-configuration (quote ((nil notifier nil))))
At work, I'm using Emacs for Mac OS X. I installed terminal-notifier using brew, and I cannot get my library to emit notifications using the terminal-notifier style provided by alert, everything I get on Message buffer is this:
Any idea what's going on? thanks!