From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: [PATCH] Process hlines in imported tables Date: Wed, 03 Apr 2013 20:21:01 +0200 Message-ID: <87vc83bhma.fsf@Rainer.invalid> References: <20130329014615.GA49671@BigDog.local> <87wqsq6yd1.fsf@gmail.com> <20130329214238.GA53401@BigDog.local> <87r4ixah7y.fsf@gmail.com> <20130330234151.GA53721@BigDog.local> <87mwtkqtzh.fsf@gmail.com> <20130331122900.GA57939@BigDog.local> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNSJI-00076E-1g for emacs-orgmode@gnu.org; Wed, 03 Apr 2013 14:21:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNSJ9-00017Y-VV for emacs-orgmode@gnu.org; Wed, 03 Apr 2013 14:21:23 -0400 Received: from plane.gmane.org ([80.91.229.3]:56417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNSJ9-00016y-Ii for emacs-orgmode@gnu.org; Wed, 03 Apr 2013 14:21:15 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UNSJV-0006bb-Ik for emacs-orgmode@gnu.org; Wed, 03 Apr 2013 20:21:37 +0200 Received: from pd9eb2c25.dip.t-dialin.net ([217.235.44.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Apr 2013 20:21:37 +0200 Received: from Stromeko by pd9eb2c25.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Apr 2013 20:21:37 +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: emacs-orgmode@gnu.org Rick Frankel writes: > Missed verbatim. Thanks for the pointer, it works, but i think that > perl is double-processing returned values. If we do the same things in > elisp i get (my) expected results: > > #+begin_src elisp :results raw > "|c1|c2| > |- > |a|1| > |b|2|"; > #+end_src Elisp is different from all other languages: it doesn't do any processing of strings to begin with for value returns. The reason that Perl processes "raw" results is that org-babel-result-cond does not switch to the "scalar" path for this condition, which is why you need the extra "verbatim". It probably should, though, so if Eric agrees then I will push a change that does this. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada