ok so i have this so far

(defun zxx  ()
  "duplicate and change id of org header"
(interactive)
(org-copy-subtree)
(org-end-of-line)
(newline)
;(org-yank)
(org-paste-subtree)
(org-forward-heading-same-level 1)
(let ((current-prefix-arg '(4)))
(call-interactively #'org-id-get-create))
)


yet it seems very bloated since i cant code ;-) and dosent work as it
dosent really creates a new org-id. any tips?

best

Z


On Wed, Aug 3, 2016 at 7:17 AM, Xebar Saram <zelt...@gmail.com> wrote:

> 1. copy current header and contents (org-copy-subtree) at point
> 2. auto paste it below current header
> 3. change ID
>

Reply via email to