[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote b72257ad7d 28/44: Make denote-sequence--pad thro
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote b72257ad7d 28/44: Make denote-sequence--pad throw an error if the type is unknown |
Date: |
Wed, 1 Jan 2025 03:57:49 -0500 (EST) |
branch: externals/denote
commit b72257ad7d0c036b62871528f1a9dfe3a2de49e5
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Make denote-sequence--pad throw an error if the type is unknown
I thought about the scenario of generating a descendant, but it does
not seem to make sense workflow-wise. The user should be more
specific, such as to create the child of a sequence.
---
denote-sequence.el | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/denote-sequence.el b/denote-sequence.el
index d3ce74105d..e4338b50a4 100644
--- a/denote-sequence.el
+++ b/denote-sequence.el
@@ -128,10 +128,7 @@ TYPE is a symbol among `denote-sequence-types'."
('parent (car split))
('sibling split)
('child (car (nreverse split)))
- ;; FIXME 2024-12-30: This is the last descendant. Do
- ;; we define a new `descendant' type or do we error
- ;; here?
- (_ (butlast split)))
+ (_ (error "The type `%s' is not among
`denote-sequence-types'" type)))
sequence)))
(if (listp s)
(combine-and-quote-strings
- [elpa] externals/denote d44d3271fc 11/44: Add missing require for 'denote' in denote-sequence.el, (continued)
- [elpa] externals/denote d44d3271fc 11/44: Add missing require for 'denote' in denote-sequence.el, ELPA Syncer, 2025/01/01
- [elpa] externals/denote 50bace231e 36/44: Define denote-sequence-link command, ELPA Syncer, 2025/01/01
- [elpa] externals/denote d9d2f2767f 19/44: Merge branch 'sequence-notes-extension' of github.com:protesilaos/denote into sequence-notes-extension, ELPA Syncer, 2025/01/01
- [elpa] externals/denote 8000e2e01b 21/44: Fix (?) all remaining issues with denote-sequence--get-new-child, ELPA Syncer, 2025/01/01
- [elpa] externals/denote 90372d9627 38/44: Update copyright years in a few places, ELPA Syncer, 2025/01/01
- [elpa] externals/denote f293ee60df 44/44: Define denote-sequence-dired command and its helpers, ELPA Syncer, 2025/01/01
- [elpa] externals/denote 36cb4234dd 15/44: Change where 'denote-sequence' does the signature extraction, ELPA Syncer, 2025/01/01
- [elpa] externals/denote 61f5712095 31/44: Capitalise "Denote" in the defgroup of denote-sequence, ELPA Syncer, 2025/01/01
- [elpa] externals/denote 23892d55f6 16/44: Define denote-sequence-split function, ELPA Syncer, 2025/01/01
- [elpa] externals/denote 7299ed9bc0 43/44: Define denote-sequence-get-all-files-with-max-depth, ELPA Syncer, 2025/01/01
- [elpa] externals/denote b72257ad7d 28/44: Make denote-sequence--pad throw an error if the type is unknown,
ELPA Syncer <=
- [elpa] externals/denote bb357f03bb 18/44: Make denote-sequence--get-new-child more robust, ELPA Syncer, 2025/01/01
- [elpa] externals/denote cdba50e984 33/44: Rewrite the doc string of denote-sequence-new-parent and let it work from Lisp, ELPA Syncer, 2025/01/01
- [elpa] externals/denote 35fc16ec30 17/44: Define denote-sequence-depth function, ELPA Syncer, 2025/01/01
- [elpa] externals/denote 6fe68be094 30/44: Fix denote-sequence-file-prompt indentation, ELPA Syncer, 2025/01/01
- [elpa] externals/denote c72e535a04 09/44: Make denote-sequence--get-new-parent work if there are no sequences, ELPA Syncer, 2025/01/01
- [elpa] externals/denote c5438dfdb3 10/44: Make denote-sequence-file-prompt err if there are no sequence notes, ELPA Syncer, 2025/01/01
- [elpa] externals/denote 265b0401a0 14/44: Add TODO for a possible cl-letf in 'denote-sequence', ELPA Syncer, 2025/01/01
- [elpa] externals/denote cd772dad09 27/44: Add TODO for possibly sharing state between some tests, ELPA Syncer, 2025/01/01
- [elpa] externals/denote 2eded970e9 35/44: Rewrite denote-sequence-new-child doc string, ELPA Syncer, 2025/01/01
- [elpa] externals/denote 6c5858c72b 12/44: Reword denote-sequence doc sentence to not exceed 80 characters, ELPA Syncer, 2025/01/01