Andrea Crotti <andrea.crott...@gmail.com> writes:

> Dan Davison <davi...@stats.ox.ac.uk> writes:
[...]
> So now I have a strange behaviour, sometimes the file is loaded and
> sometimes is not
>
> This is the init file:
>
> (setq base "~/Documents/pycon/")
> (setq conf (concat base "conf/"))
>
> (add-to-list 'load-path (concat conf "org-mode/lisp"))
> (add-to-list 'load-path (concat conf "org-mode/contrib/babel/lisp"))
>
> (require 'org)
> (require 'org-babel)
> (require 'org-babel-tangle)
>
> (org-babel-tangle-file (concat base "miniconf.org"))

Hi Andrea,

I think that should be

(add-to-list 'load-path (concat conf "org-mode/lisp"))
(add-to-list 'load-path (concat conf "org-mode/contrib/lisp"))

(require 'org-install)
(require 'org-babel-init)

(org-babel-tangle-file (concat base "miniconf.org"))

Dan

>
> The tangling works perfectly fine on my "real" emacs conf, but with the
> testing configuration I get sometimes (don't understand why sometimes it
> works this)
>
> http://gist.github.com/362682
>
> And is short
>
> Debugger entered--Lisp error: (void-function -mode)
>
> What is that supposed to mean? Just some stupid mistake again?
> The file to load is 
> http://github.com/AndreaCrotti/Org-mode-notes/blob/master/miniconf.org
> but I guess that's correct because on one emacs it works perfectly fine
>
>
>
> _______________________________________________
> 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


_______________________________________________
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

Reply via email to