From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: Re: org-mode and appointments Date: Sun, 2 Mar 2008 04:13:46 -0600 Message-ID: <20080302101346.GB18852@odin.demosthenes.org> References: <87ejb063bz.fsf@gollum.intra.norang.ca> <5E8CC282-98B9-4E3D-BF73-BB61D8D7EB67@gmail.com> <20080227010115.GA18739@odin.demosthenes.org> <20080228005504.GH24573@odin.demosthenes.org> <87tzjtevrg.fsf@gollum.intra.norang.ca> <20080228223845.GJ24573@odin.demosthenes.org> <32699.1204240679@alphaville.zko.hp.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1363371976==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JVlCY-0003G2-9W for emacs-orgmode@gnu.org; Sun, 02 Mar 2008 05:13:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVlCX-0003Fq-QR for emacs-orgmode@gnu.org; Sun, 02 Mar 2008 05:13:49 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVlCX-0003Fm-99 for emacs-orgmode@gnu.org; Sun, 02 Mar 2008 05:13:49 -0500 Received: from squirtle.drak.net ([72.52.144.201]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JVlCX-0003Cg-4F for emacs-orgmode@gnu.org; Sun, 02 Mar 2008 05:13:49 -0500 Received: from [206.180.154.177] (helo=localhost) by squirtle.drak.net with esmtpa (Exim 4.68) (envelope-from ) id 1JVlCT-0005qU-PO for emacs-orgmode@gnu.org; Sun, 02 Mar 2008 04:13:46 -0600 In-Reply-To: <32699.1204240679@alphaville.zko.hp.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 --===============1363371976== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ok, so I've got appt working with org, along with Gnome popups with zenity to alert me of events. I wanted to aggregate the advice I'd received into one place, which could be posted later to wiki or worg, etc. I would welcome feedback, as I'm currently vetting this configuration. I'll post any updates if I find a problem. Thanks. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; 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))) ;; Run once, activate and schedule refresh (my-org-agenda-to-appt) (appt-activate t) (run-at-time "24:01" nil 'my-org-agenda-to-appt) ; 5 minute warnings (setq appt-message-warning-time '15) (setq appt-display-interval '5) ; 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) = =20 (save-window-excursion (shell-command (concat=20 "/usr/bin/zenity --info --title=3D'Appointment' --text=3D'"=20 msg "' &" ) nil nil) )) ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 --UugvWAfsgieZRqgk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHyn3aEVTgGBFg3LMRAtRqAKDBVQxQUQpKTERuPzgHzWeXm3mXNACgsuWA 1ybUF5ozpCbFmqvClbha7dg= =Z/wl -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk-- --===============1363371976== 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 --===============1363371976==--