From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam K M Subject: Re: babel-load problem Date: Thu, 22 Aug 2013 08:43:16 +0530 Message-ID: <87k3jee7ub.fsf@noman.maa.corp.collab.net> References: <5215347D.1050409@jumans.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCLLi-0002NK-5c for Emacs-orgmode@gnu.org; Wed, 21 Aug 2013 23:14:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCLLd-0002jg-Tk for Emacs-orgmode@gnu.org; Wed, 21 Aug 2013 23:14:14 -0400 Received: from mail-pa0-x22f.google.com ([2607:f8b0:400e:c03::22f]:64948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCLLd-0002is-L6 for Emacs-orgmode@gnu.org; Wed, 21 Aug 2013 23:14:09 -0400 Received: by mail-pa0-f47.google.com with SMTP id kl13so1542121pab.20 for ; Wed, 21 Aug 2013 20:14:08 -0700 (PDT) In-Reply-To: <5215347D.1050409@jumans.net> (fredrik@jumans.net's message of "Wed, 21 Aug 2013 23:43:25 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Fredrik Cc: Emacs-orgmode@gnu.org Fredrik 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(# 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