]> git.earman.xyz Git - emacsinit.git/commitdiff
Use timestamp ids for org links and attach
authorrearman <rearman@r717.net>
Mon, 19 May 2025 21:10:24 +0000 (17:10 -0400)
committerrearman <rearman@r717.net>
Mon, 19 May 2025 21:10:24 +0000 (17:10 -0400)
re/re-org.el

index a8bdf0f95219d1476b1f0a69d05f02f7235114e0..80fde78155bc1f01ed7f8b7e26cf3f18206205c1 100644 (file)
                               (file+olp+datetree org-journal-file)
                               "* %?\n%U\n")))
 
-(setq org-id-link-to-org-use-id 'create-if-interactive-and-no-custom-id)
+(setq org-id-link-to-org-use-id 'create-if-interactive-and-no-custom-id
+      org-id-method 'ts
+      org-attach-id-to-path-function-list '(org-attach-id-ts-folder-format
+                                           org-attach-id-uuid-folder-format))
 
 (setq org-src-window-setup 'current-window
       org-src-preserve-indentation t