[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] org-forward-element for plain list item [9.6.15]
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] org-forward-element for plain list item [9.6.15] |
Date: |
Sun, 11 Aug 2024 16:33:49 +0000 |
Seungki Kim <tttuuu888@gmail.com> writes:
> 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?
There are two elements at the beginning of "- test1" line:
1. plain list :: all the "testX" entries
2. list item :: just "- test1"
Org mode selects the outermost element in this scenario - the full plain
list, - and moves to the element following the list, which is your "*
TestB" heading.
Not a bug.
Canceled.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>