From mboxrd@z Thu Jan 1 00:00:00 1970 From: david@adboyd.com (J. David Boyd) Subject: Re: can't get appointments working Date: Wed, 07 Nov 2007 15:51:39 -0500 Message-ID: <878x59ok2s.fsf@adboyd.com> References: <714f3a810711070927t5f82d146j2b821ac0ba746636@mail.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 1Iprsa-0007yd-RC for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 15:52:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iprsa-0007xx-3O for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 15:52:04 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IprsZ-0007xf-TH for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 15:52:03 -0500 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IprsZ-0003rK-SC for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 15:52:04 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IprsO-0008EJ-S6 for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 20:51:54 +0000 Received: from 72.186.72.129 ([72.186.72.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Nov 2007 20:51:52 +0000 Received: from david by 72.186.72.129 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Nov 2007 20:51:52 +0000 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 "Alfredo Buttari" writes: > Hi all, > I'm trying to convert items in my org files into appointments. As far > as my understanding goes, org-agenda-to-appt has to be run every time > I start emacs so I added these lines to my .emacs file: > > (setq appt-display-format 'window) > (setq appt-display-duration 30) > (setq appt-audible t) > (setq appt-display-mode-line t) > (appt-activate 1) > (org-agenda-to-appt) > > > but when I start emacs appt-time-msg-list has value nil. However if I > run org-agenda-to-appt manually right after emacs startup, then I get > the message "1 event added for today" and the variable > appt-time-msg-list contains the appropriate values. > What am I doing wrong here? > > thanks > > alfredo Are you calling the above code before org-mode has been loaded? You can look through the Messages buffer to see what happens at startup...