From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [PATCH] org-reload doesn't use full emacs load-path? Date: Wed, 30 May 2012 17:15:27 +0930 Message-ID: <871um2jenc.fsf@ucl.ac.uk> References: <877gvvsqiy.fsf@ucl.ac.uk> <87bol6u5yh.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZdb2-0007KB-BO for emacs-orgmode@gnu.org; Wed, 30 May 2012 03:45:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZdav-0000y6-W1 for emacs-orgmode@gnu.org; Wed, 30 May 2012 03:45:31 -0400 Received: from db3ehsobe002.messaging.microsoft.com ([213.199.154.140]:15768 helo=db3outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZdav-0000xb-Lt for emacs-orgmode@gnu.org; Wed, 30 May 2012 03:45:25 -0400 In-Reply-To: <87bol6u5yh.fsf@Rainer.invalid> (Achim Gratz's message of "Tue, 29 May 2012 21:45:26 +0200") 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: Achim Gratz Cc: emacs-orgmode@gnu.org Achim Gratz writes: > Eric S Fraga writes: >> For some reason, org tries to load my ob-jacaranda.el from where org >> itself sits despite ob-jacaranda.el being in one of the directories in >> the load-path. > > That would have been me, but it was obviously the wrong thing to do. > Patch attached, please test. Thanks. Will test later as I'm off to a meeting, well cocktail reception ;-), in a couple of minutes. [...] >> One possible worry: even with emacs -Q, I get org-version returning the >> following: > >> >> Org-mode version 7.8.10 (release_7.8.10-619-g540dfc @ mixed >> installation! /usr/share/emacs/24.1.50/lisp/org/ and >> /home/ucecesf/git/org-mode/lisp/) >> >> Note the "mixed installation" bit. I've never seen this before. > > It tells you that org-install is found in a different place than org. > This probably means you haven't done a 'make autoloads' or more likely > in your case a 'make uncompiled' and are relying on the autoload > definitions from a different org version than the one you are using. > You can't expect that to work and this is a gentle reminder to fix it > before it falls over. My usual process is to execute: $ git pull && make clean && make all autoloads but I mistyped the last word this time so my autloads were not defined. Sorry for the noise! Thanks, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.1.50.1 + Ma Gnus v0.6