emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: [Update Config] Babel changes -- security updates and fina


From: Bernt Hansen
Subject: [Orgmode] Re: [Update Config] Babel changes -- security updates and final integration push
Date: Tue, 06 Jul 2010 22:03:24 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

"Eric Schulte" <address@hidden> 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 <address@hidden>
| : Date:   Fri Jun 18 15:04:57 2010 -0400
| : 
| :     Drop unused function
| 
| #+begin_example
| commit 4d287c3c72e53f1e3c9fcd42a06599babbf9c6cc
| Author: Bernt Hansen <address@hidden>
| Date:   Fri Jun 18 10:47:00 2010 -0400
| 
|     Try autoclocking gnus mail and news reading
| 
| commit 904744c6bc82e65f82109c8d7c612b3616c2ee60
| Author: Bernt Hansen <address@hidden>
| 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 <address@hidden>
| : Date:   Fri Jun 18 15:04:57 2010 -0400
| : 
| :     Drop unused function
| 
| #+begin_example
| commit 4d287c3c72e53f1e3c9fcd42a06599babbf9c6cc
| Author: Bernt Hansen <address@hidden>
| Date:   Fri Jun 18 10:47:00 2010 -0400
| 
|     Try autoclocking gnus mail and news reading
| 
| commit 904744c6bc82e65f82109c8d7c612b3616c2ee60
| Author: Bernt Hansen <address@hidden>
| 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 <address@hidden>
| Date:   Fri Jun 18 10:47:00 2010 -0400
| 
|     Try autoclocking gnus mail and news reading
| 
| commit 904744c6bc82e65f82109c8d7c612b3616c2ee60
| Author: Bernt Hansen <address@hidden>
| 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 via email to

[Prev in Thread] Current Thread [Next in Thread]