From: Ihor Radchenko <yantar92@posteo.net>
To: Seungki Kim <tttuuu888@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-forward-element for plain list item [9.6.15]
Date: Sun, 11 Aug 2024 16:33:49 +0000 [thread overview]
Message-ID: <87cymfj9xu.fsf@localhost> (raw)
In-Reply-To: <CAKYNWwTnywvm2m5w+L57q03jhd5u7HX5yhycDx=ZJEEvKKkYFw@mail.gmail.com>
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>
prev parent reply other threads:[~2024-08-11 16:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-11 14:22 [BUG] org-forward-element for plain list item [9.6.15] Seungki Kim
2024-08-11 16:33 ` Ihor Radchenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87cymfj9xu.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=tttuuu888@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).