Re: Document-level properties incorrect and/or missing based on preceding blank lines and/or comments

2023-10-12 Thread Ihor Radchenko
"Tom Alexander" writes: > ### Issue 1 > > Putting a comment before it makes the value for the foo property incorrect > (seems to be grabbing an earlier string slice): > > ### Issue 2 > > Putting any blank lines before it makes the foo property not appear in > org-data at all > ``` > >

Document-level properties incorrect and/or missing based on preceding blank lines and/or comments

2023-10-11 Thread Tom Alexander
Emacs version: Emacs 29.1 Org-mode version: e1569918cc94253650781e83a09695739c93352f (latest in git) The org-mode syntax document[1] says that property drawers can exist in the zeroth section with the format: ``` BEGINNING-OF-FILE BLANK-LINES COMMENT PROPERTYDRAWER ``` Using this test