From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: org-mode and appointments Date: Wed, 27 Feb 2008 20:04:51 -0500 Message-ID: <87tzjtevrg.fsf@gollum.intra.norang.ca> References: <87ejb063bz.fsf@gollum.intra.norang.ca> <5E8CC282-98B9-4E3D-BF73-BB61D8D7EB67@gmail.com> <20080227010115.GA18739@odin.demosthenes.org> <20080228005504.GH24573@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 1JUXCh-0000Bb-UH for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 20:04:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUXCh-0000B3-Ek for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 20:04:55 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUXCh-0000Aw-BP for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 20:04:55 -0500 Received: from mho-02-bos.mailhop.org ([63.208.196.179]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JUXCg-0001pd-TU for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 20:04:55 -0500 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-02-bos.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JUXCg-000B0V-35 for emacs-orgmode@gnu.org; Thu, 28 Feb 2008 01:04:54 +0000 Received: from gollum.intra.norang.ca (gollum.intra.norang.ca [192.168.1.5]) by mail.norang.ca (8.13.8/8.13.8/Debian-3) with ESMTP id m1S14pLx008028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 27 Feb 2008 20:04:52 -0500 Received: from gollum.intra.norang.ca (localhost [127.0.0.1]) by gollum.intra.norang.ca (8.14.2/8.14.2/Debian-1) with ESMTP id m1S14p9k020772 for ; Wed, 27 Feb 2008 20:04:51 -0500 In-Reply-To: <20080228005504.GH24573@odin.demosthenes.org> (Russell Adams's message of "Wed\, 27 Feb 2008 18\:55\:04 -0600") 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 It's configurable (as is almost anything else in Emacs) The following variables set to behaviour appt-message-warning-time (12 minutes for me) appt-display-interval ( 3 minutes for me) I get warnings at 12, 9, 6, 3, and 0 minutes. HTH, -Bernt Russell Adams writes: > 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 > > > _______________________________________________ > 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