[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] A call of (org-end-of-meta-data t) goes too far in a heading w
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] A call of (org-end-of-meta-data t) goes too far in a heading with only whitespace |
Date: |
Sat, 12 Oct 2024 11:45:14 +0000 |
Benjamin McMillan <mcmillanbb@gmail.com> writes:
> Specifically, a call to (org-end-of-meta-data t) with point at the > on the
> following tree will go all the way to the next heading.
> In contrast, a call to just (org-end-of-meta-data), without the FULL flag,
> will go to the beginning of heading content, as expected.
> * >heading
>
>
> * another heading
This is intentional.
We have a test:
;; With option argument, skip empty lines, regular drawers and
;; clocking lines.
(should
(org-test-with-temp-text "* Headline\n\nContents"
(org-end-of-meta-data t)
(looking-at "Contents")))
May you please elaborate why you consider the current behavior to be a bug?
--
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>
- [BUG] A call of (org-end-of-meta-data t) goes too far in a heading with only whitespace, Benjamin McMillan, 2024/10/05
- Re: [BUG] A call of (org-end-of-meta-data t) goes too far in a heading with only whitespace,
Ihor Radchenko <=
- Re: [BUG] A call of (org-end-of-meta-data t) goes too far in a heading with only whitespace, Benjamin McMillan, 2024/10/17
- Re: [BUG] A call of (org-end-of-meta-data t) goes too far in a heading with only whitespace, Ihor Radchenko, 2024/10/17
- Re: [BUG] A call of (org-end-of-meta-data t) goes too far in a heading with only whitespace, Benjamin McMillan, 2024/10/20
- Re: [BUG] A call of (org-end-of-meta-data t) goes too far in a heading with only whitespace, Ihor Radchenko, 2024/10/20
- Re: [BUG] A call of (org-end-of-meta-data t) goes too far in a heading with only whitespace, Benjamin McMillan, 2024/10/22
- Re: [BUG] A call of (org-end-of-meta-data t) goes too far in a heading with only whitespace, Ihor Radchenko, 2024/10/22