Hi,

I've noticed after upgrading to the latest Org version (9.6.30), when the 
LOGBOOK drawer is automatically generated during a TODO state change it inserts 
a blank line after the end of the drawer. This did not occur on the Org version 
I was using previously (9.5.5).

I'm not sure if this is an intended change or a bug. If it is intended, would 
there be a way to disable that behaviour (org-blank-before-new-entry does not 
seem to apply here)?

To clarify, given the following sample org file:
====================
-*- mode: org; org-log-into-drawer: t -*-

#+SEQ_TODO: TODO(t!) | DONE(d!)

* With Org 9.5.5
** Example project
*** Action 1
*** Action 2

* With Org 9.6.30
** Example project
*** Action 1
*** Action 2
====================

I get the following results when toggling the TODO state on the "Example 
project" heading with org-todo:
====================
* With Org 9.5.5
** TODO Example project
:LOGBOOK:
- State "TODO"       from              [2024-05-14 Tue 12:24]
:END:
*** Action 1
*** Action 2

* With Org 9.6.30
** TODO Example project
:LOGBOOK:
- State "TODO"       from              [2024-05-14 Tue 12:38]
:END:

*** Action 1
*** Action 2
====================

I'm currently reviewing the org source to try and see where the new line is 
coming from in the process flow, but I'm a bit of a novice in regards to elisp, 
so I haven't figured that out yet.

I also tried searching the mailing list archive, but didn't see anything 
related.

Thanks,
Kris

Reply via email to