From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: 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 Message-ID: <87bm46qt4a.fsf@tsdye.online> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmbhe-0006sr-G1 for emacs-orgmode@gnu.org; Thu, 24 Jan 2019 04:53:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmbhd-0004oI-Fu for emacs-orgmode@gnu.org; Thu, 24 Jan 2019 04:53:42 -0500 Received: from gateway30.websitewelcome.com ([192.185.147.85]:26041) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gmbhd-0004Kz-5T for emacs-orgmode@gnu.org; Thu, 24 Jan 2019 04:53:41 -0500 Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway30.websitewelcome.com (Postfix) with ESMTP id 286775F87 for ; Thu, 24 Jan 2019 03:53:28 -0600 (CST) Received: from cpe-98-155-168-227.hawaii.res.rr.com ([98.155.168.227]:50074 helo=pop-os) by box2035.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1gmbhP-001ALX-9E for emacs-orgmode@gnu.org; Thu, 24 Jan 2019 03:53:27 -0600 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" To: emacs-orgmode@gnu.org 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