[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote af2f2c0831 7/8: Clarify doc string of 'denote-de
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/denote af2f2c0831 7/8: Clarify doc string of 'denote-desluggify'; add TODO for more |
|
Date: |
Mon, 22 May 2023 15:58:00 -0400 (EDT) |
branch: externals/denote
commit af2f2c083167d8ac8cf36276d5db1d15158a8769
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Clarify doc string of 'denote-desluggify'; add TODO for more
---
denote.el | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/denote.el b/denote.el
index 6b1def15f1..404867d8f1 100644
--- a/denote.el
+++ b/denote.el
@@ -607,8 +607,14 @@ any leading and trailing signs."
'denote-sluggify-keywords
"1.0.0")
+;; TODO 2023-05-22: Review name of `denote-desluggify' to signify what
+;; the doc string warns about.
(defun denote-desluggify (str)
- "Upcase first char in STR and dehyphenate STR, inverting `denote-sluggify'."
+ "Upcase first char in STR and dehyphenate STR, inverting `denote-sluggify'.
+The intent of this function is to be used on individual strings,
+such as the TITLE component of a Denote file name, but not on the
+entire file name. Put differently, it does not work with
+signatures and keywords."
(let ((str (replace-regexp-in-string "-" " " str)))
(aset str 0 (upcase (aref str 0)))
str))
- [elpa] externals/denote updated (4b3ba57386 -> 73dfc1f1bc), ELPA Syncer, 2023/05/22
- [elpa] externals/denote 6837f8df06 1/8: Make the creation of 'denote-directory' its own function, ELPA Syncer, 2023/05/22
- [elpa] externals/denote b054600d84 2/8: BREAKING: change default value of 'denote-allow-multi-word-keywords', ELPA Syncer, 2023/05/22
- [elpa] externals/denote 5dc40e40e4 5/8: Fix typo in doc string, ELPA Syncer, 2023/05/22
- [elpa] externals/denote 583e567f65 4/8: Throw an error if denote-sluggify-keywords does not get a list of strings, ELPA Syncer, 2023/05/22
- [elpa] externals/denote 6f99ba8ab5 6/8: Revise docs of two deprecations to mention current development release version, ELPA Syncer, 2023/05/22
- [elpa] externals/denote 2c377d4af8 3/8: Clarify 'denote--slug-no-punct' doc string, ELPA Syncer, 2023/05/22
- [elpa] externals/denote af2f2c0831 7/8: Clarify doc string of 'denote-desluggify'; add TODO for more,
ELPA Syncer <=
- [elpa] externals/denote 73dfc1f1bc 8/8: Write some unit tests (WORK-IN-PROGRESS), ELPA Syncer, 2023/05/22