From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Re: org-mobile-push Date: Sun, 2 Oct 2011 08:39:30 +0530 Message-ID: <20111002030930.GA25853@panahar> References: <20110929161328.GA8701@panahar> <23209.1317315273@alphaville.dokosmarshall.org> <20110929233440.GA17073@panahar> <3311.1317451235@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RACRT-00074K-Ls for emacs-orgmode@gnu.org; Sat, 01 Oct 2011 23:10:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RACRS-0002ua-M8 for emacs-orgmode@gnu.org; Sat, 01 Oct 2011 23:10:15 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:47563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RACRS-0002t8-J7 for emacs-orgmode@gnu.org; Sat, 01 Oct 2011 23:10:14 -0400 Received: by iaen33 with SMTP id n33so4677986iae.0 for ; Sat, 01 Oct 2011 20:10:13 -0700 (PDT) Content-Disposition: inline In-Reply-To: <3311.1317451235@alphaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org > > In trying to call this last function, emacs gets an error: the function > is not defined. > > Basically what happens is that org-mobile-push calculates the agenda, by > calling org-agenda-list. This function checks the value of the variable > org-agenda-include-diary, which in your case must be t, so it tries to > add agenda entries from the diary. It calls org-get-entries-from-diary > to do that, which calls diary-list-entries. This one runs the diary-hook > and somewhere in your init files you must have done something like > this: > > (add-hook 'diary-hook (function appt-make-list)) > Thanks very much for explaining it so well. Best wishes, Vikas