emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] problem with org-install.el paths
@ 2011-06-22 13:49 Eric S Fraga
  0 siblings, 0 replies; only message in thread
From: Eric S Fraga @ 2011-06-22 13:49 UTC (permalink / raw)
  To: emacs-orgmode


for some reason, recently I have had problems getting emacs to autoload
different bits of org when required.  I've tracked this down to my
org-install file having entries like this:

: (autoload 'org-babel-do-load-languages "lisp/org" " ..." t nil)
: (autoload 'org-agenda "lisp/org-agenda" "..." t nil)

Note the =lisp/org= and =lisp/org-agenda= paths.  I would have expected
these to be simply =org= and =org-agenda=.

I have removed org-install.el (=make cleanall= specifically) and done
=make all=.  The file that is created has those entries.

These entries obviously do not work well with my usual:

: (add-to-list 'load-path "~/git/org-mode/lisp")
: (add-to-list 'load-path "~/git/org-mode/contrib/lisp")

so I have had to add a number of explicit '(require org-xxx) lines in my
config.  Should I remove the "lisp" part from the first line?  If so,
the documentation in the manual is out of sync with the behaviour

: (setq load-path (cons "~/path/to/orgdir/lisp" load-path))

I am tracking Emacs development so am using a fairly recent snapshot of
emacs  Could this be the problem?


: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs
: using Org-mode version 7.5 (release_7.5.418.ge860.dirty)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-22 13:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-22 13:49 [bug] problem with org-install.el paths Eric S Fraga

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).