emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug: Babel :var order affects :colnames [9.2 (9.2-41-g010a35-elpaplu


From: Thomas S. Dye
Subject: [O] Bug: Babel :var order affects :colnames [9.2 (9.2-41-g010a35-elpaplus @ /home/dk/.emacs.d/elpa/org-plus-contrib-20190122/)]
Date: Wed, 23 Jan 2019 23:53:25 -1000
User-agent: mu4e 0.9.18; emacs 26.1



Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See

    https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

I expect =colnames-bug-bad= to parse =test-table= like =colnames-bug-good=. The only difference is the order of :var assignments.

**** ECM
#+name: colnames-bug-bad
#+header: :var str="Foo" :var tab=test-table
#+header: :colnames yes
#+BEGIN_SRC R
data.frame(tab)
#+END_SRC

#+RESULTS: colnames-bug-bad
| cell.1 | cell.2 |
|--------+--------|

#+name: colnames-bug-good
#+header: :var tab=test-table :var str="Foo"
#+header: :colnames yes
#+BEGIN_SRC R
data.frame(tab)
#+END_SRC

#+RESULTS: colnames-bug-good
| head.1 | head.2 |
|--------+--------|
| cell.1 | cell.2 |

#+name: test-table
| head.1 | head.2 |
|--------+--------|
| cell.1 | cell.2 |

Let me know if you have questions.

All the best,
Tom


Emacs : GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
of 2018-05-28
Package: Org mode version 9.2 (9.2-41-g010a35-elpaplus @ /home/dk/.emacs.d/elpa/org-plus-contrib-20190122/)
--
Thomas S. Dye
http://tsdye.online/tsdye



reply via email to

[Prev in Thread] Current Thread [Next in Thread]