From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Some Experiences with org-babel-load-file Date: Tue, 11 Dec 2012 20:35:34 -0700 Message-ID: <87mwxjb1p5.fsf@gmail.com> References: <50C66343.2010202@miszellen.de> <87ip88mpxa.fsf@gmail.com> <50C78F07.3090509@miszellen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiqRB-0003wl-Fl for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 12:49:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiqR1-000411-JC for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 12:49:41 -0500 Received: from mail-ia0-f170.google.com ([209.85.210.170]:53317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiqR1-00040w-EF for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 12:49:31 -0500 Received: by mail-ia0-f170.google.com with SMTP id i1so1315081iaa.1 for ; Wed, 12 Dec 2012 09:49:30 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Florian Beck Cc: emacs-orgmode@gnu.org Florian Beck 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