From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [Update Config] Babel changes -- security updates and final integration push Date: Tue, 06 Jul 2010 19:54:46 -0700 Message-ID: <87wrt86lxl.fsf@gmail.com> References: <87d3v1srun.fsf@gmail.com> <87lj9oqc9f.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=48462 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWKmi-0004Xd-NU for emacs-orgmode@gnu.org; Tue, 06 Jul 2010 22:54:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWKmh-0004o5-8O for emacs-orgmode@gnu.org; Tue, 06 Jul 2010 22:54:52 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:63165) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWKmh-0004nv-01 for emacs-orgmode@gnu.org; Tue, 06 Jul 2010 22:54:51 -0400 Received: by pzk33 with SMTP id 33so2999234pzk.0 for ; Tue, 06 Jul 2010 19:54:49 -0700 (PDT) In-Reply-To: <87lj9oqc9f.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Tue, 06 Jul 2010 22:03:24 -0400") 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: Bernt Hansen Cc: Org Mode Wow, this is fixed now, Thanks for pointing this out Bernt. Bernt Hansen writes: > "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