My understanding is that org-end-of-meta-data should put point at the
start of the 'real' contents of a heading. Meaning the first point where
I might start making notes under a heading.
This expectation
isn't matched in the example I give (which is different from the
mentioned test). In my example, there is a heading, then several blank
lines, then another heading at the same level as the first. A call to
(end-of-meta-data t) goes all the way to the second heading, which
surely should not count as contents of the first heading. For me,
expected behavior is somewhere inside the contents of the heading.
I presume the test is to capture desired behavior when org-blank-before-new-entry is true?
If
that's correct, then when org-blank-before-new-entry is true, maybe a
call of (end-of-meta-data t) should skip to two lines after the metadata
(possibly adding lines if necessary?)
In contrast, I disable
org-blank-before-new-entry, and want point to go literally to the end of
meta data, even if I have some blanks before existing contents.
I
apologize if this seems nitpicky, but the structured nature of an org
document allows for extremely accurate motion commands, and use of
end-of-meta-data is an important part of that.
(And apologies Ihor for resending this to you, I managed to not click reply-all the first time around.)