emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Florian Beck <fb@miszellen.de>
To: emacs-orgmode@gnu.org
Subject: Re: Some Experiences with org-babel-load-file
Date: Tue, 11 Dec 2012 20:52:39 +0100	[thread overview]
Message-ID: <50C78F07.3090509@miszellen.de> (raw)
In-Reply-To: <87ip88mpxa.fsf@gmail.com>

On 12/11/2012 03:52 PM, Eric Schulte wrote:

> Please go ahead and update the information on worg.  Note that Emacs24
> users need only do
>
>      (require 'org)
>      (org-babel-load-file "/path/to/your/org-init-file.org")
>
> while users of lesser Emacs will have to load a new version of Org-mode
> before calling org-babel-load-file.

Sorry, I have no idea how to update worg.

> compiled and un-compiled code.  If this does pose a problem for you,
> perhaps an optional extra argument to be added to org-babel-load-file to
> enable compilation.

Yes, this would do nicely.

> The `org-babel-load-file' function calls `org-tangle-file' so they are
> definitely working in concert.  When a target file is passed to
> `org-tangle-file' then that is used as the value of the ":tangle" header
> argument, so the default behavior is to tangle.

Ok, that makes sense.

> Great idea.  I don't have time to work on this right now, but it is
> definitely on my stack.  I suppose this should be the default behavior
> for all tangled files (not just those written by org-babel-load-file).

Yes. Perhaps also include a comment that the file was tangled from an 
org-file plus the path to that file.

  reply	other threads:[~2012-12-11 19:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-10 22:33 Some Experiences with org-babel-load-file Florian Beck
2012-12-11 14:52 ` Eric Schulte
2012-12-11 19:52   ` Florian Beck [this message]
2012-12-12  3:35     ` Eric Schulte
2012-12-11 17:01 ` Memnon Anon
2012-12-11 17:36   ` Jonathan Leech-Pepin

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=50C78F07.3090509@miszellen.de \
    --to=fb@miszellen.de \
    --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).