From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Unable to export babel results Date: Tue, 19 Oct 2010 10:46:56 -0700 Message-ID: <4CBDD990.6010604@gmail.com> References: <87d3r7gezd.fsf@gmail.com> <878w1uhqjb.fsf@gmail.com> <4CBD1504.2020402@gmail.com> <8739s29tig.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=38923 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8GHF-0004Hy-Jq for emacs-orgmode@gnu.org; Tue, 19 Oct 2010 13:47:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8GH6-0002oD-Vz for emacs-orgmode@gnu.org; Tue, 19 Oct 2010 13:47:08 -0400 Received: from mail-px0-f169.google.com ([209.85.212.169]:59988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8GH6-0002nu-RF for emacs-orgmode@gnu.org; Tue, 19 Oct 2010 13:47:00 -0400 Received: by pxi6 with SMTP id 6so929712pxi.0 for ; Tue, 19 Oct 2010 10:47:00 -0700 (PDT) In-Reply-To: <8739s29tig.fsf@gmail.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: Eric Schulte Cc: org-mode mailing list Hi Eric, On Tuesday 19 October 2010 06:36 AM, Eric Schulte wrote: > Suvayu Ali writes: >> >> I just updated to the master HEAD, still no luck. Before and after >> updating I get this, "Org-mode version 7.01trans". I don't know why I >> have never seen the part within the parentheses before. >> > > The part within parenthesis is pulled directly from the git repository > with the command > > git describe --abbrev=4 HEAD > > Do you have git installed on your system? If you do (which I'd think > you'd have to in order to have made it this far) then I'm not sure why > your org-version command doesn't include a part in parenthesis. If you > really wanted to dig into this you could; > 1) call describe-function on the `org-version' function > 2) evaluate org-version with edebug by pressing C-u C-M-x > 3) call the function with M-x org-version > 4) and then step through the function by repeatedly pressing space-bar > to see why it is failing to call git > Yes I have git on my system, I use it fairly regularly for my research projects. I see that `org-version' looks for git repository in the toplevel install directory (/opt/emacs-lisp/share/emacs/site-lisp/org) and it doesn't find it. Which is expected because my install directory and my build directory (i.e. the git repository) are different. How do I make it look at the build directory (~/build/org-mode) instead? > > It might be worthwhile removing the old install under > share/emacs/site-lisp > >> >> FWIW, I have this same issue on a similar Ubuntu 10.04 installation of >> Emacs 24 and org-mode HEAD. >> > > Hmm, I'm still leaning towards thinking that this could be an > installation issue. I'd try cleaning up old versions of org-mode and > your load-path until you manage to get something like the following out > of the org-version command > > Org-mode version 7.01trans (release_7.01h.718.g0cb3c5) > > My guess is that once you get there the problem will be fixed. > I removed my entire Emacs 24 install, reinstalled it in /opt/emacs-lisp/share/emacs. Then installed org-mode in /opt/emacs-lisp/share/emacs/site-lisp/org. Then I put a site-start file called org-mode.el in /opt/emacs-lisp/share/emacs/site-lisp with the following contents: > (add-to-list 'load-path (expand-file-name "org")) > > (require 'org-install) > (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) On restarting Emacs and calling org-version, I get "Org-mode version 7.01trans". There shouldn't be any mixed files after all this. The problem still persists. Does that mean I am doing the installation wrong? > also, if nothing else works, another unrelated thing to try is setting > org-confirm-babel-evaluate to nil (just temporarily) > > (setq org-confirm-babel-evaluate nil) > That doesn't help. Which is probably good. :) Thanks, -- Suvayu Open source is the future. It sets us free.