emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [babel] :results list
Date: Fri, 19 Apr 2013 08:30:48 -0500	[thread overview]
Message-ID: <CA+M2ft-=9B7rqwGMyxBnLkkzrsSPw=MJyCL0b5-W9cHq98EXtA@mail.gmail.com> (raw)
In-Reply-To: <8638umx3bl.fsf@somewhere.org>

I'm on 8.0-pre release_8.0-pre-219-g9c8543.

I get this:

#+begin_src sh :results drawer list
echo "vino tinto"
echo "vino rosso"
echo "vino blanco"
#+end_src

 #+RESULTS:
 :RESULTS:
 - ("vino" "tinto")
 - ("vino" "rosso")
 - ("vino" "blanco")
 :END:

I tried playing with things but never ditched those parentheses
(things like =:results output drawer list=, =:results output list=,
and I think some other combinations).

Then I did =$ git pull && make clean && make && make doc= and
re-tried. Now I get the same as you. Something changed between the
branch above and what I just updated to, version 8.0
release_8.0-2-g77476c (but not that with the proper list behavior you
would have wanted parentheses around each result and individual words
in quotations. That seems wrong too).


John

On Fri, Apr 19, 2013 at 4:44 AM, Sebastien Vauban
<wxhgmqzgwmuf@spammotel.com> wrote:
> Hello,
>
> The following code block:
>
>   #+begin_src sh :results drawer list
>   echo "vino tinto"
>   echo "vino rosso"
>   echo "vino blanco"
>   #+end_src
>
> returns:
>
>   #+results:
>   :RESULTS:
>   - vino tinto
>   vino rosso
>   vino blanco
>   :END:
>
> while I was expecting:
>
>   #+results:
>   :RESULTS:
>   - vino tinto
>   - vino rosso
>   - vino blanco
>   :END:
>
> Am I assuming wrong, or badly using the header argument?
>
> Best regards,
>   Seb
>
> --
> Sebastien Vauban
>
>

  reply	other threads:[~2013-04-19 13:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-19  9:44 [babel] :results list Sebastien Vauban
2013-04-19 13:30 ` John Hendy [this message]
2013-04-19 20:06   ` Sebastien Vauban
2013-04-19 20:42     ` Bastien
2013-04-19 20:58     ` Sebastien Vauban
2013-04-19 17:46 ` Bastien

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='CA+M2ft-=9B7rqwGMyxBnLkkzrsSPw=MJyCL0b5-W9cHq98EXtA@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).