From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Idea for agenda notifications Date: Fri, 24 Apr 2009 12:02:21 -0500 Message-ID: <1e5bcefd0904241002p7ad213acg8a37853b4bedddfe@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1566255516==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LxOnD-0008NI-Mx for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:02:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LxOn8-0008L5-U8 for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:02:27 -0400 Received: from [199.232.76.173] (port=58311 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxOn8-0008L0-Ki for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:02:22 -0400 Received: from an-out-0708.google.com ([209.85.132.245]:13081) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LxOn8-0007VX-2C for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:02:22 -0400 Received: by an-out-0708.google.com with SMTP id b38so799495ana.21 for ; Fri, 24 Apr 2009 10:02:21 -0700 (PDT) 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: emacs-orgmode@gnu.org --===============1566255516== Content-Type: multipart/alternative; boundary=0016368e1d1abd637d04684ff516 --0016368e1d1abd637d04684ff516 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello list, 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 ;) Thanks, Marcelo. --0016368e1d1abd637d04684ff516 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello list,

I love org-mode and I'm constantly trying to find wa= ys 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, specifical= ly 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 you= r suggestions regarding that. Of course, if I manage to make it work, I wil= l release the code as open-source ;)

Thanks,

Marcelo.
--0016368e1d1abd637d04684ff516-- --===============1566255516== 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 --===============1566255516==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Friedrich Delgado Friedrichs Subject: Re: Idea for agenda notifications Date: Fri, 24 Apr 2009 19:14:14 +0200 Message-ID: <20090424171414.GA17258@taupan.ath.cx> References: <1e5bcefd0904241002p7ad213acg8a37853b4bedddfe@mail.gmail.com> Reply-To: friedel@nomaden.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1621605929==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LxOyn-0005JJ-E2 for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:14:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LxOyi-0005Gg-Ul for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:14:25 -0400 Received: from [199.232.76.173] (port=38757 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxOyi-0005Ga-Ql for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:14:20 -0400 Received: from dudelab.org ([212.12.33.202]:26001 helo=mail.dudelab.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LxOyi-0001JH-FS for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:14:20 -0400 Received: from abrasax.taupan.ath.cx (p5B10EDAC.dip.t-dialin.net [91.16.237.172]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Friedrich Delgado Friedrichs", Issuer "User CA" (verified OK)) by mail.dudelab.org (Postfix) with ESMTP id AEFDE228148 for ; Fri, 24 Apr 2009 19:12:38 +0200 (CEST) In-Reply-To: <1e5bcefd0904241002p7ad213acg8a37853b4bedddfe@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: emacs-orgmode@gnu.org --===============1621605929== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Marcelo de Moraes Serpa schrieb: > 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 remind= er > of the event. I'm thinking on using Ruby or Python to develop a small dae= mon ---Zitatende--- There's already M-x org-agenda-to-appt, dunno if appt.el can be used or extended to do what you want. I use (appt-activate 1) (appt-message-warning-time 5) and occasionally call M-x org-agenda-to-appt (which I think is only relevant if you've didn't add the schedule with an org command, iirc). I use this to remind of regular appointments at work. --=20 Friedrich Delgado Friedrichs TauPan on Ircnet and Freenode ;) --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAknx82YACgkQCTmCEtF2zEBdfwCffYTlU1M9JFjNKWcQ618F9wLJ tLkAmgOSQ4JorsBLWiDggr12mXXWrOPA =keMi -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs-- --===============1621605929== 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 --===============1621605929==-- 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 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:28:14 -0500 Message-ID: <1e5bcefd0904241028h40057611j7a29925226555117@mail.gmail.com> References: <1e5bcefd0904241002p7ad213acg8a37853b4bedddfe@mail.gmail.com> <87bpqmt1ij.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1805577009==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LxPCC-0001zN-Ch for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:28:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LxPCB-0001yW-8z for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:28:15 -0400 Received: from [199.232.76.173] (port=59745 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxPCB-0001yP-3q for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:28:15 -0400 Received: from yx-out-1718.google.com ([74.125.44.153]:4597) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LxPCA-0004SS-KI for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:28:14 -0400 Received: by yx-out-1718.google.com with SMTP id 3so824146yxi.66 for ; Fri, 24 Apr 2009 10:28:14 -0700 (PDT) In-Reply-To: <87bpqmt1ij.fsf@gollum.intra.norang.ca> 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 --===============1805577009== Content-Type: multipart/alternative; boundary=0016e643461249cd530468505261 --0016e643461249cd530468505261 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 > --0016e643461249cd530468505261 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks guys, I'll try your solutions and let you know how it goes!
<= br>
I live in Emac= s 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 <bernt@noran= g.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

--0016e643461249cd530468505261-- --===============1805577009== 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 --===============1805577009==-- 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==-- 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:55:48 -0400 Message-ID: <87ocumrl5n.fsf@gollum.intra.norang.ca> References: <1e5bcefd0904241002p7ad213acg8a37853b4bedddfe@mail.gmail.com> <87bpqmt1ij.fsf@gollum.intra.norang.ca> <1e5bcefd0904241028h40057611j7a29925226555117@mail.gmail.com> <1e5bcefd0904241035i6d3422a1hf0f1546e27986640@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 1LxPcz-0005On-40 for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:55:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LxPcu-0005Mn-MS for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:55:56 -0400 Received: from [199.232.76.173] (port=48160 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxPcu-0005Mj-GB for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:55:52 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:56358) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LxPcu-000216-47 for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 13:55:52 -0400 In-Reply-To: <1e5bcefd0904241035i6d3422a1hf0f1546e27986640@mail.gmail.com> (Marcelo de Moraes Serpa's message of "Fri\, 24 Apr 2009 12\:35\:15 -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: > 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. As I understand it org-agenda-to-appt picks up tasks from your org-agenda-files that have an active timestamp for today. If you have a scheduled, deadline, or active timestamp for 12:00 it will create reminders in the remind package for those and let remind handle them. I don't use dates/times in headlines so I don't know if it works for that case. For my setup remind starts bugging me 12 minutes before the appointment. -Bernt From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: Re: Idea for agenda notifications Date: Fri, 24 Apr 2009 14:54:52 -0500 Message-ID: <20090424195452.GS21189@thinkpad.adamsinfoserv.com> References: <1e5bcefd0904241002p7ad213acg8a37853b4bedddfe@mail.gmail.com> <87bpqmt1ij.fsf@gollum.intra.norang.ca> <1e5bcefd0904241028h40057611j7a29925226555117@mail.gmail.com> <1e5bcefd0904241035i6d3422a1hf0f1546e27986640@mail.gmail.com> <87ocumrl5n.fsf@gollum.intra.norang.ca> 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 1LxRUF-0002Mo-VI for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 15:55:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LxRUE-0002LG-9h for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 15:55:03 -0400 Received: from [199.232.76.173] (port=56589 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxRUD-0002Kz-T2 for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 15:55:01 -0400 Received: from squirtle.drak.net ([72.52.144.201]:34751) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LxRUD-0005AE-3O for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 15:55:01 -0400 Received: from [12.111.130.194] (helo=localhost) by squirtle.drak.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1LxRTz-0003t3-Uv for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 14:54:49 -0500 Content-Disposition: inline In-Reply-To: <87ocumrl5n.fsf@gollum.intra.norang.ca> 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: emacs-orgmode@gnu.org I have emacs w/ org running at all times, and I use a hook with kdialog to make popup notifications when appointments are due. I adapted this from someone else's post on using Zenity, I wish I remembered who so I could credit them. Here is a snippet from my .emacs: ---------------------------------------------------------------------- ;; For org appointment reminders ;; Get appointments for today (defun my-org-agenda-to-appt () (interactive) (setq appt-time-msg-list nil) (let ((org-deadline-warning-days 0)) ;; will be automatic in org 5.23 (org-agenda-to-appt))) (my-org-agenda-to-appt) (appt-activate t) (run-at-time "24:01" nil 'my-org-agenda-to-appt) ;; 5 minute warning (setq appt-message-warning-time '60) (setq appt-display-interval '15) ;; Update appt each time agenda opened. (add-hook 'org-finalize-agenda-hook 'my-org-agenda-to-appt) ;; 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)) (defun my-appt-disp-window (min-to-app new-time msg) (save-window-excursion (shell-command (concat "/usr/bin/kdialog --msgbox '" msg "' &") nil nil))) )) ---------------------------------------------------------------------- Enjoy! On Fri, Apr 24, 2009 at 01:55:48PM -0400, Bernt Hansen wrote: > Marcelo de Moraes Serpa writes: > > > 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. > > As I understand it org-agenda-to-appt picks up tasks from your > org-agenda-files that have an active timestamp for today. If you have a > scheduled, deadline, or active timestamp for 12:00 it will create > reminders in the remind package for those and let remind handle them. > > I don't use dates/times in headlines so I don't know if it works for > that case. > > For my setup remind starts bugging me 12 minutes before the appointment. > > -Bernt > > > _______________________________________________ > 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 > ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Re: Idea for agenda notifications Date: Fri, 24 Apr 2009 18:37:33 -0500 Message-ID: <1e5bcefd0904241637o37471c44n2bf1e4f769fe600d@mail.gmail.com> References: <1e5bcefd0904241002p7ad213acg8a37853b4bedddfe@mail.gmail.com> <87bpqmt1ij.fsf@gollum.intra.norang.ca> <1e5bcefd0904241028h40057611j7a29925226555117@mail.gmail.com> <1e5bcefd0904241035i6d3422a1hf0f1546e27986640@mail.gmail.com> <87ocumrl5n.fsf@gollum.intra.norang.ca> <20090424195452.GS21189@thinkpad.adamsinfoserv.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1988021498==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LxUxg-0000OR-A0 for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 19:37:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LxUxb-0000Nd-Ej for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 19:37:39 -0400 Received: from [199.232.76.173] (port=42907 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxUxb-0000NX-8t for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 19:37:35 -0400 Received: from an-out-0708.google.com ([209.85.132.244]:8684) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LxUxa-0004WV-Km for emacs-orgmode@gnu.org; Fri, 24 Apr 2009 19:37:35 -0400 Received: by an-out-0708.google.com with SMTP id b38so915735ana.21 for ; Fri, 24 Apr 2009 16:37:33 -0700 (PDT) In-Reply-To: <20090424195452.GS21189@thinkpad.adamsinfoserv.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: emacs-orgmode@gnu.org --===============1988021498== Content-Type: multipart/alternative; boundary=0016368e1d1a16d6fe0468557bd5 --0016368e1d1a16d6fe0468557bd5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Awesome! This idea could be extended to add other kind of events, like send emails, SMS, play some audio file, whatever (turn org-mode in a kind of PIM server too.. hmm, lots of cool ideas come to my mind). I still prefer using the gnome-notifier but it shouldn't be hard to adapt it for that. Well -- the first thing I need to do though is to master elisp :) Thanks! Marcelo. On Fri, Apr 24, 2009 at 2:54 PM, Russell Adams wrote: > I have emacs w/ org running at all times, and I use a hook with > kdialog to make popup notifications when appointments are due. > > I adapted this from someone else's post on using Zenity, I wish I > remembered who so I could credit them. > > Here is a snippet from my .emacs: > > ---------------------------------------------------------------------- > ;; For org appointment reminders > > ;; Get appointments for today > (defun my-org-agenda-to-appt () > (interactive) > (setq appt-time-msg-list nil) > (let ((org-deadline-warning-days 0)) ;; will be automatic in org > 5.23 > (org-agenda-to-appt))) > > (my-org-agenda-to-appt) > (appt-activate t) > (run-at-time "24:01" nil 'my-org-agenda-to-appt) > > ;; 5 minute warning > (setq appt-message-warning-time '60) > (setq appt-display-interval '15) > > ;; Update appt each time agenda opened. > (add-hook 'org-finalize-agenda-hook 'my-org-agenda-to-appt) > > ;; 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)) > > (defun my-appt-disp-window (min-to-app new-time msg) > (save-window-excursion (shell-command (concat > "/usr/bin/kdialog --msgbox '" msg "' &") nil nil))) > )) > ---------------------------------------------------------------------- > > Enjoy! > > On Fri, Apr 24, 2009 at 01:55:48PM -0400, Bernt Hansen wrote: > > Marcelo de Moraes Serpa writes: > > > > > 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. > > > > As I understand it org-agenda-to-appt picks up tasks from your > > org-agenda-files that have an active timestamp for today. If you have a > > scheduled, deadline, or active timestamp for 12:00 it will create > > reminders in the remind package for those and let remind handle them. > > > > I don't use dates/times in headlines so I don't know if it works for > > that case. > > > > For my setup remind starts bugging me 12 minutes before the appointment. > > > > -Bernt > > > > > > _______________________________________________ > > 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 > > > > > ------------------------------------------------------------------ > Russell Adams RLAdams@AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > _______________________________________________ > 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 > --0016368e1d1a16d6fe0468557bd5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Awesome! This idea could be extended to add other kind of events, like send= emails, SMS, play some audio file, whatever (turn org-mode in a kind of PI= M server too.. hmm, lots of cool ideas come to my mind). I still prefer usi= ng the gnome-notifier but it shouldn't be hard to adapt it for that.
Well -- the first thing I need to do though is to master elisp :)
Thanks!

Marcelo.

On Fri, Apr 24,= 2009 at 2:54 PM, Russell Adams <RLAdams@adamsinfoserv.com> wrote:
I have emacs w/ o= rg running at all times, and I use a hook with
kdialog to make popup notifications when appointments are due.

I adapted this from someone else's post on using Zenity, I wish I
remembered who so I could credit them.

Here is a snippet from my .emacs:

----------------------------------------------------------------------
;; For org appointment reminders

;; Get appointments for today
(defun my-org-agenda-to-appt ()
=A0 =A0 =A0 =A0(interactive)
=A0 =A0 =A0 =A0(setq appt-time-msg-list nil)
=A0 =A0 =A0 =A0(let ((org-deadline-warning-days 0)) =A0 =A0;; will b= e automatic in org =A05.23
=A0 =A0 =A0 =A0 =A0(org-agenda-to-appt)))

(my-org-agenda-to-appt)
(appt-activate t)
(run-at-time "24:01" nil 'my-org-agenda-to-appt)

;; 5 minute warning
(setq appt-message-warning-time '60)
(setq appt-display-interval '15)

;; Update appt each time agenda opened.
(add-hook 'org-finalize-agenda-hook 'my-org-agend= a-to-appt)

;; Setup zenify, we tell appt to use window, and replace default func= tion
(setq appt-display-format 'window)
(setq appt-disp-window-function (function my-appt-disp-window))

(defun my-appt-disp-window (min-to-app new-time msg)
=A0 =A0 =A0 =A0(save-window-excursion (shell-command (concat
=A0 =A0 =A0"/usr/bin/kdialog --msgbox '" msg "' &am= p;") nil nil)))
))
----------------------------------------------------------------------

Enjoy!

On Fri, Apr 24, 2009 at 01:55:48PM -0400, Bernt Hansen wrote:
> Marcelo de Moraes Serpa <cel= oserpa@gmail.com> writes:
>
> > 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 ha= ve some
> > scheduled events on my gtd.org file and this file is part of the
> > org-agenda-files list.
>
> As I understand it org-agenda-to-appt picks up tasks from your
> org-agenda-files that have an active timestamp for today. =A0If you ha= ve a
> scheduled, deadline, or active timestamp for 12:00 it will create
> reminders in the remind package for those and let remind handle them.<= br> >
> I don't use dates/times in headlines so I don't know if it wor= ks for
> that case.
>
> For my setup remind starts bugging me 12 minutes before the appointmen= t.
>
> -Bernt
>
>
> _______________________________________________
> 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
>


------------------------------------------------------------------
Russell Adams =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RLAdam= s@AdamsInfoServ.com

PGP Key ID: =A0 =A0 0x1160DCB3 =A0 =A0 =A0 =A0 =A0 http://www.adamsinfoserv.com/

Fingerprint: =A0 =A01723 D8CA 4280 1EC9 557F =A066E8 1154 E018 1160 DCB3

_______________________________________________
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

--0016368e1d1a16d6fe0468557bd5-- --===============1988021498== 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 --===============1988021498==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Idea for agenda notifications Date: Mon, 27 Apr 2009 18:27:53 +0100 Message-ID: <878wlmgg6e.fsf@eeepc.chemeng.ucl.ac.uk> References: <1e5bcefd0904241002p7ad213acg8a37853b4bedddfe@mail.gmail.com> <87bpqmt1ij.fsf@gollum.intra.norang.ca> <1e5bcefd0904241028h40057611j7a29925226555117@mail.gmail.com> <1e5bcefd0904241035i6d3422a1hf0f1546e27986640@mail.gmail.com> <87ocumrl5n.fsf@gollum.intra.norang.ca> <20090424195452.GS21189@thinkpad.adamsinfoserv.com> <1e5bcefd0904241637o37471c44n2bf1e4f769fe600d@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 1LyVVv-0007o9-HK for emacs-orgmode@gnu.org; Mon, 27 Apr 2009 14:25:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LyVVr-0007fV-OC for emacs-orgmode@gnu.org; Mon, 27 Apr 2009 14:25:11 -0400 Received: from [199.232.76.173] (port=41435 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LyVVr-0007f6-KC for emacs-orgmode@gnu.org; Mon, 27 Apr 2009 14:25:07 -0400 Received: from main.gmane.org ([80.91.229.2]:53570 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LyVVq-0003dD-SI for emacs-orgmode@gnu.org; Mon, 27 Apr 2009 14:25:07 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LyVVm-00074B-Hx for emacs-orgmode@gnu.org; Mon, 27 Apr 2009 18:25:02 +0000 Received: from 79-74-1-221.dynamic.dsl.as9105.com ([79.74.1.221]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Apr 2009 18:25:02 +0000 Received: from e.fraga by 79-74-1-221.dynamic.dsl.as9105.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Apr 2009 18:25:02 +0000 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: emacs-orgmode@gnu.org Marcelo de Moraes Serpa writes: > Awesome! This idea could be extended to add other kind of events, like > send emails, SMS, play some audio file, whatever (turn org-mode in a > kind of PIM server too.. hmm, lots of cool ideas come to my mind). I > still prefer using the gnome-notifier but it shouldn't be hard to > adapt it for that. > > Well -- the first thing I need to do though is to master elisp :) I use a similar mechanism based on osd (on screen display) which doesn't pop up windows but simply writes text directly onto the display (over top of anything and everything). Much less intrusive than a pop-up window (IMO... YMMV) and is completely window manager agnostic (perfect for my Asus running X with ratpoison, for instance). The original code comes from Richard Riley and I believe the code I have was modified by Nick Dokos? In any case, the code is below. My elisp is not good enough to determine which bits are absolutely necessary, mind you... On Debian systems, you would need to install the gnome-osd package. Hope this helps! ----------------------------------------------- cut here -------------- (require 'appt) (defun rgr/xml-escape (s) (setq s (replace-regexp-in-string "'" "'" (replace-regexp-in-string "\"" """ (replace-regexp-in-string "&" "&" (replace-regexp-in-string "<" "<" (replace-regexp-in-string ">" ">" s))))))) (when window-system (defun rgr/osd-display (id msg &optional delay vattrib hattrib font) "Display a message msg using OSD. Currently requires gnome-osd-client" (unless vattrib (setq vattrib "top")) (unless hattrib (setq hattrib "right")) (unless delay (setq delay 5000)) (unless font (setq font "Arial 12")) (save-window-excursion (shell-command (format "gnome-osd-client -f \"%s\"" id font delay vattrib hattrib (rgr/xml-escape msg) ))))) (when window-system (setq appt-display-format 'window) (defun org-osd-display (min-to-app new-time msg) (rgr/osd-display msg msg -1 "center" "left" "Verdana 20")) (setq appt-disp-window-function (function org-osd-display)) ;; Run once, activate and schedule refresh (run-at-time nil 3600 'org-agenda-to-appt) (appt-activate t)) (setq appt-time-msg-list nil) (org-agenda-to-appt) (defadvice org-agenda-redo (after org-agenda-redo-add-appts) "Pressing `r' on the agenda will also add appointments." (progn (setq appt-time-msg-list nil) (org-agenda-to-appt))) (ad-activate 'org-agenda-redo)