emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dan Davison <davison@stats.ox.ac.uk>
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: [babel] Re: org-babel installation failing using the latest version from git repo and emacs 23.1.50.1
Date: Thu, 15 Oct 2009 13:01:46 -0400	[thread overview]
Message-ID: <877huw4mmd.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <1e5bcefd0910150802l2f2d9fbfob021e3d2cef35dd4@mail.gmail.com> (Marcelo de Moraes Serpa's message of "Thu, 15 Oct 2009 10:02:03 -0500")

Hi Marcelo,

(Please note that we've agreed to tag org-babel messages with "[babel]")

Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:

> Hello,
>
> Well, I'm very, very excited to start using org-babel and making cool stuff
> with it. However, I could not yet get it to work here.

OK, we must fix this.

I created the file /home/marcelo/emacs.d/emacs.el containing

--8<---------------cut here---------------start------------->8---
(setq load-path (cons "/home/marcelo/emacs.d/org-mode/lisp" load-path))
(setq load-path (cons "/home/marcelo/emacs.d/org-mode/contrib/lisp/" load-path))
(require 'org-install)
(require 'org-babel-init)
(require 'org-babel-python)
--8<---------------cut here---------------end--------------->8---

Then I did

emacs -q -l /home/marcelo/emacs.d/emacs.el

and it starts fine. org-version is "6.31trans". Does that work for you?

> Also, the second question I have is, even when I start emacs with -q flag
> (don't load init files), there are org functions loaded. They differ slightly
> in their quantity I guess, for example, I did not find the org-version in this
> case. However, I have searched for org files in the disk and didn't find
> anything besides my org files pulled from the official git repo. Where are do
> emacs keep the built-in org package? (I'm using Ubuntu 9.10). I'm asking this
> because I don't want to use the version that comes with emacs, but the latest,
> bleeding edge one directly from the git repo.

I'm also on ubuntu (9.04) using emacs-snapshot package. I have org files
at

/usr/share/emacs/23.0.91/lisp/org/

they shouldn't cause problems with the set up above. You could rename
that directory if you wanted. It does look like your having problems
loading the right versions.

>
> And by the way, when I use the one from the git repo, the org-version func
> returns:
>
>
>     Org-mode version 6.30c

Hmm, should be 

Org-mode version 6.31trans (release_6.31.68.g93f3)

I believe the function org-version should give you info on the latest
git commit like it did for me. So perhaps you are getting the org files
that came with emacs and not the git release. 

I'm not on ubuntu 9.10 yet. Carsten / others -- is 6.30c what you'd get
with emacs 23 on the current ubuntu beta release, or is org frozen at
6.21 in emacs23?

>
>
> And I have the lastest commit from branch master from this repo:  git://
> repo.or.cz/org-mode.git
>
> Is it correct?

Latest commit is 93f3968e3f6cb5bf29a2d089457676c5b4a7b694.

You can see the first 4 characters of the commit id in the output from
org-version above.

Dan



>
> Thanks!
>
> Marcelo.
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2009-10-15 17:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15 15:02 org-babel installation failing using the latest version from git repo and emacs 23.1.50.1 Marcelo de Moraes Serpa
2009-10-15 17:01 ` Dan Davison [this message]
2009-10-17 16:20   ` [babel] " Eric S Fraga
2009-10-17 17:28     ` Dirk-Jan C. Binnema

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=877huw4mmd.fsf@stats.ox.ac.uk \
    --to=davison@stats.ox.ac.uk \
    --cc=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).