[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 6f23a09804 6/9: Add commentary to the 'make-obso
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 6f23a09804 6/9: Add commentary to the 'make-obsolete' of the 'denote-directory-files' variants |
Date: |
Thu, 30 Nov 2023 03:57:58 -0500 (EST) |
branch: externals/denote
commit 6f23a09804905386253f4ac93a7e84d41f7671a3
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Add commentary to the 'make-obsolete' of the 'denote-directory-files'
variants
---
denote.el | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/denote.el b/denote.el
index 2995803410..3236daf807 100644
--- a/denote.el
+++ b/denote.el
@@ -829,9 +829,11 @@ With optional TEXT-ONLY, limit the results to text files
using
(setq files (seq-filter #'denote-file-is-note-p
(denote-directory-files))))
files))
+;; NOTE 2023-11-30: We are declaring `denote-directory-text-only-files'
+;; obsolete, though we keep it around for the foreseeable future. It
+;; WILL BE REMOVED ahead of version 3.0.0 of Denote, whenever that
+;; happens.
(make-obsolete 'denote-directory-text-only-files 'denote-directory-files
"2.2.0")
-(make-obsolete 'denote-all-files 'denote-directory-files "2.2.0")
-(make-obsolete 'denote-directory-files-matching-regexp 'denote-directory-files
"2.2.0")
(defun denote-directory-text-only-files ()
"Return list of text files in variable `denote-directory'.
@@ -921,10 +923,21 @@ something like .org even if the actual file extension is
The path is relative to DIRECTORY (default: ‘default-directory’)."
(file-relative-name (denote-get-path-by-id id) directory))
+;; NOTE 2023-11-30: We are declaring `denote-directory-files-matching-regexp'
+;; obsolete, though we keep it around for the foreseeable future. It
+;; WILL BE REMOVED ahead of version 3.0.0 of Denote, whenever that
+;; happens.
+(make-obsolete 'denote-directory-files-matching-regexp 'denote-directory-files
"2.2.0")
+
(defun denote-directory-files-matching-regexp (regexp)
"Return list of files matching REGEXP in `denote-directory-files'."
(denote-directory-files regexp))
+;; NOTE 2023-11-30: We are declaring `denote-all-files' obsolete,
+;; though we keep it around for the foreseeable future. It WILL BE
+;; REMOVED ahead of version 3.0.0 of Denote, whenever that happens.
+(make-obsolete 'denote-all-files 'denote-directory-files "2.2.0")
+
(defun denote-all-files (&optional omit-current)
"Return the list of Denote files in variable `denote-directory'.
With optional OMIT-CURRENT, do not include the current Denote
- [elpa] externals/denote updated (97f34bdc0c -> 2fadb5e7ea), ELPA Syncer, 2023/11/30
- [elpa] externals/denote f9a97d647b 2/9: Merge branch 'denote-directory-files' of https://github.com/jeanphilippegg/denote into jeanphilippegg-denote-directory-files, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 6f23a09804 6/9: Add commentary to the 'make-obsolete' of the 'denote-directory-files' variants,
ELPA Syncer <=
- [elpa] externals/denote b6235ff099 4/9: Tweak manual's entry about 'denote-directory-files', ELPA Syncer, 2023/11/30
- [elpa] externals/denote 2fadb5e7ea 9/9: Make denote-org-dblock-add-files use new denote-directory-files, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 57c177696e 1/9: Refactor denote-directory-files and deprecate functions, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 02647460cd 8/9: Merge branch 'new-denote-directory-files', ELPA Syncer, 2023/11/30
- [elpa] externals/denote f0711a2bc3 7/9: Tweak 'denote-directory-files' doc string, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 47bda788b0 5/9: Ensure double spacing for three docstring sentences, ELPA Syncer, 2023/11/30
- [elpa] externals/denote b4446f39a9 3/9: Use the new 'denote-directory-files' in denote-sort.el, ELPA Syncer, 2023/11/30