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

Florian Beck <fb@miszellen.de> writes:

> 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.
>

Don't worry, worg can tell you. http://orgmode.org/worg/#sec-4

>
>> 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.
>

Done.

>
>> 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.
>

Done, the chmod value should probably be made customizable through a new
header argument at some point.  As for a "tangled from X" comment, I'd
rather not add extra comments to the code file by default, however there
already exists a tangle option which may fill this need [1].

Cheers,

Footnotes: 
[1]  http://orgmode.org/manual/comments.html

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

  reply	other threads:[~2012-12-12 17:49 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
2012-12-12  3:35     ` Eric Schulte [this message]
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=87mwxjb1p5.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fb@miszellen.de \
    /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).