[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote-sequence 0662083388 10/14: Add condition to deno
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote-sequence 0662083388 10/14: Add condition to denote-sequence-and-scheme-p to disambiguate number-only sequence |
Date: |
Fri, 14 Mar 2025 04:01:09 -0400 (EDT) |
branch: externals/denote-sequence
commit 0662083388035fad1f4b04a911924fded55e1592
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Add condition to denote-sequence-and-scheme-p to disambiguate number-only
sequence
---
denote-sequence.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/denote-sequence.el b/denote-sequence.el
index 3afab1093d..481a7543b4 100644
--- a/denote-sequence.el
+++ b/denote-sequence.el
@@ -143,6 +143,10 @@ of numbers or letters.
Produce an error if the sequencing scheme cannot be established."
(cond
+ ((and (not partial)
+ (not (string-match-p "[[:alpha:]]" sequence))
+ (eq denote-sequence-scheme 'numeric))
+ (cons sequence 'numeric))
((or (and partial (denote-sequence--alphanumeric-partial-p sequence))
(denote-sequence-alphanumeric-p sequence))
(cons sequence 'alphanumeric))
- [elpa] branch externals/denote-sequence created (now bb0347b821), ELPA Syncer, 2025/03/14
- [elpa] externals/denote-sequence ac0e3095fa 01/14: WORK-IN-PROGRESS Move denote-sequence.el into its own Git repository, ELPA Syncer, 2025/03/14
- [elpa] externals/denote-sequence 0105a3d9ad 07/14: Remove WIP notice from the manual as all links work now, ELPA Syncer, 2025/03/14
- [elpa] externals/denote-sequence d97ba888b4 05/14: Include a README.md file fot Git forges, ELPA Syncer, 2025/03/14
- [elpa] externals/denote-sequence d883957cb3 09/14: Merge branch 'main' of github.com:protesilaos/denote-sequence, ELPA Syncer, 2025/03/14
- [elpa] externals/denote-sequence 2dd7a6d7c6 04/14: Add a brief explanation of what the denote-sequence is about, ELPA Syncer, 2025/03/14
- [elpa] externals/denote-sequence d166c4342e 06/14: Fix markup in the README.md, ELPA Syncer, 2025/03/14
- [elpa] externals/denote-sequence 0662083388 10/14: Add condition to denote-sequence-and-scheme-p to disambiguate number-only sequence,
ELPA Syncer <=
- [elpa] externals/denote-sequence bb0347b821 14/14: Add .elpaignore file for GNU ELPA, ELPA Syncer, 2025/03/14
- [elpa] externals/denote-sequence 266f754e6e 03/14: Add warning that the package does not exist yet, ELPA Syncer, 2025/03/14
- [elpa] externals/denote-sequence 576a3e2713 02/14: Clean up the manual for it to export properly, ELPA Syncer, 2025/03/14
- [elpa] externals/denote-sequence cad20c6e60 13/14: Fix typo in denote-sequence--infer-child doc string, ELPA Syncer, 2025/03/14
- [elpa] externals/denote-sequence 786bc66f0c 11/14: Rename denote-sequence--get-parent to denote-sequence--infer-parent, ELPA Syncer, 2025/03/14
- [elpa] externals/denote-sequence 0c99c653d9 08/14: Use the correct texinfo_dir_title, ELPA Syncer, 2025/03/14
- [elpa] externals/denote-sequence a96f08be94 12/14: Add denote-sequence--infer-child function, ELPA Syncer, 2025/03/14