emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Idea for agenda notifications
Date: Fri, 24 Apr 2009 13:17:08 -0400	[thread overview]
Message-ID: <87bpqmt1ij.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <1e5bcefd0904241002p7ad213acg8a37853b4bedddfe@mail.gmail.com> (Marcelo de Moraes Serpa's message of "Fri\, 24 Apr 2009 12\:02\:21 -0500")

Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:

> I love org-mode and I'm constantly trying to find ways to enhance my
> GTD workflow with it. One thing that I miss from the more high-level
> PIMs (such as Evolution) is the notification feature, specifically
> integrated into the environment (using gnome-notification for
> example). My idea is to somehow parse my gtd.org file, search for
> scheduled items and, using an additional metadata in the item, decide
> when (how long before the event happens) to use gnome-notify (or any
> other notify mechanism in the OS) to show the reminder of the
> event. I'm thinking on using Ruby or Python to develop a small daemon
> that would do that, but I'm not sure if this would be the best way. I
> would love your suggestions regarding that. Of course, if I manage to
> make it work, I will release the code as open-source ;)

I live in Emacs and just use the remind interface for notifications.
They aren't as obvious (read: annoying) as pop-up windows that steal
your mouse and keyboard focus but they work great for me.

Here's my setup.

--8<---------------cut here---------------start------------->8---
(defun my-org-agenda-to-appt ()
  (interactive)
  (setq appt-time-msg-list nil)
  (org-agenda-to-appt))

(add-hook 'org-finalize-agenda-hook 'my-org-agenda-to-appt)
(my-org-agenda-to-appt)
(appt-activate t)
(run-at-time "24:01" nil 'my-org-agenda-to-appt)
(run-at-time "00:59" 3600 'org-save-all-org-buffers)
--8<---------------cut here---------------end--------------->8---

I've seen other setups for reminder windows and apps on this list so you
might want to search the list archives if you need a different solution.

-Bernt

  parent reply	other threads:[~2009-04-24 17:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-24 17:02 Idea for agenda notifications Marcelo de Moraes Serpa
2009-04-24 17:14 ` Friedrich Delgado Friedrichs
2009-04-24 17:17 ` Bernt Hansen [this message]
2009-04-24 17:28   ` Marcelo de Moraes Serpa
2009-04-24 17:35     ` Marcelo de Moraes Serpa
2009-04-24 17:55       ` Bernt Hansen
2009-04-24 19:54         ` Russell Adams
2009-04-24 23:37           ` Marcelo de Moraes Serpa
2009-04-27 17:27             ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bpqmt1ij.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).