From: Fredrik <fredrik@jumans.net>
To: Emacs-orgmode@gnu.org
Subject: babel-load problem
Date: Wed, 21 Aug 2013 23:43:25 +0200 [thread overview]
Message-ID: <5215347D.1050409@jumans.net> (raw)
Any idea on what I am doing wrong? I just want to set up my config to be
load by babel?
I have my Windows emacs set up with the latest packer for org (20130819)
and have the following in my .emacs
;; setup orgmode babel
(setq org-babel-load-languages '((emacs-lisp . t)))
(setq org-confirm-babel-evaluate nil)
(require 'org-install)
(require 'org)
;; load orgmode organized config
(org-babel-load-file "~/emacs.org")
This gives me the follwing error :
Debugger entered--Lisp error: (file-error "Cannot open load file"
"c:/Users/fe/Dropbox/emacs/emacs.el")
load("c:/Users/fe/Dropbox/emacs/emacs.el" nil nil t)
load-file("~/emacs.el")
org-babel-load-file("~/emacs.org")
eval-buffer(#<buffer *load*> nil "c:/Users/fe/Dropbox/emacs/.emacs"
nil t) ; Reading at buffer position 221
load-with-code-conversion("c:/Users/fe/Dropbox/emacs/.emacs"
"c:/Users/fe/Dropbox/emacs/.emacs" t t)
load("~/.emacs" t t)
#[0 "\b\205\262
So if I then copy my .emacs to emacs.el instead I get the following error :
Debugger entered--Lisp error: (error "Recursive load"
"c:/Users/fe/Dropbox/emacs/emacs.el"
"c:/Users/fe/Dropbox/emacs/emacs.el"
"c:/Users/fe/Dropbox/emacs/emacs.el"
"c:/Users/fe/Dropbox/emacs/emacs.el"
"c:/Users/fe/Dropbox/emacs/emacs.el" "c:/Users/fe/Dropbox/emacs/.emacs")
load("c:/Users/fe/Dropbox/emacs/emacs.el" nil nil t)
load-file("~/emacs.el")
org-babel-load-file("~/emacs.org")
eval-buffer(#<buffer *load*-243902> nil
"c:/Users/fe/Dropbox/emacs/emacs.el" nil t) ; Reading at buffer
position 221
load-with-code-conversion("c:/Users/fe/Dropbox/emacs/emacs.el"
"c:/Users/fe/Dropbox/emacs/emacs.el" nil nil)
load("c:/Users/fe/Dropbox/emacs/emacs.el" nil nil t)
load-file("~/emacs.el")
org-babel-load-file("~/emacs.org")
eval-buffer(#<buffer *load*-842854> nil
"c:/Users/fe/Dropbox/emacs/emacs.el" nil t) ; Reading at buffer
position 221
load-with-code-conversion("c:/Users/fe/Dropbox/emacs/emacs.el"
"c:/Users/fe/Dropbox/emacs/emacs.el" nil nil)
load("c:/Users/fe/Dropbox/emacs/emacs.el" nil nil t)
load-file("~/emacs.el")
org-babel-load-file("~/emacs.org")
eval-buffer(#<buffer *load*-233523> nil
"c:/Users/fe/Dropbox/emacs/emacs.el" nil t) ; Reading at buffer
position 221
load-with-code-conversion("c:/Users/fe/Dropbox/emacs/emacs.el"
"c:/Users/fe/Dropbox/emacs/emacs.el" nil nil)
load("c:/Users/fe/Dropbox/emacs/emacs.el" nil nil t)
load-file("~/emacs.el")
org-babel-load-file("~/emacs.org")
eval-buffer(#<buffer *load*-146210> nil
"c:/Users/fe/Dropbox/emacs/emacs.el" nil t) ; Reading at buffer
position 221
load-with-code-conversion("c:/Users/fe/Dropbox/emacs/emacs.el"
"c:/Users/fe/Dropbox/emacs/emacs.el" nil nil)
load("c:/Users/fe/Dropbox/emacs/emacs.el" nil nil t)
load-file("~/emacs.el")
org-babel-load-file("~/emacs.org")
eval-buffer(#<buffer *load*> nil "c:/Users/fe/Dropbox/emacs/.emacs"
nil t) ; Reading at buffer position 221
load-with-code-conversion("c:/Users/fe/Dropbox/emacs/.emacs"
"c:/Users/fe/Dropbox/emacs/.emacs" t t)
load("~/.emacs" t t)
#[0 "\b\205\262
Any idea on what I am doing wrong? I just want to set up my config to be
load by babel?
next reply other threads:[~2013-08-21 21:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-21 21:43 Fredrik [this message]
2013-08-22 3:13 ` babel-load problem Noorul Islam K M
2013-08-22 5:08 ` Fredrik
2013-08-22 6:17 ` Fredrik
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=5215347D.1050409@jumans.net \
--to=fredrik@jumans.net \
--cc=Emacs-orgmode@gnu.org \
/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).