emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Noorul Islam K M <noorul@noorul.com>
To: Fredrik <fredrik@jumans.net>
Cc: Emacs-orgmode@gnu.org
Subject: Re: babel-load problem
Date: Thu, 22 Aug 2013 08:43:16 +0530	[thread overview]
Message-ID: <87k3jee7ub.fsf@noman.maa.corp.collab.net> (raw)
In-Reply-To: <5215347D.1050409@jumans.net> (fredrik@jumans.net's message of "Wed, 21 Aug 2013 23:43:25 +0200")

Fredrik <fredrik@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 "\b\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

  reply	other threads:[~2013-08-22  3:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-21 21:43 babel-load problem Fredrik
2013-08-22  3:13 ` Noorul Islam K M [this message]
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=87k3jee7ub.fsf@noman.maa.corp.collab.net \
    --to=noorul@noorul.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=fredrik@jumans.net \
    /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).