From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ross Donaldson Subject: Re: Bug: CALL misbehavior with :results verbatim [8.3.4 (8.3.4-5-gdc68d2-elpaplus @ /Users/rossdonaldson/.emacs.d/elpa/org-plus-contrib-20160229/)] Date: Wed, 16 Mar 2016 16:52:11 -0700 Message-ID: <87h9g6gevo.fsf@gmail.com> References: <874mc6vyby.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agLEi-0005dB-5z for emacs-orgmode@gnu.org; Wed, 16 Mar 2016 19:52:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agLEd-0006tW-74 for emacs-orgmode@gnu.org; Wed, 16 Mar 2016 19:52:20 -0400 Received: from mail-qg0-x22e.google.com ([2607:f8b0:400d:c04::22e]:35081) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agLEd-0006tI-1C for emacs-orgmode@gnu.org; Wed, 16 Mar 2016 19:52:15 -0400 Received: by mail-qg0-x22e.google.com with SMTP id y89so58884522qge.2 for ; Wed, 16 Mar 2016 16:52:14 -0700 (PDT) In-reply-to: <874mc6vyby.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org, Ross Donaldson Nicolas -- > Isn't it the point of the "verbatim" parameter? I didn't think so, no. Certainly, it doesn't behave this way in any other context, nor does the documentation make me think it should. > What did you expect instead? I expect the results of a call block to be the same as from evaluating the named src block directly. Why would I expect anything else? Nicolas Goaziou writes: > Hello, > > Ross Donaldson writes: > >> When the header argument ~:results verbatim~ is set in a #+PROPERTY, >> the results of #+CALL blocks are surrounded by full quotes: > > Isn't it the point of the "verbatim" parameter? > >> * Good >> #+name: first-demo >> #+BEGIN_SRC sh >> echo 5 #+END_SRC >> >> #+RESULTS: first-demo >> : 5 >> #+call: first-demo() >> >> #+RESULTS: >> : 5 >> >> * Bad >> :PROPERTIES: >> :header-args: :results verbatim >> :END: >> >> #+name: second-demo >> #+BEGIN_SRC sh >> echo 5 #+END_SRC >> >> #+call: second-demo() >> >> #+RESULTS: : "5 : " > > What did you expect instead? > >> * Weird >> #+name: third-demo >> #+BEGIN_SRC sh :results verbatim >> echo 5 #+END_SRC >> >> #+call: third-demo() >> >> #+RESULTS: >> : 5 > > Also, what did you expect? Note that :results verbatim is applied to the > block, not to the call line. > > > Regards, -- Cheers, Ross