emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Bernt Hansen <bernt@norang.ca>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [Update Config] Babel changes -- security updates and final integration push
Date: Tue, 06 Jul 2010 19:54:46 -0700	[thread overview]
Message-ID: <87wrt86lxl.fsf@gmail.com> (raw)
In-Reply-To: <87lj9oqc9f.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Tue, 06 Jul 2010 22:03:24 -0400")

Wow, this is fixed now, Thanks for pointing this out Bernt.

Bernt Hansen <bernt@norang.ca> writes:

> "Eric Schulte" <schulte.eric@gmail.com> writes:
>
>> Hi,
>>
>> I've just merged a large set of Babel related security measures and
>> layout/initialization updates into the master branch of the git
>> repository.
>>
>> These changes will require existing babel users to update their
>> configuration, see the following instructions for details -- even if you
>> think you've read similar instructions before these are worth reading.
>> http://eschulte.github.com/babel-dev/DONE-document-configuration-changes-for-Babel-integration.html
>>
>> From here on out Babel development in the master branch will settle down
>> along with the rest of the current Org-mode feature freeze.
>>
>
> Hi Eric,
>
> I've updated my simple babel usage with your recent instructions and I
> think there's a bug in the current setup.  My output isn't anything like
> I expect.
>
> Org-mode version 6.36trans (release_6.36.563.gc32d7)
> GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian
>
> I have the following org-mode file
>
> ,----[ test.org ]
> | * test.org
> | #+begin_src sh :results output
> |    cd ~/git/emacs && git log 4d287c3c72e53f1e3c9fcd42a06599babbf9c6cc..
> | #+end_src
> | 
> | #+results:
> | : commit 61bba1e248509ef2d06c95681a28288cf6af8287
> | : Author: Bernt Hansen <bernt@norang.ca>
> | : Date:   Fri Jun 18 15:04:57 2010 -0400
> | : 
> | :     Drop unused function
> | 
> | #+begin_example
> | commit 4d287c3c72e53f1e3c9fcd42a06599babbf9c6cc
> | Author: Bernt Hansen <bernt@norang.ca>
> | Date:   Fri Jun 18 10:47:00 2010 -0400
> | 
> |     Try autoclocking gnus mail and news reading
> | 
> | commit 904744c6bc82e65f82109c8d7c612b3616c2ee60
> | Author: Bernt Hansen <bernt@norang.ca>
> | Date:   Thu Jun 17 13:19:43 2010 -0400
> | 
> |     Remove debug message for agenda sort function
> | 
> `----
>
> and from previous runs of org-babel I've been collecting commits in
> the #+results: section with older stuff I manually update in
> the #+begin_example block.
>
> Now if I execute the shell script with the new babel setup I get this:
>
> (after the prompt to execute the shell script)
>
> ,----[ test.org ]
> | * test.org
> | #+begin_src sh :results output
> |    cd ~/git/emacs && git log 4d287c3c72e53f1e3c9fcd42a06599babbf9c6cc..
> | #+end_src
> | 
> | #+results:
> | #+begin_example
> | * test.org
> | #+begin_src sh :results output
> |    cd ~/git/emacs && git log 4d287c3c72e53f1e3c9fcd42a06599babbf9c6cc..
> | #+end_src
> | 
> | #+results:
> | : commit 61bba1e248509ef2d06c95681a28288cf6af8287
> | : Author: Bernt Hansen <bernt@norang.ca>
> | : Date:   Fri Jun 18 15:04:57 2010 -0400
> | : 
> | :     Drop unused function
> | 
> | #+begin_example
> | commit 4d287c3c72e53f1e3c9fcd42a06599babbf9c6cc
> | Author: Bernt Hansen <bernt@norang.ca>
> | Date:   Fri Jun 18 10:47:00 2010 -0400
> | 
> |     Try autoclocking gnus mail and news reading
> | 
> | commit 904744c6bc82e65f82109c8d7c612b3616c2ee60
> | Author: Bernt Hansen <bernt@norang.ca>
> | Date:   Thu Jun 17 13:19:43 2010 -0400
> | 
> |     Remove debug message for agenda sort function
> | 
> | #+end_example
> | 
> | #+begin_example
> | commit 4d287c3c72e53f1e3c9fcd42a06599babbf9c6cc
> | Author: Bernt Hansen <bernt@norang.ca>
> | Date:   Fri Jun 18 10:47:00 2010 -0400
> | 
> |     Try autoclocking gnus mail and news reading
> | 
> | commit 904744c6bc82e65f82109c8d7c612b3616c2ee60
> | Author: Bernt Hansen <bernt@norang.ca>
> | Date:   Thu Jun 17 13:19:43 2010 -0400
> | 
> |     Remove debug message for agenda sort function
> | 
> `----
>
> The results section duplicates part of the org file instead of inserting
> the output from the command.  This used to work with the old setup -- am
> I missing something?
>
> Regards,
> Bernt

  reply	other threads:[~2010-07-07  2:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-05 18:31 [Update Config] Babel changes -- security updates and final integration push Eric Schulte
2010-07-06  0:59 ` Thomas S. Dye
2010-07-06  1:09   ` Eric Schulte
2010-07-06  1:48     ` Thomas S. Dye
2010-07-06  5:42     ` Carsten Dominik
2010-07-07  2:03 ` Bernt Hansen
2010-07-07  2:54   ` Eric Schulte [this message]
2010-07-07  3:03     ` Bernt Hansen

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=87wrt86lxl.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=bernt@norang.ca \
    --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).