From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Idea for agenda notifications Date: Fri, 24 Apr 2009 12:35:15 -0500 Message-ID: <1e5bcefd0904241035i6d3422a1hf0f1546e27986640@mail.gmail.com> References: <1e5bcefd0904241002p7ad213acg8a37853b4bedddfe@mail.gmail.com> <87bpqmt1ij.fsf@gollum.intra.norang.ca> <1e5bcefd0904241028h40057611j7a29925226555117@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1195301533==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LxPJ5-0006ti-6v for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:35:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LxPIz-0006t4-LA for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:35:21 -0400 Received: from [199.232.76.173] (port=58673 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxPIz-0006sk-9i for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:35:17 -0400 Received: from an-out-0708.google.com ([209.85.132.241]:20158) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LxPIy-0005bp-T6 for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:35:17 -0400 Received: by an-out-0708.google.com with SMTP id b38so810654ana.21 for ; Fri, 24 Apr 2009 10:35:16 -0700 (PDT) In-Reply-To: <1e5bcefd0904241028h40057611j7a29925226555117@mail.gmail.com> 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: Bernt Hansen Cc: emacs-orgmode@gnu.org --===============1195301533== Content-Type: multipart/alternative; boundary=0016e644c76c6ee7960468506bff --0016e644c76c6ee7960468506bff Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit By the way, how can I use the org-agenda-to-appt? When I run it a message saying "No event to add" is returned -- I do have some scheduled events on my gtd.org file and this file is part of the org-agenda-files list. Thank you! Marcelo. On Fri, Apr 24, 2009 at 12:28 PM, Marcelo de Moraes Serpa < celoserpa@gmail.com> wrote: > Thanks guys, I'll try your solutions and let you know how it goes! > > 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. > > > What I have in mind is not a popup Windows, but to interface the gnome > notification system which is pretty unobtrusive or maybe use mumbles (www. > *mumbles*-project.org/). > > Thanks, > > Marcelo. > > > On Fri, Apr 24, 2009 at 12:17 PM, Bernt Hansen wrote: > >> 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 >> > > --0016e644c76c6ee7960468506bff Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable By the way, how can I use the org-agenda-to-appt? When I run it a message s= aying "No event to add" is returned -- I do have some scheduled e= vents on my gtd.org file and this file is pa= rt of the org-agenda-files list.

Thank you!

Marcelo.

On Fri, Ap= r 24, 2009 at 12:28 PM, Marcelo de Moraes Serpa <celoserpa@gmail.com> wrote:=
Thanks guys, I= 9;ll try your solutions and let you know how it goes!

=
I live in Emacs a= nd 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.

What I have in mind is not a popup Windows, but to interface the = gnome notification system which is pretty unobtrusive or maybe use mumbles = (www.mumbles-project.org/).

Thanks,

Marcelo.


On Fri, Apr 24, 2009 at 12:17 PM, Bernt = Hansen <bernt@norang.ca> wrote:
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<= br> > 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 dae= mon
> 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<= br> > make it work, I will release the code as open-source ;)

I live in Emacs and just use the remind interface for notificat= ions.
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 ()
=A0(interactive)
=A0(setq appt-time-msg-list nil)
=A0(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 yo= u
might want to search the list archives if you need a different solution.
-Bernt


--0016e644c76c6ee7960468506bff-- --===============1195301533== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1195301533==--