Hi ,

I am writing to report a behavior in org-forward-element that I suspect may
be a bug.

When the content of an org file is as follows:

* TestA
- test1
- test2
- test3
- test4
* TestB

If the cursor is at the beginning of the line (at '-') of the items test2,
test3, or test4, org-forward-element works as expected, moving to the next
item.
However, when the cursor is at the beginning of the line of the test1 item,
executing org-forward-element moves the cursor to TestB instead of test2.
The command works correctly when the cursor is in the middle of the line
rather than at the beginning.

Is there something I might be missing?

My Emacs and Org versions are as below:
Emacs  : GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.42, cairo version 1.18.0)
Package: Org mode version 9.6.15 (release_9.6.15 @
/usr/share/emacs/29.4/lisp/org/)

Thank you.

Best regards,
Seungki Kim

Reply via email to