From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard G Riley Subject: Re: org-agenda-to-appt Date: Sun, 02 Mar 2008 06:35:20 +0100 Message-ID: <9rejatk7s7.fsf@richardriley.net> References: <47CA2EBB.80707@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 1JVgrA-00084L-C3 for emacs-orgmode@gnu.org; Sun, 02 Mar 2008 00:35:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVgr7-000849-Ta for emacs-orgmode@gnu.org; Sun, 02 Mar 2008 00:35:27 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVgr7-000846-Ln for emacs-orgmode@gnu.org; Sun, 02 Mar 2008 00:35:25 -0500 Received: from nf-out-0910.google.com ([64.233.182.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JVgr7-0006Vk-OK for emacs-orgmode@gnu.org; Sun, 02 Mar 2008 00:35:25 -0500 Received: by nf-out-0910.google.com with SMTP id f5so3307384nfh.26 for ; Sat, 01 Mar 2008 21:35:24 -0800 (PST) In-Reply-To: <47CA2EBB.80707@gmail.com> (Wanrong Lin's message of "Sat, 01 Mar 2008 23:36:11 -0500") 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: Wanrong Lin Cc: org-mode Wanrong Lin writes: > I do it like this: > > (run-at-time "0:30am" (* 24 3600) 'org-agenda-to-appt) Lovely solution. Thanks. I was not aware of the run-at-time function. > > This will call org-agenda-to-appt when emacs starts, and, if you never > exit emacs, it will automatically call org-agenda-to-appt at > mid-night.