From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] ob-core: Fix indented cached result returning nil Date: Tue, 26 May 2015 10:20:17 +0200 Message-ID: <87r3q3g37i.fsf@nicolasgoaziou.fr> References: <1432467740-2692-1-git-send-email-bjarte.johansen@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxA4e-0005Cr-0b for emacs-orgmode@gnu.org; Tue, 26 May 2015 04:18:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxA4d-00085b-AQ for emacs-orgmode@gnu.org; Tue, 26 May 2015 04:18:55 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:49055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxA4d-000853-4h for emacs-orgmode@gnu.org; Tue, 26 May 2015 04:18:55 -0400 In-Reply-To: <1432467740-2692-1-git-send-email-bjarte.johansen@gmail.com> (Bjarte Johansen's message of "Sun, 24 May 2015 13:42:20 +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: Bjarte Johansen Cc: emacs-orgmode@gnu.org Bjarte Johansen writes: > Fix a problem where a source block would return nil oif the result was > cached and it was indented. > > * lisp/ob-core.el (org-babel-execute-src-block): Move point to the the > first character of the result instead of the beginning of the line. > > * testing/lisp/test-ob.el > (test-org-babel/indented-cached-org-bracket-link): Added test to > to see if the indented cached result returns what it should return. Applied. Thank you. Regards,