emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dan Davison <davison@stats.ox.ac.uk>
To: Andrea Crotti <andrea.crotti.0@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Tangling
Date: Sun, 11 Apr 2010 08:44:28 -0400	[thread overview]
Message-ID: <87y6gui2fn.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <m1zl1atbzm.fsf@gmail.com> (Andrea Crotti's message of "Sun, 11 Apr 2010 14:22:37 +0200")

Andrea Crotti <andrea.crotti.0@gmail.com> writes:

> Dan Davison <davison@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

  reply	other threads:[~2010-04-11 12:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-09  9:17 Tangling Andrea Crotti
2010-04-09 13:38 ` Tangling Dan Davison
2010-04-11 12:22   ` Tangling Andrea Crotti
2010-04-11 12:44     ` Dan Davison [this message]
2010-04-12  8:40       ` Tangling Andrea Crotti

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=87y6gui2fn.fsf@stats.ox.ac.uk \
    --to=davison@stats.ox.ac.uk \
    --cc=andrea.crotti.0@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).