From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Re: Tangling Date: Sun, 11 Apr 2010 08:44:28 -0400 Message-ID: <87y6gui2fn.fsf@stats.ox.ac.uk> References: <87k4sgsq3k.fsf@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0wWk-00029t-LQ for emacs-orgmode@gnu.org; Sun, 11 Apr 2010 08:44:38 -0400 Received: from [140.186.70.92] (port=45674 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0wWj-00029h-Au for emacs-orgmode@gnu.org; Sun, 11 Apr 2010 08:44:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0wWh-0002CK-Lv for emacs-orgmode@gnu.org; Sun, 11 Apr 2010 08:44:37 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:57682) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0wWh-0002Bt-EV for emacs-orgmode@gnu.org; Sun, 11 Apr 2010 08:44:35 -0400 In-Reply-To: (Andrea Crotti's message of "Sun, 11 Apr 2010 14:22:37 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andrea Crotti Cc: emacs-orgmode@gnu.org Andrea Crotti writes: > Dan Davison 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