Robert Klein <[email protected]> writes: > Hi Ihor, > > I start Emacs this way: > > emacs -Q -l .uemacs testfile.org > > In the Emacs window I move the cursor to the #+Call: line and press C-c > C-c. > > Then the error happens. > > I just ran this with the following versions of Emacs and Org:
Confirmed. In my initial reproduction attempt, I added :var table=mytable to the block itself, which made the bug disappear. The underlying cause is that (after 7c05d44dfda86cfe5a2c512b4af9fe6c4d2d753b) `org-babel-process-params' is applied twice. However, it only applied :colnames and :rownames handling the very first time and behaves as :colnames no for all subsequent invocations. Applying `org-babel-process-params' multiple times is by itself not a bug. `org-babel-process-params' should be fixed to handle part of the variables already passed through `org-babel-disassemble-tables' and some not yet passed. We should also handle the case when :colnames/:rownames value is changed between the calls. To do it, both disassembled and original values of the variables should be retained and the processing should roll back the original values if deemed necessary. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
