org-mode-ox-odt
org-mode-ox-odt copied to clipboard
"Lisp nesting exceeds ‘max-lisp-eval-depth’" exceeded, when using List Tables
"Lisp nesting exceeds ‘max-lisp-eval-depth’" exceeded, when using cookies with List Tables
#+ATTR_ODT: :list-table t
- | <l8> | <4> |
-
- Row 2
- Row 2.1
The call stack is
org-odt-paragraph
org-export-data
org-export-data
org-export-table-cell-alignment
org-odt-table-cell--get-paragraph-styles
org-odt-paragraph
org-export-data
This is a bug in ox.el
.
org-export-table-cell-alignment
uses org-export-data
to infer cookies of some columns. I think, it should use other mechanisms like org-element-interpret-data
(may be). If you run in to this issue, report this to https://lists.gnu.org/archive/html/emacs-orgmode/.
You can workaround this issue by explicitly specifying alignment cookies for all columns. For example, the following snippets exports fine.
#+ATTR_ODT: :list-table t
- | <l8> | <r4> |
-
- Row 2
- Row 2.1
There is problems with org-element-interpret-data, for example
| @@html:text 1.2 |
doesn't express a number with `org-element-interpret-data', although it is a number when exporting, i.e., to LaTeX.
Thanks for initiating the following discussions:
- https://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00300.html
- https://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00299.html
I had an opportunity to re-assess the attitudes of the people on the list and I sense that their attitudes haven't changed.
Those who point to The LWN article (dtd March 19, 2013) , should pay particular attention to my GNU Emacs - Assignment (RT974555), specifically the date on FSF record, which is Apr. 2015. Orgmode developers need to acknowledge that their objections to accepting my contributions based on (a lack of) assignment doesn't have any basis.
In my own defense, allow me to note that I have tried everything that is possible to win over the trust of Emacs and Orgmode developers. For example, I snail mailed my signed papers twice to FSF, once on Feb 19, 2015 and subsequently on Mar 13, 2015 and these communications are acknowledged by FSF in the above file.
Nicolas, in this communication, asks
Does this issue happen with "ox-odt.el" bundled with Org? If so, could you provide an ECM?
This is a hint that he wouldn't be willing to address issues specific to forks that are outside of the mainline.
That said ...
Did you ever encounter a scenario where you wanted alignment cookies on list tables, but were unable to do it, because of this bug. If yes, I am willing to add the necessary changes to my branch, and we wouldn't have the additional burden of winning over the Orgmode developers in to fixing ox.el.
@kjambunathan I am fine with your workaround. It is understandable that people don't care about the feature that doesn't matter to them. I wish this exporter is as important to you as it is to me, so it will always get updated. :-)
@kjambunathan I am fine with your workaround.
Ok.
I wish this exporter is as important to you as it is to me, so it will always get updated. :-)
This exporter will continue to get updated and I will respond promptly to all bugs and feature requests.