Bastien <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] ([AvataR]) writes: > >> Is there any way to make visual (OSD/whatelse) notifications about >> upcoming events present in my .org lists? > > You might want to use the appt-* functions all together with > `org-agenda-to-appt' (which see). > > This page also contains a few hints: > > http://orgmode.org/worg/org-hacks.php > > HTH,
I think the modified code here is working fine for emacs 22 : I removed the run at 24:01 since the run-at-time without a time runs it then and there and then every delta seconds. ,---- | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ; For org appointment reminders | | ; 5 minute warnings | (setq appt-message-warning-time '15) | (setq appt-display-interval '15) | | ; Update appt each time agenda opened. | (add-hook 'org-finalize-agenda-hook 'org-agenda-to-appt) | | ; Setup zenify, we tell appt to use window, and replace default function | (setq appt-display-format 'window) | (setq appt-disp-window-function (function my-appt-disp-window)) | | (defun my-appt-disp-window (min-to-app new-time msg) | (save-window-excursion (shell-command (concat | "/usr/bin/zenity --info --title='Appointment' --text='" msg "' &" | ; "/usr/bin/gnome-osd-client " msg | ) nil nil) | )) | | ;; Run once, activate and schedule refresh | (run-at-time nil 3600 'org-agenda-to-appt) | (appt-activate t) | | (require 'diary-lib) | (add-hook 'diary-display-hook 'fancy-diary-display) `---- -- _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode