[O] Notifications of appointments in Agenda screen?
Hi all, I seem to recall a feature in org-mode that would show notifications for upcoming appointments, scheduled items, deadlines, etc. in Emacs itself. For example the status bar would have a red notification saying Dr Appointment in 15 minutes. I'm looking all over, and all I can find are posts about how to set up org-notify to call some external messaging app. I'm on OSX and don't want to purchase Growl. I found org-notify.el, (https://github.com/p-m/org-notify/blob/master/org-notify.el) but it seems to require a notify property on any headline that you want to be notified of. I would like org-mode to automatically notify me (on the status bar, etc) for any headline that has a time associated with it. I also don't want to rely on an external program because I use org-mode on different systems. Any ideas for a simple notification system that would pop up a message in Emacs itself, or on the status line? Thanks, --Nate
Re: [O] Notifications of appointments in Agenda screen?
On Thu, Aug 30, 2012 at 8:26 AM, Nathan Neff nathan.n...@gmail.com wrote: Hi all, I seem to recall a feature in org-mode that would show notifications for upcoming appointments, scheduled items, deadlines, etc. in Emacs itself. For example the status bar would have a red notification saying Dr Appointment in 15 minutes. Nevermind -- I got it. I found the appt-activate and org-agenda-to-appt. I'll put a simple how-to on Worg if I find time :-) I'm looking all over, and all I can find are posts about how to set up org-notify to call some external messaging app. I'm on OSX and don't want to purchase Growl. I found org-notify.el, (https://github.com/p-m/org-notify/blob/master/org-notify.el) but it seems to require a notify property on any headline that you want to be notified of. I would like org-mode to automatically notify me (on the status bar, etc) for any headline that has a time associated with it. I also don't want to rely on an external program because I use org-mode on different systems. Any ideas for a simple notification system that would pop up a message in Emacs itself, or on the status line? Thanks, --Nate
Re: [O] Notifications of appointments in Agenda screen?
Nathan Neff nathan.n...@gmail.com wrote: I seem to recall a feature in org-mode that would show notifications for upcoming appointments, scheduled items, deadlines, etc. in Emacs itself. For example the status bar would have a red notification saying Dr Appointment in 15 minutes. I'm looking all over, and all I can find are posts about how to set up org-notify to call some external messaging app. I'm on OSX and don't want to purchase Growl. The appt.el part of the calendar/diary application that's built into emacs can certainly do that. See e.g. http://orgmode.org/worg/org-hacks.html#org-agenda-appt-zenity but instead of using Russell's settings , | ; 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)) ` use --8---cut here---start-8--- (setq appt-display-format 'echo) --8---cut here---end---8--- or use the default setting of appt-disp-window-function which displays in an emacs window. Nick
Re: [O] Notifications of appointments in Agenda screen?
Nathan Neff nathan.n...@gmail.com wrote: I seem to recall a feature in org-mode that would show notifications for upcoming appointments, scheduled items, deadlines, etc. in Emacs itself. For example the status bar would have a red notification saying Dr Appointment in 15 minutes. Nevermind -- I got it. I found the appt-activate and org-agenda-to-appt. I'll put a simple how-to on Worg if I find time :-) In addition to Russell's hack in org-hacks, there is a section on Appointments/Diary in the FAQ: the latter is probably the right place to put your how-to. Nick
Re: [O] Notifications of appointments in Agenda screen?
On Thu, Aug 30 2012, Nathan Neff wrote: I'm looking all over, and all I can find are posts about how to set up org-notify to call some external messaging app. I'm on OSX and don't want to purchase Growl. Hi, With org-notify.el you don't need an external messaging app, you can do all in emacs. I found org-notify.el, (https://github.com/p-m/org-notify/blob/master/org-notify.el) but it seems to require a notify property on any headline that you want to be notified of. It's also optional. When the notify property is missing, a default value will be used. I would like org-mode to automatically notify me (on the status bar, etc) for any headline that has a time associated with it. Today, org-notify.el requires a DEADLINE-timestamp, but this can easily be changed in the code. I also don't want to rely on an external program because I use org-mode on different systems. See above. There are predefined functions for displaying a message in the minibuffer or in a new emacs window, and you can define other functions, that do whatever you want (something with the modeline for example). -- Peter