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 >