emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Karl Maihofer <ignoramus@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: [babel] void-function org-babel-load-file
Date: Mon, 13 Dec 2010 13:11:29 -0700	[thread overview]
Message-ID: <87hbehh1qm.fsf@gmail.com> (raw)
In-Reply-To: <20101207171904.71592dzkw2jt9v28@webmail.df.eu> (Karl Maihofer's message of "Tue, 07 Dec 2010 17:19:04 +0100")

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

  parent reply	other threads:[~2010-12-13 20:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2010-12-14 15:28   ` Karl Maihofer

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=87hbehh1qm.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ignoramus@gmx.de \
    /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).