From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-mode and appointments Date: Tue, 26 Feb 2008 17:09:39 +0100 Message-ID: <5E8CC282-98B9-4E3D-BF73-BB61D8D7EB67@gmail.com> References: <87ejb063bz.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JU2NP-00046v-Su for emacs-orgmode@gnu.org; Tue, 26 Feb 2008 11:09:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JU2NN-00046d-GC for emacs-orgmode@gnu.org; Tue, 26 Feb 2008 11:09:54 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JU2NN-00046a-An for emacs-orgmode@gnu.org; Tue, 26 Feb 2008 11:09:53 -0500 Received: from ug-out-1314.google.com ([66.249.92.170]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JU2NM-0005Rn-UG for emacs-orgmode@gnu.org; Tue, 26 Feb 2008 11:09:53 -0500 Received: by ug-out-1314.google.com with SMTP id a2so1397811ugf.48 for ; Tue, 26 Feb 2008 08:09:52 -0800 (PST) In-Reply-To: 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: Bernt Hansen , emacs-orgmode@gnu.org 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) >