Thorsten Jolitz <[email protected]> writes:
> Nicolas Goaziou <[email protected]> writes:
[...]
>> You should not provide 'on, 'off or 'trans, and even less strings, but
>> on, off or trans since your expression is already quoted.
One more question: bullet strings are parsed 'as-is', but the
interpreter seems to have its own logic that is a bit difficult to grok
(or are there syntax errors too?):
#+BEGIN_SRC emacs-lisp
(org-element-interpret-data
'(item (:bullet "-" :tag "hello " :checkbox trans :counter 2)
(paragraph nil "world")))
#+END_SRC
#+results:
: - [@2] [-] hello :: world
#+BEGIN_SRC emacs-lisp
(org-element-interpret-data
'(item (:bullet "+" :tag "hello " :checkbox trans :counter 2)
(paragraph nil "world")))
#+END_SRC
#+results:
: - [@2] [-] hello :: world
#+BEGIN_SRC emacs-lisp
(setq org-list-allow-alphabetical t)
(when (featurep 'org-element) (load "org-element" t t))
(org-element-interpret-data
'(item (:bullet "a" :tag "hello " :checkbox trans :counter 2)
(paragraph nil "world")))
#+END_SRC
#+results:
: 1. [@2] [-] hello :: world
--
cheers,
Thorsten