Fredrik <fred...@jumans.net> writes: > 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 "\205\262 >
In emacs.org, are you trying to load "c:/Users/fe/Dropbox/emacs/emacs.el" ? or is your $HOME set to c:/Users/fe/Dropbox/emacs ? Thanks and Regards Noorul