emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>, nicholas.dokos@hp.com
Subject: Re: Unable to export babel results
Date: Tue, 19 Oct 2010 14:24:48 -0400	[thread overview]
Message-ID: <9603.1287512688@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from "Eric Schulte" <schulte.eric@gmail.com> of "Tue, 19 Oct 2010 11:54:55 MDT." <87y69u83v4.fsf@gmail.com>

Eric Schulte <schulte.eric@gmail.com> wrote:

> Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
> 
> >
> > 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?
> >
> 
> Yes, I believe that until you see the parenthesized portion of the
> org-version string you are still not loading the latest version (from
> git head).

Not necessarily: the info inside the parens is generated through a git
command that makes an assumption about where the git directory is relative
to the lisp directory. If the assumption is violated, then the git command
fails and the extra info is not generated, despite having the latest org
version installed.

The assumption is that the following expression evaluates to the
git directory itself (the directory that contains the .git subdirectory):

	 (concat (file-name-directory (locate-library "org")) "../" )

In particular if you install the whole org lisp directory into the emacs
site-lisp directory, the assumption is violated.

>  It might be worth installing outside of the emacs directory
> and following the following instructions for activation
> 
> http://orgmode.org/guide/Installation.html#Installation
> 

I think this way avoids most of the problems: it allows one to customize
load-path and be *sure* that the correct org-version gets loaded and it
does eliminate the problem above.

Nick

  reply	other threads:[~2010-10-19 18:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-18  4:31 Unable to export babel results suvayu ali
2010-10-19  1:15 ` Eric Schulte
2010-10-19  2:02   ` suvayu ali
2010-10-19  2:20     ` Eric Schulte
2010-10-19  3:48       ` Suvayu Ali
2010-10-19 13:36         ` Eric Schulte
2010-10-19 17:46           ` Suvayu Ali
2010-10-19 17:54             ` Eric Schulte
2010-10-19 18:24               ` Nick Dokos [this message]
2010-10-19 19:37                 ` Suvayu Ali
2010-10-19 21:36                   ` Nick Dokos
2010-10-19 21:52                     ` suvayu ali
2010-10-19 17:37         ` Achim Gratz
2010-10-19 17:52           ` suvayu ali

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=9603.1287512688@alphaville.usa.hp.com \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.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).