all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: nicholas.dokos@hp.com, Dan Davison <davison@stats.ox.ac.uk>,
	emacs-orgmode@gnu.org
Subject: Re: Agenda export to html error
Date: Sun, 12 Jul 2009 16:39:52 -0400	[thread overview]
Message-ID: <6160.1247431192@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Nicolas Goaziou <n.goaziou@neuf.fr> of "Sun, 12 Jul 2009 21:15:42 +0200." <868wit3e75.fsf@neuf.fr>

Nicolas Goaziou <n.goaziou@neuf.fr> wrote:

> Nick Dokos <nicholas.dokos@hp.com> 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

  parent reply	other threads:[~2009-07-12 20:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-12 15:10 Agenda export to html error Nicolas Goaziou
2009-07-12 16:21 ` Dan Davison
2009-07-12 17:42   ` Nicolas Goaziou
2009-07-12 18:15     ` Nick Dokos
2009-07-12 19:15       ` Nicolas Goaziou
     [not found]         ` <n.goaziou@neuf.fr>
2009-07-12 20:39           ` Nick Dokos [this message]
2009-07-12 21:47             ` Nicolas Goaziou
2009-07-12 23:24               ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6160.1247431192@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=davison@stats.ox.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.