@@ 3140,6 3140,13 @@ treats the active region specially, is up to it."
(defalias 'denote-insert-link 'denote-link
"Alias for `denote-link' command.")
+;; NOTE 2023-12-05 04:16 +0200: This is a candidate for a user option,
+;; subject to feedback. I think the signature should be better
+;; disambiguated in this context, although the double space is a good
+;; start.
+(defvar denote--link-signature-format "%s %s"
+ "Format of link description for `denote-link-with-signature'.")
+
(defun denote--link-get-description-with-signature (file file-type)
"Return `denote-link-with-signature' description.
Retrieve the title and signature from FILE with FILE-TYPE. If
@@ 3152,11 3159,7 @@ Also see `denote--link-get-description'."
(text (denote--link-get-description file file-type))
(specifiers (if (and text
(not (string-empty-p text)))
- ;; NOTE 2023-12-02: I want to elicit more
- ;; feedback before I make this a variable.
- ;; How do users of signatures prefer to
- ;; display them in link descriptions?
- "%s %s"
+ denote--link-signature-format
"%s")))
(format specifiers signature text)))