From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Idea for agenda notifications Date: Fri, 24 Apr 2009 13:17:08 -0400 Message-ID: <87bpqmt1ij.fsf@gollum.intra.norang.ca> References: <1e5bcefd0904241002p7ad213acg8a37853b4bedddfe@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LxP1Z-00076n-VY for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:17:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LxP1W-00076T-HZ for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:17:17 -0400 Received: from [199.232.76.173] (port=38887 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxP1W-00076Q-F0 for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:17:14 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:60678) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LxP1W-0001wQ-64 for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:17:14 -0400 In-Reply-To: <1e5bcefd0904241002p7ad213acg8a37853b4bedddfe@mail.gmail.com> (Marcelo de Moraes Serpa's message of "Fri\, 24 Apr 2009 12\:02\:21 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Marcelo de Moraes Serpa Cc: emacs-orgmode@gnu.org Marcelo de Moraes Serpa 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