emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-mode and auto notifications?
@ 2008-09-21  8:35 [AvataR]
  2008-09-21  9:22 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: [AvataR] @ 2008-09-21  8:35 UTC (permalink / raw)
  To: emacs-orgmode

Hi list!

Is there any way to make visual (OSD/whatelse) notifications about
upcoming events present in my .org lists? 

(Sorry to Russell about followup)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-mode and auto notifications?
  2008-09-21  8:35 org-mode and auto notifications? [AvataR]
@ 2008-09-21  9:22 ` Bastien
  2008-09-21 16:55   ` Richard Riley
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2008-09-21  9:22 UTC (permalink / raw)
  To: emacs-orgmode

public.avatar@gmail.com ([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,

-- 
Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-mode and auto notifications?
  2008-09-21  9:22 ` Bastien
@ 2008-09-21 16:55   ` Richard Riley
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Riley @ 2008-09-21 16:55 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

Bastien <bastienguerry@googlemail.com> writes:

> public.avatar@gmail.com ([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)
`----

-- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-21 16:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-21  8:35 org-mode and auto notifications? [AvataR]
2008-09-21  9:22 ` Bastien
2008-09-21 16:55   ` Richard Riley

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).