From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison 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 Message-ID: <877huw4mmd.fsf@stats.ox.ac.uk> References: <1e5bcefd0910150802l2f2d9fbfob021e3d2cef35dd4@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyTiA-0004dn-MS for emacs-orgmode@gnu.org; Thu, 15 Oct 2009 13:01:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyTi7-0004ax-2C for emacs-orgmode@gnu.org; Thu, 15 Oct 2009 13:01:58 -0400 Received: from [199.232.76.173] (port=46117 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyTi6-0004at-QW for emacs-orgmode@gnu.org; Thu, 15 Oct 2009 13:01:54 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:34591) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MyTi5-0007Fx-VN for emacs-orgmode@gnu.org; Thu, 15 Oct 2009 13:01:54 -0400 In-Reply-To: <1e5bcefd0910150802l2f2d9fbfob021e3d2cef35dd4@mail.gmail.com> (Marcelo de Moraes Serpa's message of "Thu, 15 Oct 2009 10:02:03 -0500") 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: Marcelo de Moraes Serpa Cc: Org Mode Hi Marcelo, (Please note that we've agreed to tag org-babel messages with "[babel]") Marcelo de Moraes Serpa writes: > Hello, > > Well, I'm very, very excited to start using org-babel and making cool stu= ff > 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-p= ath)) (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 slig= htly > 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 ar= e 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 la= test, > 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=20 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.=20 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:=C2=A0 gi= t:// > 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