branch: externals/denote-org
commit 692dc764adc31a45207d53d5e3285b45aebbcefa
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Add TODO about denote-org--insert-sequence link description
---
 denote-org.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/denote-org.el b/denote-org.el
index 723d1f39a4..aa4ebaef7f 100644
--- a/denote-org.el
+++ b/denote-org.el
@@ -1005,6 +1005,12 @@ With optional FILES operate on them, otherwise use the 
return value of
       (dolist (file files)
         (let* ((sequence (denote-retrieve-filename-signature file))
                (description (denote-get-link-description file))
+               ;; TODO 2025-08-14: The default `denote-link-description-format'
+               ;; includes the signature, which then duplicates the
+               ;; signature in the description.  We should either
+               ;; introduce a user option to change this behaviour
+               ;; here or at least hardcode `denote-link-description-format'
+               ;; to something that is more appropriate.
                (link-title (concat sequence ": " description))
                (link (denote-format-link file link-title 'org nil))
                (depth (- (denote-sequence-depth sequence) root-depth))

Reply via email to