From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: [bug] problem with org-install.el paths Date: Wed, 22 Jun 2011 14:49:07 +0100 Message-ID: <87y60ux9gs.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZNnv-0000TI-Fz for emacs-orgmode@gnu.org; Wed, 22 Jun 2011 09:49:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZNnu-0000mY-2R for emacs-orgmode@gnu.org; Wed, 22 Jun 2011 09:49:15 -0400 Received: from vscane-a2.ucl.ac.uk ([144.82.108.42]:35572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZNnt-0000mR-PJ for emacs-orgmode@gnu.org; Wed, 22 Jun 2011 09:49:13 -0400 Received: from [85.210.135.28] (helo=localhost) by vscane-a.ucl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1QZNnn-00000S-OD for emacs-orgmode@gnu.org; Wed, 22 Jun 2011 14:49:08 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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)