Subject: bug#37890: 27.0.50; Org-mode: org-capture and final newline

From: Michael Heerdegen <[email-masked]>
Date: Wed, 30 Oct 2019 18:49:37 +0100

Michael Heerdegen <[email-masked]> writes:

> ** APPT Abc
>    <2019-10-23 Mi>
> text... ** APPT 8:30 Important Appointment

Note that this can also happen if you just paste something info the last
line of the capture buffer.  Bad.

Another way to damage your notes file: kill the capture buffer.  If you
realize that you should have hit C-c C-k instead, it's too late: you
have to revert the partial addition to the notes org file manually.

Killing the buffer should clean up automatically instead (using
`kill-buffer-hook' presumably).

Thanks,

Michael.