Nicolas Goaziou <m...@nicolasgoaziou.fr> writes:
> I'm not sure to understand your report, but `org-element-at-point'
> should return a `table' element at the very beginning of a table (here
> at the beginning of the first row), not a `table-row'.

Sorry, I was probably not very clear. The test does the following:

1. Create initial file like:

#+begin_center
P0



  P1
  | a | b |
<point>| c | d |
#+end_center

Note that second line of the table is not indented.
Now, org-element-at-point returns table-row.

2. Modify the file to test org-element-cache

#+begin_center
P0

- item

  P1
  | a | b |
<point>| c | d |
#+end_center

Now, the first (indented) row of the table belongs to item.  The second
row becomes individual table and org-element-at-point returns table.

The patch asserted that org-element-at-point still returned a table row.

Best,
Ihor

Reply via email to