[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Agenda export to html error
From: |
Nick Dokos |
Subject: |
Re: [Orgmode] Agenda export to html error |
Date: |
Sun, 12 Jul 2009 16:39:52 -0400 |
Nicolas Goaziou <address@hidden> wrote:
> Nick Dokos <address@hidden> 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