[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: Tangling

From: Dan Davison
Subject: Re: [Orgmode] Re: Tangling
Date: Sun, 11 Apr 2010 08:44:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Andrea Crotti <address@hidden> writes:

> Dan Davison <address@hidden> 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"))


> 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.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

reply via email to

[Prev in Thread] Current Thread [Next in Thread]