From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shlomi Vaknin Subject: Bug: Using CALL to evaluate elisp blocks does not show table headers [8.3.4 (release_8.3.4-686-g18b766 @ ~/org-mode/org-mode/lisp/)] Date: Mon, 28 Mar 2016 16:55:24 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113a7e7c2ba787052f24a710 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akh0l-0007WN-C8 for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 19:55:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akh0k-00030m-Jq for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 19:55:55 -0400 Received: from mail-qg0-x231.google.com ([2607:f8b0:400d:c04::231]:34911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akh0k-00030V-A2 for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 19:55:54 -0400 Received: by mail-qg0-x231.google.com with SMTP id y89so122127605qge.2 for ; Mon, 28 Mar 2016 16:55:53 -0700 (PDT) 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: emacs-orgmode@gnu.org --001a113a7e7c2ba787052f24a710 Content-Type: text/plain; charset=UTF-8 Hey, I have an elisp source block that builds a table from some computation. When trying to #+CALL that block, the table header (before the 'hline) is simply not shown. Here is a simple reproduce on my system: ---------------------------------------------- #+name: test #+BEGIN_SRC elisp (list (list 'a 'b 'c 'd) 'hline (list 1 2 3 4) (list 3 4 5 6)) #+END_SRC #+RESULTS: test | a | b | c | d | |---+---+---+---| | 1 | 2 | 3 | 4 | | 3 | 4 | 5 | 6 | #+CALL: test() #+RESULTS: | 1 | 2 | 3 | 4 | | 3 | 4 | 5 | 6 | #+CALL: test() :results raw #+RESULTS: ((1 2 3 4) (3 4 5 6)) ---------------------------------------------- What am I doing wrong? ;) Thanks, Shlomi Emacs : GNU Emacs 25.1.50.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1603)) of 2016-03-17 Package: Org-mode version 8.3.4 (release_8.3.4-686-g18b766 @ ~/org-mode/org-mode/lisp/) --001a113a7e7c2ba787052f24a710 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hey,
I have an elisp source block that buil= ds a table from some computation. When trying to #+CALL that block, the tab= le header (before the 'hline) is simply not shown. Here is a simple rep= roduce on my system:

----------------------------------------------
#+name: test
#+BEGIN_SRC elisp
(list (list 'a 'b 'c 'd) 'hline (lis= t 1 2 3 4) (list 3 4 5 6))
#+END_SRC

#+RESULTS: test
| a | b | c | d |
=
|---+---+---+---|
| 1 | 2 | 3 | 4 |
| 3 | 4 | 5 | 6 |


#+CAL= L: test()
= #+RESULTS:
| 1 | 2= | 3 | 4 |
| 3 | 4 | 5= | 6 |

#+CALL: test() :results raw
#+RESULTS:
((1 2 3 4) (3 4 5 6))=
---------------------= -------------------------

What am I doing w= rong? ;)

Thanks,
Shlomi

Emacs =C2=A0: GNU Emacs 25.1.50.1 (x86_64-apple-darwin13.4.0, NS a= ppkit-1265.21 Version 10.9.5 (Build 13F1603))
=C2=A0of 2016-03-17=
Package: Org-mode version 8.3.4 (release_8.3.4-686-g18b766 @ ~/o= rg-mode/org-mode/lisp/)

--001a113a7e7c2ba787052f24a710--