emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* LOGBOOK drawer now being created with blank line afterwards
@ 2024-05-14 20:56 Kris Nelson
  2024-05-15  8:38 ` Rens Oliemans
  2024-05-17 11:22 ` Ihor Radchenko
  0 siblings, 2 replies; 7+ messages in thread
From: Kris Nelson @ 2024-05-14 20:56 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-05-19 11:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-14 20:56 LOGBOOK drawer now being created with blank line afterwards Kris Nelson
2024-05-15  8:38 ` Rens Oliemans
2024-05-16  7:48   ` Kris Nelson
2024-05-16  7:53     ` Ihor Radchenko
2024-05-17 11:22 ` Ihor Radchenko
2024-05-18 18:44   ` Kris Nelson
2024-05-19 11:48     ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).