Add TODO about a recursive denote-sequence-reparent

This commit is contained in:
Protesilaos Stavrou 2025-01-14 07:53:25 +02:00
parent a7d0797c82
commit e8d5f68609
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -793,6 +793,10 @@ is that many levels deep. For example, 1=1=2 is three levels deep."
(denote-sequence-dired prefix depth)))))
(user-error "No Denote sequences matching those terms")))
;; TODO 2025-01-14: We need to have an operation that reparents
;; recursively. This can be done inside of the `denote-sequence-reparent',
;; where if it finds that the current file has children, it prompts
;; for a confirmation and then continues to reparent all of them.
;;;###autoload
(defun denote-sequence-reparent (current-file file-with-sequence)
"Re-parent the CURRENT-FILE to be a child of FILE-WITH-SEQUENCE.