From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [babel] Multiple results blocks for the same source code Date: Fri, 23 Sep 2011 15:51:00 -0600 Message-ID: <871uv7exmj.fsf@gmail.com> References: <8062kjxxux.fsf@somewhere.org> <87wrczi6zr.fsf@gmail.com> <80aa9vszmh.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7DeH-0007ZF-R8 for emacs-orgmode@gnu.org; Fri, 23 Sep 2011 17:51:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7DeG-0007Fo-AM for emacs-orgmode@gnu.org; Fri, 23 Sep 2011 17:51:09 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:34780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7DeG-0007Fj-2u for emacs-orgmode@gnu.org; Fri, 23 Sep 2011 17:51:08 -0400 Received: by gya6 with SMTP id 6so3409036gya.0 for ; Fri, 23 Sep 2011 14:51:07 -0700 (PDT) In-Reply-To: <80aa9vszmh.fsf@somewhere.org> (Sebastien Vauban's message of "Fri, 23 Sep 2011 23:44:06 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: emacs-orgmode@gnu.org "Sebastien Vauban" writes: > Hi Eric, > > Eric Schulte wrote: >> I could not reproduce the error you describe, and your test case passes >> for me. I have added your test case to testing/test-ob.el however so it >> should protect from this error in the future. > > I can't reproduce it anymore right now. But the goal was to have a fuse > against that for the future, yes. > >> You could try running the test suite in batch mode (which will not load >> your configuration) and see if the test still fails for you. If not >> then the problem is probably due to either something in your config. > > When I get back in a "broken" config such as the one described here, I'll do > it. > >> Thanks for the test case! -- Eric >> >> ps. the only comments I have on the test itself are >> 1. The initial placement of the point is described in the >> documentation string for the `org-test-with-temp-text' function > > That's very clear, yes, but for the case where we don't have the string > "" in the initial text. Is point at the end of the string, then? I > guess so. > Oh, I see I didn't address that in the function documentation. In the case of no explicit "" marker the point is placed at the beginning of the inserted text (which also happens to be the very beginning of the buffer). > > But my question was more about... > >>> (org-babel-execute-src-block) ;; second code block execution >>> ;; where is point (supposed to be)? > > ... the position of point after `org-babel-execute-src-block'. > The point should remain wherever it was before executing the code block. > >> 2. In the future if you could share new test cases as patches to the >> relevant test file (i.e., using git format-patch) that would be >> ideal > > That was my intention, after receiving a "nihil obstat" from you, or some > suggestions for changes. > > Anyway, next time, I'll directly send a properly formatted patch. > Wonderful. Thanks again -- Eric > > Thanks. > > Best regards, > Seb -- Eric Schulte http://cs.unm.edu/~eschulte/