[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 6cd886cc52 10/22: Relocate denote-retrieve-filen
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 6cd886cc52 10/22: Relocate denote-retrieve-filename-signature |
Date: |
Mon, 20 Mar 2023 05:57:49 -0400 (EDT) |
branch: externals/denote
commit 6cd886cc529517b2a4802b62ff47714a049923e0
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Relocate denote-retrieve-filename-signature
---
denote.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/denote.el b/denote.el
index da8874b4f2..6c686d99eb 100644
--- a/denote.el
+++ b/denote.el
@@ -1241,12 +1241,6 @@ the function
`denote-retrieve-or-create-file-identifier'."
'denote-retrieve-filename-identifier
"1.0.0")
-(defun denote-retrieve-filename-signature (file)
- "Extract signature from FILE name."
- (when (denote-file-has-signature-p file)
- (string-match denote-signature-regexp file)
- (match-string 1 file)))
-
(defun denote-retrieve-or-create-file-identifier (file &optional date)
"Return FILE identifier, generating one if appropriate.
@@ -1277,6 +1271,12 @@ To only return an existing identifier, refer to the
function
'denote-retrieve-or-create-file-identifier
"1.0.0")
+(defun denote-retrieve-filename-signature (file)
+ "Extract signature from FILE name."
+ (when (denote-file-has-signature-p file)
+ (string-match denote-signature-regexp file)
+ (match-string 1 file)))
+
(defun denote-retrieve-filename-title (file)
"Extract title from FILE name, else return `file-name-base'.
Run `denote-desluggify' on title if the extraction is sucessful."
- [elpa] externals/denote d102506de4 01/22: Add initial support for file name SIGNATURE component, (continued)
- [elpa] externals/denote d102506de4 01/22: Add initial support for file name SIGNATURE component, ELPA Syncer, 2023/03/20
- [elpa] externals/denote 0aff328769 05/22: Mention 'denote-signature' command in 'denote-prompts', ELPA Syncer, 2023/03/20
- [elpa] externals/denote 94cae5173e 07/22: Notify users that 'denote-prompts' changed in development version, ELPA Syncer, 2023/03/20
- [elpa] externals/denote bbcbd66a26 08/22: Do not produce an error in denote-retrieve-filename-signature, ELPA Syncer, 2023/03/20
- [elpa] externals/denote d02915aaf2 19/22: Clarify 'denote-retrieve-filename-signature' doc string, ELPA Syncer, 2023/03/20
- [elpa] externals/denote c77b0f9ad3 18/22: Include 'denote-signature' command in sample configuration, ELPA Syncer, 2023/03/20
- [elpa] externals/denote bb8af7362c 14/22: Document 'denote-prompts' signature in the manual, ELPA Syncer, 2023/03/20
- [elpa] externals/denote 833fa1a210 02/22: Make denote--path use signature only if present, ELPA Syncer, 2023/03/20
- [elpa] externals/denote d73b0429c7 06/22: Add signature to 'denote-prompts' :type, ELPA Syncer, 2023/03/20
- [elpa] externals/denote 84425fc328 11/22: Notify users that 'denote-faces-signature' was added in development version, ELPA Syncer, 2023/03/20
- [elpa] externals/denote 6cd886cc52 10/22: Relocate denote-retrieve-filename-signature,
ELPA Syncer <=
- [elpa] externals/denote 0ea65a07c6 12/22: Refine denote-faces--file-name-regexp for fontification, ELPA Syncer, 2023/03/20
- [elpa] externals/denote 33a59e0c8b 15/22: Document 'denote-signature' helper command, ELPA Syncer, 2023/03/20
- [elpa] externals/denote f6aa81a961 16/22: Update file-naming scheme docs to cover optional signatures, ELPA Syncer, 2023/03/20
- [elpa] externals/denote d7dc32cb42 21/22: Rename development-version to 2.0.0, ELPA Syncer, 2023/03/20
- [elpa] externals/denote ccdee2e549 20/22: Document all SIGNATURE symbols in section for developers, ELPA Syncer, 2023/03/20
- [elpa] externals/denote 9f3047be4a 17/22: Update file-naming scheme features to cover optional signatures, ELPA Syncer, 2023/03/20
- [elpa] externals/denote 62c6853480 22/22: MAJOR UPDATE towards version 2.0.0: Merge branch 'signature', ELPA Syncer, 2023/03/20