ITADN

Feature request: refile while leaving a link behind

#165Openmediapathic 创建于 2026-02-15
M
mediapathiccommented
I have a situation a lot where I write something in my org-journal files, decide it deserves to be in a file on its own, but I want to keep a link to it in my journal so I have a record of when the ideas occurred, and when I work with them later. I start with ``` * 2026-02-13 Fri ** [2026-02-13 Fri 11:04]Cool idea :PROPERTIES: :ID: 20260215T020009.212025 :END: This is worth its own file! ** [2026-02-13 Fri 18:21]took nap, ate oatmeal ** [2026-02-13 Fri 18:06] tool contemplation ``` And what I end up with is: ``` * 2026-02-13 Fri ** [2026-02-13 Fri 11:04]Cool idea [[cool idea][link to file]] ** [2026-02-13 Fri 18:21]took nap, ate oatmeal ** [2026-02-13 Fri 18:06] tool contemplation ``` This process is annoyingly manual. Right now I basically have to duplicate the header in order to preserve the time stamp and its position in the file, before using org-node-refile to promote it, and then deleting the duplicate. It seems to me that maybe org-node-refile might have a variant that leaves a link behind at the original location? I'd also be fine if it ended up like ``` * 2026-02-13 Fri ** [2026-02-13 Fri 11:04] [[cool idea][link to file]] ** [2026-02-13 Fri 18:21]took nap, ate oatmeal ** [2026-02-13 Fri 18:06] tool contemplation ``` If that winds up being easier. Thanks!
4 条评论