Samuel Banya <sba...@fastmail.com> writes:

> Unable to reproduce this bug with 'emacs -Q -L ./lisp -l org' on the
> latest version of Org Mode

Hmm ... this occurs to me both in Org 9.5 and in the latest Org version
on Emacs 29.  The error message I get says

  Before first headline at position 1 in buffer test.org

However if there is a heading above the one I try to insert the note for
(and the current heading is at the last line in the buffer, with no
newline at the end), I do not get an error message, but the same bug
occurs.

FWIW I get the same error message if I try to insert a note in an Org
buffer without headings.  Maybe the heading isn't properly registered
when it is at the last line in the buffer (again without a newline at
the end)?

Reply via email to