From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: [Update Config] Babel changes -- security updates and final integration push Date: Tue, 06 Jul 2010 22:03:24 -0400 Message-ID: <87lj9oqc9f.fsf@gollum.intra.norang.ca> References: <87d3v1srun.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=45439 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWJzE-0001WG-IS for emacs-orgmode@gnu.org; Tue, 06 Jul 2010 22:03:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWJzD-0005OT-2E for emacs-orgmode@gnu.org; Tue, 06 Jul 2010 22:03:44 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:64556) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWJzD-0005Nu-0c for emacs-orgmode@gnu.org; Tue, 06 Jul 2010 22:03:43 -0400 In-Reply-To: <87d3v1srun.fsf@gmail.com> (Eric Schulte's message of "Mon\, 05 Jul 2010 11\:31\:28 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Org Mode "Eric Schulte" 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 | : Date: Fri Jun 18 15:04:57 2010 -0400 | : | : Drop unused function | | #+begin_example | commit 4d287c3c72e53f1e3c9fcd42a06599babbf9c6cc | Author: Bernt Hansen | Date: Fri Jun 18 10:47:00 2010 -0400 | | Try autoclocking gnus mail and news reading | | commit 904744c6bc82e65f82109c8d7c612b3616c2ee60 | Author: Bernt Hansen | 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 | : Date: Fri Jun 18 15:04:57 2010 -0400 | : | : Drop unused function | | #+begin_example | commit 4d287c3c72e53f1e3c9fcd42a06599babbf9c6cc | Author: Bernt Hansen | Date: Fri Jun 18 10:47:00 2010 -0400 | | Try autoclocking gnus mail and news reading | | commit 904744c6bc82e65f82109c8d7c612b3616c2ee60 | Author: Bernt Hansen | 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 | Date: Fri Jun 18 10:47:00 2010 -0400 | | Try autoclocking gnus mail and news reading | | commit 904744c6bc82e65f82109c8d7c612b3616c2ee60 | Author: Bernt Hansen | 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