From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damian Bernardini Subject: Re: Source code evaluation problem Date: Sat, 25 Apr 2015 17:55:40 +0000 Message-ID: References: <871tj82js0.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c383e08ebb9f05149038cb Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ym4Io-0002a8-No for emacs-orgmode@gnu.org; Sat, 25 Apr 2015 13:55:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ym4In-0006ha-9f for emacs-orgmode@gnu.org; Sat, 25 Apr 2015 13:55:42 -0400 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:37347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ym4Im-0006hT-Vy for emacs-orgmode@gnu.org; Sat, 25 Apr 2015 13:55:41 -0400 Received: by widdi4 with SMTP id di4so50813485wid.0 for ; Sat, 25 Apr 2015 10:55:40 -0700 (PDT) In-Reply-To: <871tj82js0.fsf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Damian Bernardini , emacs-orgmode@gnu.org --001a11c383e08ebb9f05149038cb Content-Type: text/plain; charset=UTF-8 You were right. If I do M-x org-version it says: Org-mode version 8.3beta (release_8.3beta-1062-gce4e64-git @ mixed installation! /usr/share/emacs/24.5/lisp/org/ and /home/damian/git/org-mode/lisp/) I've downloaded org from git and loaded it with: (add-to-list 'load-path "~/git/org-mode/lisp") (add-to-list 'load-path "~/git/org-mode/contrib/lisp") How can I tell emacs to not load the /usr/share/emacs/24.5/lisp/org package? 2015-04-25 17:35 GMT+00:00 Eric S Fraga : > On Saturday, 25 Apr 2015 at 15:47, Damian Bernardini wrote: > > I'm trying to use ledger blocks inside org with babel: > > [...] > > > I'm trying the noweb example from: > > http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.html > > > > I can evaluate and get results from income and expenses blocks, but when > I > > try to run C-c C-c on balance block I get: > > Symbol's function definition is void: org-id-find-id-file > > What version of org are you using? How are you loading org? > > The error message you get is rather suspicious and makes me think you > might have an installation of org that is possibly a mix of old and new. > That function is in org-id.el which is required by org-attach which > itself is required by org... > > What is the output of M-x find-library RET org RET? > > Finally, maybe prepare a minimal example and post it to this list. I > use ledger in org all the time and it works fine. > -- > : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org > release_8.3beta-1062-gce4e64 > --001a11c383e08ebb9f05149038cb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
You were right.
If I do M-x org-ve= rsion it says:
Org-mode version 8.3beta (release_8.3beta-1062-gce4e64-gi= t @ mixed installation! /usr/share/emacs/24.5/lisp/org/ and /home/damian/gi= t/org-mode/lisp/)

I've downloaded org from git and loaded = it with:
(add-to-list 'load-path "~/git/org-mode/lisp")(add-to-list 'load-path "~/git/org-mode/contrib/lisp")
How can I tell emacs to not load the /usr/share/emacs/24.5/lisp/org= package?

2015-04-25 17:35 GMT+00:00 Eric S Fraga <e.fraga@ucl.ac.uk>:
On Saturday, 25 Apr 2= 015 at 15:47, Damian Bernardini wrote:
> I'm trying to use ledger blocks inside org with babel:

[...]

> I'm trying the noweb example from:
> http://orgmode.org/worg/org-contrib/babel/la= nguages/ob-doc-ledger.html
>
> I can evaluate and get results from income and expenses blocks, but wh= en I
> try to run C-c C-c on balance block I get:
> Symbol's function definition is void: org-id-find-id-file

What version of org are you using?=C2=A0 How are you loading org?
The error message you get is rather suspicious and makes me think you
might have an installation of org that is possibly a mix of old and new. That function is in org-id.el which is required by org-attach which
itself is required by org...

What is the output of M-x find-library RET org RET?

Finally, maybe prepare a minimal example and post it to this list.=C2=A0 I<= br> use ledger in org all the time and it works fine.
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-1062-gce4= e64

--001a11c383e08ebb9f05149038cb--