emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] :results list
@ 2013-04-19  9:44 Sebastien Vauban
  2013-04-19 13:30 ` John Hendy
  2013-04-19 17:46 ` Bastien
  0 siblings, 2 replies; 6+ messages in thread
From: Sebastien Vauban @ 2013-04-19  9:44 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [babel] :results list
  2013-04-19  9:44 [babel] :results list Sebastien Vauban
@ 2013-04-19 13:30 ` John Hendy
  2013-04-19 20:06   ` Sebastien Vauban
  2013-04-19 17:46 ` Bastien
  1 sibling, 1 reply; 6+ messages in thread
From: John Hendy @ 2013-04-19 13:30 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: emacs-orgmode

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
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [babel] :results list
  2013-04-19  9:44 [babel] :results list Sebastien Vauban
  2013-04-19 13:30 ` John Hendy
@ 2013-04-19 17:46 ` Bastien
  1 sibling, 0 replies; 6+ messages in thread
From: Bastien @ 2013-04-19 17:46 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ



Hi Sébastien,

"Sebastien Vauban"
<wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> writes:

> while I was expecting:
>
>   #+results:
>   :RESULTS:
>   - vino tinto
>   - vino rosso
>   - vino blanco
>   :END:

It should work now.  Thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [babel] :results list
  2013-04-19 13:30 ` John Hendy
@ 2013-04-19 20:06   ` Sebastien Vauban
  2013-04-19 20:42     ` Bastien
  2013-04-19 20:58     ` Sebastien Vauban
  0 siblings, 2 replies; 6+ messages in thread
From: Sebastien Vauban @ 2013-04-19 20:06 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello John, Bastien,

> On Fri, Apr 19, 2013 at 4:44 AM, Sebastien Vauban wrote:
>> 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:
>>
>> Am I assuming wrong, or badly using the header argument?

After updating just now to Org-mode version 8.0 (release_8.0-3-g3d994a @
d:/Users/fni/Public/Repositories/org-mode/lisp/), I get:

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

#+results:
| vino | blanco |
| vino | rosso  |
| vino | tinto  |

that is, a table instead of a list...

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [babel] :results list
  2013-04-19 20:06   ` Sebastien Vauban
@ 2013-04-19 20:42     ` Bastien
  2013-04-19 20:58     ` Sebastien Vauban
  1 sibling, 0 replies; 6+ messages in thread
From: Bastien @ 2013-04-19 20:42 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ



"Sebastien Vauban"
<wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> writes:

> that is, a table instead of a list...

Mhh... I really can't reproduce this :/

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [babel] :results list
  2013-04-19 20:06   ` Sebastien Vauban
  2013-04-19 20:42     ` Bastien
@ 2013-04-19 20:58     ` Sebastien Vauban
  1 sibling, 0 replies; 6+ messages in thread
From: Sebastien Vauban @ 2013-04-19 20:58 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

"Sebastien Vauban" wrote:
> After updating just now to Org-mode version 8.0 (release_8.0-3-g3d994a @
> d:/Users/fni/Public/Repositories/org-mode/lisp/), I get:
>
> #+begin_src sh :results drawer list
> echo "vino blanco"
> echo "vino rosso"
> echo "vino tinto"
> #+end_src
>
> #+results:
> | vino | blanco |
> | vino | rosso  |
> | vino | tinto  |
>
> that is, a table instead of a list...

I don't know what happened because, now, when re-running, I get:

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

#+results:
:RESULTS:
- vino blanco
- vino rosso
- vino tinto
:END:

Excellent... Thanks.

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-04-19 20:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-19  9:44 [babel] :results list Sebastien Vauban
2013-04-19 13:30 ` John Hendy
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

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).