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

Hello,

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
required:

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

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

Thanks,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: 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:

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

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).