From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: BUG? table output despite "#+begin_src sh :results verbatim" Date: Fri, 25 Jan 2013 23:12:59 +0100 Message-ID: <86zjzw6hec.fsf@somewhere.org> References: <2C40E43D1F7A56408C4463FD245DDDF90796CB531D@EXCHMB-02.stowers-institute.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Thomas and Malcolm, Thomas S. Dye wrote: > Aloha Malcolm, > > "Cook, Malcolm" writes: > >> Hi, >> >> In org 7.9.3d, under Gnu emacs 24.2.1 / linux: >> >> I find that org-mode is tablizing shell output despite require >> verbatim' results. >> >> #+begin_src sh :results verbatim >> echo 1 >> echo 2 >> echo 3 >> #+end_src >> >> #+results: >> | 1 | >> | 2 | >> | 3 | > > Hmm, I get this: > > #+begin_src sh :results verbatim > echo 1 > echo 2 > echo 3 > #+end_src > > #+results: > : 1 > : 2 > : 3 > > #+begin_src sh :results scalar > echo 1 > echo 2 > echo 3 > #+end_src > > #+results: > : 1 > : 2 > : 3 In both cases (verbatim or scalar, which are synonyms), I do have: #+begin_src sh :results verbatim echo 1 echo 2 echo 3 #+end_src #+results: #+begin_example 1 2 3 #+end_example (I configured Babel so that to get lines prefixed by ":" only if there is *one* line of results) For the rest, I got the same as you: > #+begin_src sh :results table > echo 1 > echo 2 > echo 3 > #+end_src > > #+results: > | 1 | > | 2 | > | 3 | > > #+begin_src sh :results list > echo 1 > echo 2 > echo 3 > #+end_src > > #+results: > - (1) > - (2) > - (3) ... and wonder why the figures here are enclosed between parentheses... Best regards, Seb -- Sebastien Vauban