-
-
Notifications
You must be signed in to change notification settings - Fork 486
Closed as not planned
Labels
Description
Description
if there is time stamp right under headline, org-roam-promote-entire-buffe
will results in this time stamp at the first line, which results in org-roam loss this node, as it seems to me org-roam constrains that for a file node, the property drawer must be at the first line (BTW, does this a good idea?)
You may wander why set a timestamp right after headline, in my case if you change TODO status the time stamp will insert right after headline.
Steps to Reproduce
it is easy to reproduce:
- a simple foo node, with time stamp(generated by change todo status)
* DONE foo
CLOSED: [2022-07-26 二 01:52]
:PROPERTIES:
:ID: 7b09a745-6b34-4b6d-83a2-77372e079e10
:END:
:LOGBOOK:
- State "DONE" from "TODO" [2022-07-26 二 01:52]
:END:
- run
org-roam-extract-subtree
, which will output a file with following content:
CLOSED: [2022-07-26 二 01:52]
:PROPERTIES:
:ID: 7b09a745-6b34-4b6d-83a2-77372e079e10
:END:
#+title: foo
:LOGBOOK:
- State "DONE" from "TODO" [2022-07-26 二 01:52]
:END:
as you can see there is a timestamp at top line, in that case org-roam can not find this node
Expected Results
There are two options:
- the output should be
:PROPERTIES:
:ID: 7b09a745-6b34-4b6d-83a2-77372e079e10
:END:
#+title: foo
CLOSED: [2022-07-26 二 01:52]
:LOGBOOK:
- State "DONE" from "TODO" [2022-07-26 二 01:52]
:END:
- losse the constrain that property must at top line