emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [PATCH] org-show-notification will use todochiku.el if ava


From: Bastien
Subject: Re: [Orgmode] [PATCH] org-show-notification will use todochiku.el if available
Date: Thu, 23 Jul 2009 17:41:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Hi Jason,

thanks a lot for the idea.  I have generalized this approach a bit by
adding a new option: org-show-notification-handler.  

The value of this new variable can either be an elisp function or a
program.  The function/program will be called with the notification 
string as an argument.

So for example:

(setq org-show-notification-handler
      '(lambda (notification)
         (todochiku-message "org-mode notification" notification
                            (todochiku-icon 'emacs))))

should do what you want.

If this variable is nil, the notification mechanism falls back on
notify-send (if available) and the elisp message otherwise.

Thanks again!

-- 
 Bastien




reply via email to

[Prev in Thread] Current Thread [Next in Thread]