Hi,

I believe I have encountered a bug with `org-element-interpret-data`.
Below is a simple case that demonstrates the misbehavior I observe.

Given an org buffer will just the following plain list:
+ foo
  1) bar
when I call `(org-element-interpret-data (org-element-parse-buffer))`, I
expect the returned string to be identical to the contents of the
buffer, since to my understanding `org-element-interpret-data` is the
reciprocal of `org-element-parse-buffer`.

Instead, the returned string is this:
- foo
  1. bar
As is seen, the bullet points in the plain list are changed. It seems
that all non-numbered bullet points are set to the "-" bullet point and
all numbered bullet points are changed to "1."-style bullet points. This
is true regardless of how large and how many levels the plain list is.

--
Kind regards,
Kristoffer

Emacs  : GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.43, cairo version 1.18.4)
Package: Org mode version 9.8-pre (9.8-pre-n/a-gc356e1
 @ /home/krisbalintona/.emacs.d/var/elpaca/builds-31.0.50/org/)

Reply via email to