On 27/02/2021 07:52, Samuel Wales wrote:
i have org-yank-adjusted-subtrees t
* org-yank is funny
*** kill this line (with newline) then try yanking at ^ places (remove
the ^ first)
the fault lies in the stars
insertion above and arbitrary demotion
*** x
asdfnaksdj fnkadsn fkjans df
^a^sdkfjnaksdfn kajsndfk ajdnsf
askdjfkasjdn fkajfdns
*^*^* y
*** [[https://go^ogle.com]]
from [[help:org-yank]]
If it passes the test, and if the
cursor is at the beginning of a line or after the stars of a currently
empty headline, then the yank is handled specially. How exactly depends
on the value of the following variables.
In my opinion, your "^" marks do not satisfy the specified criteria.
Personally I use [[help:org-paste-subtree]] C-c C-x C-y directly. It has
a minor issue however. First time after emacs start it refuses to yank
subtree from X clipboard (prepared externally). Regular paste with undo
C-y C-/ is enough to convince the function that there is a subtree in
the clipboard. Next time it works without such dance.