From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: org-mode and appointments Date: Wed, 27 Feb 2008 18:55:04 -0600 Message-ID: <20080228005504.GH24573@odin.demosthenes.org> References: <87ejb063bz.fsf@gollum.intra.norang.ca> <5E8CC282-98B9-4E3D-BF73-BB61D8D7EB67@gmail.com> <20080227010115.GA18739@odin.demosthenes.org> 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 1JUX3I-0001qI-4B for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 19:55:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUX3G-0001pW-J8 for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 19:55:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUX3G-0001pT-E0 for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 19:55:10 -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 1JUX3F-00087I-U4 for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 19:55:10 -0500 Received: from [206.180.154.177] (helo=localhost) by squirtle.drak.net with esmtpa (Exim 4.68) (envelope-from ) id 1JUX31-00034W-Sd for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 18:54:56 -0600 Content-Disposition: inline In-Reply-To: <20080227010115.GA18739@odin.demosthenes.org> 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 Ok, so how far in advance is appt supposed to alert you? I'm testing this, and I've gotten zenity to do a popup, and I've tied the refresh of the appt list to the agenda refresh with: (add-hook 'org-finalize-agenda-hook 'my-org-agenda-to-appt) I'm testing a series of timings before I start relying on this, and trying to understand the behavior. Any comments? Thanks. On Tue, Feb 26, 2008 at 07:01:15PM -0600, Russell Adams wrote: > Great combined feature: > > http://alfredobuttari.wordpress.com/2008/02/08/emacs-appt-mode-reminders-with-gtk-popups/ > > I'm still trying to get this to work reliably, either appointments or > calling out to a gtk popup, but I look forward to using it soon. > > Thanks. > > On Tue, Feb 26, 2008 at 05:09:39PM +0100, Carsten Dominik wrote: > > > > On Feb 26, 2008, at 5:06 PM, Carsten Dominik wrote: > > > > [...] > > > > I forgot to clear the list: > > > > So to summarize, this is really all you need in .emacs: > > > > ;; Get appointments for today > > (global-set-key (kbd " a") 'my-org-agenda-to-appt) > > (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) > > > > > > > > > > > > > _______________________________________________ > > 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 ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3