emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Erik Butz <erik.butz@googlemail.com>
To: "Sébastien Vauban" <wxhgmqzgwmuf@spammotel.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: org-babel problem
Date: Thu, 25 Nov 2010 22:04:22 +0100	[thread overview]
Message-ID: <AANLkTin8+v9rn3pxERhX2=2Ez2xOiJx1Yw3295UimT_9@mail.gmail.com> (raw)
In-Reply-To: <80pqtt2n1u.fsf@missioncriticalit.com>

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ébastien Vauban <wxhgmqzgwmuf@spammotel.com>:
> 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?  What 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?
>>
>>  I 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,
>  Seb
>
> --
> Sébastien 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
>

  reply	other threads:[~2010-11-25 21:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-25 19:10 org-babel problem Erik Butz
2010-11-25 19:55 ` Dan Davison
2010-11-25 19:58 ` Sébastien Vauban
2010-11-25 21:04   ` Erik Butz [this message]
2010-11-26 10:45     ` Sebastian Hofer
2010-11-26 12:37       ` Erik Butz
2010-11-26 13:14         ` Dan Davison

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTin8+v9rn3pxERhX2=2Ez2xOiJx1Yw3295UimT_9@mail.gmail.com' \
    --to=erik.butz@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).