[Orgmode] Re: [Update Config] Babel changes -- security updates and final integration push

2010-07-06 Thread Bernt Hansen
Eric Schulte schulte.e...@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 be...@norang.ca
| : Date:   Fri Jun 18 15:04:57 2010 -0400
| : 
| : Drop unused function
| 
| #+begin_example
| commit 4d287c3c72e53f1e3c9fcd42a06599babbf9c6cc
| Author: Bernt Hansen be...@norang.ca
| Date:   Fri Jun 18 10:47:00 2010 -0400
| 
| Try autoclocking gnus mail and news reading
| 
| commit 904744c6bc82e65f82109c8d7c612b3616c2ee60
| Author: Bernt Hansen be...@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 be...@norang.ca
| : Date:   Fri Jun 18 15:04:57 2010 -0400
| : 
| : Drop unused function
| 
| #+begin_example
| commit 4d287c3c72e53f1e3c9fcd42a06599babbf9c6cc
| Author: Bernt Hansen be...@norang.ca
| Date:   Fri Jun 18 10:47:00 2010 -0400
| 
| Try autoclocking gnus mail and news reading
| 
| commit 904744c6bc82e65f82109c8d7c612b3616c2ee60
| Author: Bernt Hansen be...@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 be...@norang.ca
| Date:   Fri Jun 18 10:47:00 2010 -0400
| 
| Try autoclocking gnus mail and news reading
| 
| commit 904744c6bc82e65f82109c8d7c612b3616c2ee60
| Author: Bernt Hansen be...@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

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: [Update Config] Babel changes -- security updates and final integration push

2010-07-06 Thread Eric Schulte
Wow, this is fixed now, Thanks for pointing this out Bernt.

Bernt Hansen be...@norang.ca writes:

 Eric Schulte schulte.e...@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 be...@norang.ca
 | : Date:   Fri Jun 18 15:04:57 2010 -0400
 | : 
 | : Drop unused function
 | 
 | #+begin_example
 | commit 4d287c3c72e53f1e3c9fcd42a06599babbf9c6cc
 | Author: Bernt Hansen be...@norang.ca
 | Date:   Fri Jun 18 10:47:00 2010 -0400
 | 
 | Try autoclocking gnus mail and news reading
 | 
 | commit 904744c6bc82e65f82109c8d7c612b3616c2ee60
 | Author: Bernt Hansen be...@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 be...@norang.ca
 | : Date:   Fri Jun 18 15:04:57 2010 -0400
 | : 
 | : Drop unused function
 | 
 | #+begin_example
 | commit 4d287c3c72e53f1e3c9fcd42a06599babbf9c6cc
 | Author: Bernt Hansen be...@norang.ca
 | Date:   Fri Jun 18 10:47:00 2010 -0400
 | 
 | Try autoclocking gnus mail and news reading
 | 
 | commit 904744c6bc82e65f82109c8d7c612b3616c2ee60
 | Author: Bernt Hansen be...@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 be...@norang.ca
 | Date:   Fri Jun 18 10:47:00 2010 -0400
 | 
 | Try autoclocking gnus mail and news reading
 | 
 | commit 904744c6bc82e65f82109c8d7c612b3616c2ee60
 | Author: Bernt Hansen be...@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

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: [Update Config] Babel changes -- security updates and final integration push

2010-07-06 Thread Bernt Hansen
Eric Schulte schulte.e...@gmail.com writes:

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

That was quick!  Thanks!!

-Bernt

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode