From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Stop conversion of result on serialising to file Date: Tue, 26 May 2015 23:56:00 +0200 Message-ID: <87k2vvc8b3.fsf@nicolasgoaziou.fr> References: <99992A62-FF6D-4A83-90C8-C8B7FBB5AE03@infomedia.uib.no> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxMnz-0004zN-Rf for emacs-orgmode@gnu.org; Tue, 26 May 2015 17:54:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxMny-0005BG-Rd for emacs-orgmode@gnu.org; Tue, 26 May 2015 17:54:35 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:54651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxMny-0005Ax-Le for emacs-orgmode@gnu.org; Tue, 26 May 2015 17:54:34 -0400 In-Reply-To: <99992A62-FF6D-4A83-90C8-C8B7FBB5AE03@infomedia.uib.no> (Bjarte Johansen's message of "Tue, 26 May 2015 13:11:44 +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 Hello, Bjarte Johansen writes: > When running a source block and storing the result in a file the data > will first be converted to a table in org-babel-result-cond and then > converted back to text when org-babel-execute-src-block writes it to > file. This is takes a very long time when the result is big and it is > unnecessary. I have attached a patch that makes org-babel-result-cond > return the scalar result when it knows the result will be turned into > a file. Applied. Thank you. Regards, -- Nicolas Goaziou