From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Butz Subject: Re: Re: org-babel problem Date: Thu, 25 Nov 2010 22:04:22 +0100 Message-ID: References: <80pqtt2n1u.fsf@missioncriticalit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=50362 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLizR-0006iF-BL for emacs-orgmode@gnu.org; Thu, 25 Nov 2010 16:04:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PLizP-0005F0-QD for emacs-orgmode@gnu.org; Thu, 25 Nov 2010 16:04:25 -0500 Received: from mail-qy0-f169.google.com ([209.85.216.169]:44113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PLizP-0005Ev-HA for emacs-orgmode@gnu.org; Thu, 25 Nov 2010 16:04:23 -0500 Received: by qyk4 with SMTP id 4so6720605qyk.0 for ; Thu, 25 Nov 2010 13:04:23 -0800 (PST) In-Reply-To: <80pqtt2n1u.fsf@missioncriticalit.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?ISO-8859-1?Q?S=E9bastien_Vauban?= Cc: emacs-orgmode@gnu.org Hi, thanks for the replies. It obviously was something stupid. I did not execute babel code for quite some time, and for some reason I still had a (setq load-path (cons "/home/erik/elisp/org-mode/lisp/babel" load-path)) in my .emacs and apparently I did not clean up enough and so the ob.elc file in that directory then shadowed the one in the /lisp directory. I tried a clean 'git clone' and there it worked and indeed that directory is not even there. How would I remove that old /lisp/babel directory using git? Typically I just do a 'git pull' and then 'make clean' 'make' to update, but that obviously can lead to problems. Thanks again, Erik 2010/11/25 S=E9bastien Vauban : > Hi Erik, > > Erik Butz wrote: >> I am trying to run some org-babel code, but while this used to work in >> the past, I am now getting an error which says >> >> "Symbol's function definition is void: org-babel-get-header" > > The function is defined in my installation. Git version of yesterday. > >> Somehow I am puzzled, since this function is defined in lisp/ob.el and >> since this file provides 'ob and I have (require 'ob) in my .emacs I >> don't see why this should happen. > > Are you sure it really *is* loaded? =A0What happens if you C-x C-e after = the > require line? > >> Is there any check I should perform to see where and why this is failing= ? >> >> =A0I am using GNU Emacs 23.1. with Org-mode version 7.3 >> (release_7.3.130.g9cc1) even though I somehow suspect that it's not >> either of the software versions that is responsible for this. >> >> Any hints appreciated. > > Maybe you code post your block, or a stripped down version of it, if you = want > me to try and use it? > > In any case, AFAIK, it /should/ not fail here with the above message... > > Best regards, > =A0Seb > > -- > S=E9bastien Vauban > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >