From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [babel] void-function org-babel-load-file Date: Mon, 13 Dec 2010 13:11:29 -0700 Message-ID: <87hbehh1qm.fsf@gmail.com> References: <20101207171904.71592dzkw2jt9v28@webmail.df.eu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=50952 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSEkE-0001gK-0x for emacs-orgmode@gnu.org; Mon, 13 Dec 2010 15:11:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSEkC-0003j1-UK for emacs-orgmode@gnu.org; Mon, 13 Dec 2010 15:11:37 -0500 Received: from mail-gw0-f48.google.com ([74.125.83.48]:58839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSEkC-0003iu-O4 for emacs-orgmode@gnu.org; Mon, 13 Dec 2010 15:11:36 -0500 Received: by gwaa20 with SMTP id a20so4628376gwa.35 for ; Mon, 13 Dec 2010 12:11:36 -0800 (PST) In-Reply-To: <20101207171904.71592dzkw2jt9v28@webmail.df.eu> (Karl Maihofer's message of "Tue, 07 Dec 2010 17:19:04 +0100") 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: Karl Maihofer Cc: emacs-orgmode@gnu.org 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 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(# 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 " > `---- > > 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