emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Notifications of appointments in Agenda screen?
@ 2012-08-30 15:26 Nathan Neff
  2012-08-30 15:36 ` Nathan Neff
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Nathan Neff @ 2012-08-30 15:26 UTC (permalink / raw)
  To: emacs-orgmode

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

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

* Re: Notifications of appointments in Agenda screen?
  2012-08-30 15:26 Notifications of appointments in Agenda screen? Nathan Neff
@ 2012-08-30 15:36 ` Nathan Neff
  2012-08-30 15:46   ` Nick Dokos
  2012-08-30 15:39 ` Nick Dokos
  2012-08-30 19:17 ` Peter Münster
  2 siblings, 1 reply; 5+ messages in thread
From: Nathan Neff @ 2012-08-30 15:36 UTC (permalink / raw)
  To: emacs-orgmode

On Thu, Aug 30, 2012 at 8:26 AM, Nathan Neff <nathan.neff@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

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

* Re: Notifications of appointments in Agenda screen?
  2012-08-30 15:26 Notifications of appointments in Agenda screen? Nathan Neff
  2012-08-30 15:36 ` Nathan Neff
@ 2012-08-30 15:39 ` Nick Dokos
  2012-08-30 19:17 ` Peter Münster
  2 siblings, 0 replies; 5+ messages in thread
From: Nick Dokos @ 2012-08-30 15:39 UTC (permalink / raw)
  To: Nathan Neff; +Cc: emacs-orgmode

Nathan Neff <nathan.neff@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

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

* Re: Notifications of appointments in Agenda screen?
  2012-08-30 15:36 ` Nathan Neff
@ 2012-08-30 15:46   ` Nick Dokos
  0 siblings, 0 replies; 5+ messages in thread
From: Nick Dokos @ 2012-08-30 15:46 UTC (permalink / raw)
  To: Nathan Neff; +Cc: emacs-orgmode

Nathan Neff <nathan.neff@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

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

* Re: Notifications of appointments in Agenda screen?
  2012-08-30 15:26 Notifications of appointments in Agenda screen? Nathan Neff
  2012-08-30 15:36 ` Nathan Neff
  2012-08-30 15:39 ` Nick Dokos
@ 2012-08-30 19:17 ` Peter Münster
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Münster @ 2012-08-30 19:17 UTC (permalink / raw)
  To: emacs-orgmode

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

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

end of thread, other threads:[~2012-08-30 19:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-30 15:26 Notifications of appointments in Agenda screen? Nathan Neff
2012-08-30 15:36 ` Nathan Neff
2012-08-30 15:46   ` Nick Dokos
2012-08-30 15:39 ` Nick Dokos
2012-08-30 19:17 ` Peter Münster

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).