You can either:
Ask for a note when you mark an item DONE, which is the simplest option:
(setq org-log-done 'note)
check the appropiate hook to track the desired state change, catch the condition you want, and execute what you want. It could be, for example, using org-after-todo-state-change-hook.
Also, take a look to the manual.
[Not quite an answer, but too long for a comment - plus I can use code blocks to illustrate the problem and a suggested patch to Org mode for it.]
It's not clear (to me at least) what Org mode should be doing differently: it does not produce the extra spaces in LaTeX or HTML output, and it does not produce any extra spaces in the XML file that it produces ...
Here's some code to do the sorting - it assumes the corrected version of your example, that you are using inactive timestamps for the values of the EVENT_CREATED property for each header and that every top-level node contains an EVENT_CREATED property:
(defun ndk/get-key ()
(org-time-string-to-seconds (substring (org-entry-get (point) "EVENT_CREATED&...
There is nothing like that: Org babel evaluates the source block by storing all the commands in a temp file, runs the file using the appropriate language interpreter, collects the output, does minor munging to it and writes it out as the results block. What you are asking for (a header argument that modifies this work flow) is fundamentally incompatible with ...
You are quoting the value of org-publish-project-alist, i.e. you are telling it that the value is
(quote ("prometheus" ...))
which causes the confusion you are seeing. You don't want to quote it but you need to fix the structure, since org-publish-project-alist is an alist, i.e. a list of dotted pairs:
((org-mode . (
You can set the variable org-clock-clocked-in-display. The docstring reads:
When clocked in for a task, Org can display the current
task and accumulated time in the mode line and/or frame title.
Allowed values are:
both displays in both mode line and frame title
mode-line displays only in mode line (default)
frame-title displays ...
I happened on this old thread as I was trying to figure out the same headache myself, and I thought it worthwhile to share my solution. You can modify the info link handling in a few ways. One method I like is advising the function, but that's not really necessary here. Org-mode (probably like many Emacs components and plugins) is easy enough to extend and ...