4

Are there any tools for making UI-based or email-based DEADLINE notifications in org-mode?

It'd be nice to convert org-mode's pull-based DEADLINE access (via C-c a a) into a push-based system :)

5
  • C-c a a isn't a binding in vanilla org mode
    – Squidly
    Commented Nov 20, 2014 at 14:06
  • That would likely require a timer (with auto-repeat perhaps) and the org-mode buffer(s) would need to be opened (at least in the background) when that timer goes off, and then integrate that to something like Wanderlust. Doable, but non-trivial. It could also be integrated to create a system notification -- e.g., when timer buzzes and deadline within range exists, than run an applescript on OSX that plays a song or speaks a message or whatever. Emacs would need to be running, or a system based timer to launch Emacs.
    – lawlist
    Commented Nov 20, 2014 at 16:34
  • I think it is more than doable. Which is why I thought maybe someone already did it :) All you need to do is point the notifier code at the files to watch, and show them how to parse out the DEADLINE sections. Commented Nov 21, 2014 at 0:59
  • The simplest solution is doing it in an agenda hook. I assume you use agendas. When an agenda is bult it shows the tasks with deadlines, so in a hook fuction after the agenda is ready you parse the agenda buffer and if there are any deadlines then you send a notification. You can store in a file which notifications have been sent already, so they are not sent twice.
    – Tom
    Commented Nov 21, 2014 at 9:12
  • The following link is for cross-reference purposes because the two threads are (in my opinion) closely related to one another: emacs.stackexchange.com/q/3844/2287 It's not necessary to use an agenda buffer (since all that is needed is an re-search-backward [from point-max] of the raw master todo *.org file), but a list to keep track of previous notifications is indeed important as Tom indicated.
    – lawlist
    Commented Nov 25, 2014 at 19:30

1 Answer 1

2

You can do this indirectly by exporting your org files to icalendar with C-c C-e c a and loading the resulting ics file in Thunderbird or Google Calendar or some other calendaring tool. Most such tools can give notifications about deadlines.

For Thunderbird, import the file as a "on the network" calendar with a url of file:///path/to/calendar.ics.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.