From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: org-mode and appointments Date: Tue, 26 Feb 2008 11:14:10 -0500 Message-ID: <87tzjvae5p.fsf@gollum.intra.norang.ca> References: <87ejb063bz.fsf@gollum.intra.norang.ca> <5E8CC282-98B9-4E3D-BF73-BB61D8D7EB67@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 1JU2Rd-00071b-Kd for emacs-orgmode@gnu.org; Tue, 26 Feb 2008 11:14:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JU2Rc-0006yx-49 for emacs-orgmode@gnu.org; Tue, 26 Feb 2008 11:14:17 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JU2Rb-0006yi-Tr for emacs-orgmode@gnu.org; Tue, 26 Feb 2008 11:14:15 -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 1JU2Rb-0006ZP-FD for emacs-orgmode@gnu.org; Tue, 26 Feb 2008 11:14:15 -0500 In-Reply-To: <5E8CC282-98B9-4E3D-BF73-BB61D8D7EB67@gmail.com> (Carsten Dominik's message of "Tue\, 26 Feb 2008 17\:09\:39 +0100") 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: Carsten Dominik Cc: emacs-orgmode@gnu.org Carsten Dominik writes: > 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) > >> Thanks!! -Bernt