emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: "Cook, Malcolm" <MEC@stowers.org>
Cc: "'emacs-orgmode@gnu.org'" <emacs-orgmode@gnu.org>
Subject: Re: BUG? table output despite "#+begin_src sh :results verbatim"
Date: Fri, 25 Jan 2013 09:43:42 -1000	[thread overview]
Message-ID: <m1obgd9hg1.fsf@poto.myhome.westell.com> (raw)
In-Reply-To: <2C40E43D1F7A56408C4463FD245DDDF90796CB531D@EXCHMB-02.stowers-institute.org> (Malcolm Cook's message of "Fri, 25 Jan 2013 12:54:56 -0600")

Aloha Malcolm,

"Cook, Malcolm" <MEC@stowers.org> 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

#+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)

#+begin_src sh :results org
  echo 1
  echo 2
  echo 3
#+end_src

#+results:
#+BEGIN_SRC org
| 1 |
| 2 |
| 3 |
#+END_SRC

Not sure why our results differ, though.

Tom

-- 
Thomas S. Dye
http://www.tsdye.com

  reply	other threads:[~2013-01-25 19:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-25 18:54 Cook, Malcolm
2013-01-25 19:43 ` Thomas S. Dye [this message]
2013-01-25 19:44   ` Cook, Malcolm
2013-01-25 20:31     ` Thomas S. Dye
2013-01-25 21:08       ` Cook, Malcolm
2013-01-26 19:36         ` Eric Schulte
2013-01-26 21:48           ` Achim Gratz
2013-01-28 18:23           ` Cook, Malcolm
2013-01-25 22:12   ` Sebastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1obgd9hg1.fsf@poto.myhome.westell.com \
    --to=tsd@tsdye.com \
    --cc=MEC@stowers.org \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: BUG? table output despite "#+begin_src sh :results verbatim"' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).