From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Agenda export to html error Date: Sun, 12 Jul 2009 16:39:52 -0400 Message-ID: <6160.1247431192@gamaville.dokosmarshall.org> References: <86vdlyaqdv.fsf@neuf.fr> <87my79rhx0.fsf@stats.ox.ac.uk> <86k52d3ij1.fsf@neuf.fr> <2389.1247422549@gamaville.dokosmarshall.org> <868wit3e75.fsf@neuf.fr> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQ5rl-0006b8-Fy for emacs-orgmode@gnu.org; Sun, 12 Jul 2009 16:41:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQ5rh-0006UI-So for emacs-orgmode@gnu.org; Sun, 12 Jul 2009 16:41:45 -0400 Received: from [199.232.76.173] (port=58538 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQ5rh-0006U0-Md for emacs-orgmode@gnu.org; Sun, 12 Jul 2009 16:41:41 -0400 Received: from vms173013pub.verizon.net ([206.46.173.13]:62016) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQ5rh-0002NO-4q for emacs-orgmode@gnu.org; Sun, 12 Jul 2009 16:41:41 -0400 Received: from gamaville.dokosmarshall.org ([98.110.172.159]) by vms173013.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KMO00E8HS28ULSB@vms173013.mailsrvcs.net> for emacs-orgmode@gnu.org; Sun, 12 Jul 2009 15:39:45 -0500 (CDT) In-reply-to: Message from Nicolas Goaziou of "Sun, 12 Jul 2009 21:15:42 +0200." <868wit3e75.fsf@neuf.fr> 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: nicholas.dokos@hp.com, Dan Davison , emacs-orgmode@gnu.org Nicolas Goaziou wrote: > Nick Dokos writes: > > > Check your load-path - sometimes, packages take too many freedoms with > > it. > > Here is my load-path : > > (setq load-path > (append load-path > (list > "~/.emacs.d/elisp" > "~/.emacs.d/etc" > "~/.emacs.d/elisp/yasnippet-0.5.10" > "~/.emacs.d/elisp/org-mode/lisp" > "~/.emacs.d/elisp/org-mode/contrib/lisp"))) > > I don't see anything that could be wrong. > Well, you are appending your stuff at the end of whatever emacs sets it to, so it prefers *its* directories over yours. I also meant that you should ask emacs what *it* thinks its load path is: C-h v load-path That may differ wildly from what you think it is. As an aside, I think (but I am not sure) that part of the debian/ubuntu problem that people have been running into is that the convoluted loading of packages causes load-path to be set in such a way that the user *cannot* override the setting from his/her own init files; one has to find and edit/delete system files (in /etc/emacs or thereabouts). > > locate-library is also useful to see from where a package is loaded: > > > > (locate-library "htmlize") > > You are right. I tend to forget about this function. Alas, in that case, > this will give me the "who" but not the "why". > It's another debugging tool. In combination with the value of load-path, it can guide you in the right direction. Nick