Tor Kringeland <tor.kringel...@ntnu.no> writes:
> Ihor Radchenko <yanta...@gmail.com> writes: > >> Aha. Not saving is an important piece of information. >> (said the person with compulsive saving syndrome) > > Thanks! This fixes the bug (which was present in both Org 9.5 and 9.6) > for me. However, my original bug, which is only present in Org 9.6, is > still there. Do the same thing but set org-log-into-drawer to t. Then > > #+begin_example > * test<POINT> > #+end_example > > > becomes > > #+begin_example > * tes > :LOGBOOK: > - Note taken on [2022-06-21 Tue 12:55] > :END: > t<POINT> > #+end_example > > This bug also only happens if there is no trailing newline in the > buffer. Not sure if this makes any difference wrt your bug, but wanted to point out that your test example block is non-conforming. If you have a line starting with an '*', you have ot proceed it with a comma to escape the meaning of the start. If you use org-edit-special to edit the block contents, the escaping is done for you automatically. Running org-lint is also useful when you think you might have a bug as it will ensure you have a relatively clean and correct input file.