* [babel] void-function org-babel-load-file
@ 2010-12-07 16:19 Karl Maihofer
2010-12-09 17:10 ` Karl Maihofer
2010-12-13 20:11 ` Eric Schulte
0 siblings, 2 replies; 4+ messages in thread
From: Karl Maihofer @ 2010-12-07 16:19 UTC (permalink / raw
To: emacs-orgmode
Dear Orgmode Users,
when I try to update to the latest git version of Org I get the
following error. What do I miss?
,----
| Debugger entered--Lisp error: (void-function org-babel-load-file)
| (org-babel-load-file (expand-file-name
"e:/configs/emacs-config.org" dotfiles-dir))
| eval-buffer(#<buffer *load*> nil "c:/emacs/home/.emacs.d/init.el"
nil t) ; Reading at buffer position 1038
| load-with-code-conversion("c:/emacs/home/.emacs.d/init.el"
"c:/emacs/home/.emacs.d/init.el" t t)
| load("c:/emacs/home/.emacs.d/init" t t)
| #[nil "\b
`----
I use the following in my init.el without problems until today:
,----
| (add-to-list 'load-path "~/elisp/org-mode-2010-12-07/lisp/")
| (add-to-list 'load-path "~/elisp/org-mode-2010-12-07/contrib/lisp/")
|
| (setq dotfiles-dir (file-name-directory (or load-file-name
(buffer-file-name))))
| (add-to-list 'load-path (expand-file-name "lisp"
| (expand-file-name "org"
| (expand-file-name "src" dotfiles-dir))))
|
| ;; Org-Mode und Org-Babel starten
| (require 'org-install)
|
| ;; Emacs-Konfiguration einlesen
| (org-babel-load-file (expand-file-name "e:/configs/emacs-config.org"
dotfiles-dir))
`----
Thanks!
Regards,
Karl
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [babel] void-function org-babel-load-file
2010-12-07 16:19 [babel] void-function org-babel-load-file Karl Maihofer
@ 2010-12-09 17:10 ` Karl Maihofer
2010-12-13 20:11 ` Eric Schulte
1 sibling, 0 replies; 4+ messages in thread
From: Karl Maihofer @ 2010-12-09 17:10 UTC (permalink / raw
To: emacs-orgmode
Zitat von Karl Maihofer <ignoramus@gmx.de>:
> ,----
> | Debugger entered--Lisp error: (void-function org-babel-load-file)
> | (org-babel-load-file (expand-file-name
I found the definition of org-babel-load-file in ob-tangle.el, so I added
(require 'ob-tangle)
before the function is called in my init.el. And it works now.
But I think this is a bug, isn't it?
Regards,
Karl
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [babel] void-function org-babel-load-file
2010-12-07 16:19 [babel] void-function org-babel-load-file Karl Maihofer
2010-12-09 17:10 ` Karl Maihofer
@ 2010-12-13 20:11 ` Eric Schulte
2010-12-14 15:28 ` Karl Maihofer
1 sibling, 1 reply; 4+ messages in thread
From: Eric Schulte @ 2010-12-13 20:11 UTC (permalink / raw
To: Karl Maihofer; +Cc: emacs-orgmode
Hi Karl,
Are you sure you are using the latest version of Org-mode?
I have the following in my init.el file (this is the whole file) and I
have not had any problems.
#+begin_src emacs-lisp
(setq warning-suppress-types nil
eshell-output-filter-functions nil)
(setq dotfiles-dir (file-name-directory (or load-file-name (buffer-file-name))))
(add-to-list 'load-path (expand-file-name
"lisp" (expand-file-name
"org" (expand-file-name
"src" dotfiles-dir))))
;; Load up Org Mode and Babel
(require 'org-install)
;; load up the main file
(org-babel-load-file (expand-file-name "starter-kit.org" dotfiles-dir))
#+end_src
Best -- Eric
Karl Maihofer <ignoramus@gmx.de> writes:
> Dear Orgmode Users,
>
> when I try to update to the latest git version of Org I get the
> following error. What do I miss?
>
> ,----
> | Debugger entered--Lisp error: (void-function org-babel-load-file)
> | (org-babel-load-file (expand-file-name
> "e:/configs/emacs-config.org" dotfiles-dir))
> | eval-buffer(#<buffer *load*> nil "c:/emacs/home/.emacs.d/init.el"
> nil t) ; Reading at buffer position 1038
> | load-with-code-conversion("c:/emacs/home/.emacs.d/init.el"
> "c:/emacs/home/.emacs.d/init.el" t t)
> | load("c:/emacs/home/.emacs.d/init" t t)
> | #[nil "\b
> `----
>
> I use the following in my init.el without problems until today:
>
> ,----
> | (add-to-list 'load-path "~/elisp/org-mode-2010-12-07/lisp/")
> | (add-to-list 'load-path "~/elisp/org-mode-2010-12-07/contrib/lisp/")
> |
> | (setq dotfiles-dir (file-name-directory (or load-file-name
> (buffer-file-name))))
> | (add-to-list 'load-path (expand-file-name "lisp"
> | (expand-file-name "org"
> | (expand-file-name "src" dotfiles-dir))))
> |
> | ;; Org-Mode und Org-Babel starten
> | (require 'org-install)
> |
> | ;; Emacs-Konfiguration einlesen
> | (org-babel-load-file (expand-file-name "e:/configs/emacs-config.org"
> dotfiles-dir))
> `----
>
> Thanks!
>
> Regards,
> Karl
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [babel] void-function org-babel-load-file
2010-12-13 20:11 ` Eric Schulte
@ 2010-12-14 15:28 ` Karl Maihofer
0 siblings, 0 replies; 4+ messages in thread
From: Karl Maihofer @ 2010-12-14 15:28 UTC (permalink / raw
To: emacs-orgmode
Hi Eric,
Zitat von Eric Schulte <schulte.eric@gmail.com>:
> Are you sure you are using the latest version of Org-mode?
I am quite sure. That is what "org-version" says. But I do not compile
the elisp files. I only use the following to load a different
org-version in my init.el:
(add-to-list 'load-path "~/elisp/2010-12-14_org-mode/lisp/")
(add-to-list 'load-path "~/elisp/2010-12-14_org-mode/contrib/lisp/")
Perhaps this is not enough to load a fully functional version of Org?
I tried different Emacs-Versions on Linux, Mac and Windows and
different git snapshots of Org of the last few days. But on all
machines the same problem. Strange.
Regards,
Karl
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-12-14 15:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-07 16:19 [babel] void-function org-babel-load-file Karl Maihofer
2010-12-09 17:10 ` Karl Maihofer
2010-12-13 20:11 ` Eric Schulte
2010-12-14 15:28 ` Karl Maihofer
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.