From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-mobile-push Date: Thu, 29 Sep 2011 12:54:33 -0400 Message-ID: <23209.1317315273@alphaville.dokosmarshall.org> References: <20110929161328.GA8701@panahar> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9Jsc-0004ZO-QM for emacs-orgmode@gnu.org; Thu, 29 Sep 2011 12:54:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9Jsb-0004Fj-Pa for emacs-orgmode@gnu.org; Thu, 29 Sep 2011 12:54:38 -0400 Received: from g4t0017.houston.hp.com ([15.201.24.20]:30678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9Jsb-0004Fa-JI for emacs-orgmode@gnu.org; Thu, 29 Sep 2011 12:54:37 -0400 Received: from g4t0018.houston.hp.com (g4t0018.houston.hp.com [16.234.32.27]) by g4t0017.houston.hp.com (Postfix) with ESMTP id 0A09038087 for ; Thu, 29 Sep 2011 16:54:35 +0000 (UTC) In-Reply-To: Message from Vikas Rawal of "Thu, 29 Sep 2011 21:43:29 +0530." <20110929161328.GA8701@panahar> 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 Cc: nicholas.dokos@hp.com Vikas Rawal wrote: > When I give M-x org-mobile-push I get an error: > > Symbol's function definition is void: appt-make-list > > What could be wrong? > > I am running org-mode 7.7 > Who knows? org itself does not call appt-make-list from anywhere, so you have probably set up a hook somewhere to call it and forgotten all about it. It is one of the ambitions of my life (and I'm sure that ambition is shared by several people on this list) to train everybody to get a backtrace *first* after they get an error - do not post to the list, do not pass GO, do not collect USD200 until you have the backtrace in hand.[fn:1] Often, the backtrace tells enough so you can fix the problem without any further ado, but even if you cannot or do not want to read backtraces, the people on the list who are able/willing to look at the problem find them very useful: trust me on that. So pretty please: when you get an error, *at the very least*, do M-x toggle-debug-on-error and then try to reproduce the error. That will give you the required backtrace. For extra points, reload uncompiled org and then try to reproduce the error: the resulting backtrace is more informative with uncompiled code. In your case, app-make-list is defined in appt.el and if you visit the file, you will see at the very bottom that it does (provide 'appt) which means that you can load the file and therefore define the function by inserting (require 'appt) somewhere in your initialization file. But I think of this as solving the problem by peeking at the solutions in the back of the book: wouldn't you want to find out what caused the problem in the first place? Cheers, Nick Footnotes: [fn:1] But if you try and fail, which happens sometimes, feel free to say so in your post. I don't want to dissuade anybody from asking a question: I just want to expedite the process of getting to the answer.