Protesilaos
97ffb56320
Use "Protesilaos" instead of "Protesilaos Stavrou"
...
As I announced here: <https://protesilaos.com/news/2026-04-21-omitting-the-surname/ >.
2026-04-24 13:26:01 +03:00
Protesilaos
231d7d64e8
Write a test for denote-file-type
2026-04-23 21:02:08 +03:00
gnuhack
63c052e1ac
Fix typo
2026-04-09 00:09:56 +02:00
Protesilaos Stavrou
3e8c2c835d
Make stylistic changes and minor refinements to the query include/exclude commands
2026-04-06 22:57:54 +03:00
Protesilaos Stavrou
2dae5773f2
Rewrite the tests in the interest of clarity and expand them where necessary
2026-04-06 21:58:02 +03:00
Protesilaos Stavrou
9d5711ea50
Update copyright years in denote-test.el
2026-04-06 20:01:49 +03:00
Protesilaos Stavrou
9f5a16f625
Tweak how denote--get-common-root-directory checks absolute paths to also work on Windows
...
I do not have a Windows machine to test this, though it seems
reasonable. I am doing this in response to issue 682 by Pratik-Mishra-497:
<https://github.com/protesilaos/denote/issues/682 >.
2026-02-23 17:50:39 +02:00
Protesilaos Stavrou
d90f3633de
Rewrite denote--get-common-root-directory and include a test for it
2026-01-14 09:19:34 +02:00
Jean-Philippe Gagné Guay
a4d50fbf71
Make identifier and date independent
2025-06-12 23:42:30 -04:00
Jean-Philippe Gagné Guay
40f2bf5569
Rename denote-id-regexp and denote-id-format
2025-06-07 22:45:10 -04:00
Protesilaos Stavrou
23bb1ec373
Remove obsolete tests
2025-04-15 17:26:37 +03:00
Protesilaos Stavrou
5fc634ebc4
REMOVE denote-sequence.el as it will be its own package
...
This is part of the wider reorganisation of the project, as discussed
in issue 543: <https://github.com/protesilaos/denote/issues/543 >.
2025-02-10 08:51:54 +02:00
Kierin Bell
df89c98b42
Update dt-denote-sequence--get-new-exhaustive for false matches with a common prefix
...
The new tests will detect false matches resulting from confusing
sequence "1" with "10", "11", "100", etc.
2025-01-31 19:17:11 -05:00
Protesilaos Stavrou
322d6d493e
Update dt-denote-sequence--get-new-exhaustive to account for all denote-sequence-relative-types
2025-01-31 10:42:08 +02:00
Protesilaos Stavrou
2fe245806e
Update dt-denote-sequence--get-new-exhaustive to all test for relatives
2025-01-17 09:04:37 +02:00
Protesilaos Stavrou
78392b86ba
Rename dt-denote-sequence--get-new-child-and-sibling to dt-denote-sequence--get-new-exhaustive
...
Add the test for parent as well.
2025-01-17 08:22:37 +02:00
Protesilaos Stavrou
0c4fcdedcc
Update dt-denote-sequence--get-new-child-and-sibling to use denote-sequence-get-new
2025-01-17 08:19:32 +02:00
Protesilaos Stavrou
f23f84c6e3
Rename the function denote-sequence-convert to denote-sequence-make-conversion
...
The old name is better for a command.
2025-01-15 16:47:43 +02:00
Protesilaos Stavrou
d934da26eb
Make dt-denote-sequence--get-new-child-and-sibling use the system trash
2025-01-15 16:13:53 +02:00
Protesilaos Stavrou
b596ca71ad
Consolidate the tests of new child or sibling sequences
2025-01-13 11:24:54 +02:00
Protesilaos Stavrou
f9f779847c
Make denote-sequence--get-largest more robust when getting a child
2025-01-13 11:13:51 +02:00
Protesilaos Stavrou
a717f46eee
Make denote-sequence-convert also convert complete sequences
2025-01-12 10:57:42 +02:00
Protesilaos Stavrou
182db0675e
Expand tests to also cover alphanumeric sibling sequences
2025-01-12 10:21:53 +02:00
Protesilaos Stavrou
a0188e7cba
Expand tests to also cover alphanumeric child sequences
2025-01-12 10:19:44 +02:00
Protesilaos Stavrou
b642758ff9
Ensure the sequence tests target the implied scheme
2025-01-12 10:16:07 +02:00
Protesilaos Stavrou
43bd30e6eb
Make the groundwork for alphanumeric (Luhmann) sequences in denote-sequence.el
...
The idea is to support both numeric and alphanumeric sequencing
schemes, as documented in the new user option 'denote-sequence-scheme'.
We now have the tools to correctly split, join, increment, and convert
input accordingly, such that we can, for example, accurately produce a
child of sequence "1a2" (we could already do that for numeric
sequences).
What is covered herein is just the groundwork. I still need to extend
the helper functions which directly support the creation of new
parent, child, or sibling sequences. While this still is a lot of
work, the hard part is now done.
2025-01-11 19:37:56 +02:00
Protesilaos Stavrou
07aec1b587
Fix the shorthand in denote-test.el
2025-01-11 08:21:21 +02:00
Protesilaos Stavrou
c3b2a9dce1
Expand the test for denote-sequence--get-new-child
...
This is to test the case reported by elliottw in issue 519:
<https://github.com/protesilaos/denote/issues/519 > .
2025-01-08 11:48:31 +02:00
Protesilaos Stavrou
383a610399
Make denote-test.el use Elisp shorthands
2025-01-01 08:50:52 +02:00
Protesilaos Stavrou
9da97d3dc2
Update copyright years in denote-test.el
2025-01-01 08:32:04 +02:00
Protesilaos Stavrou
cd772dad09
Add TODO for possibly sharing state between some tests
2024-12-31 11:59:43 +02:00
Protesilaos Stavrou
c0bcc13ef3
Write test for denote-sequence--get-new-sibling given commit 43322b3
2024-12-31 11:57:43 +02:00
Protesilaos Stavrou
6a43e5cad5
Add test about denote-sequence--get-new-child
2024-12-31 08:46:05 +02:00
Protesilaos Stavrou
2ab74c1d47
Merge pull request #495 from jeanphilippegg/denote--date-convert
...
Small adjustments for notes without identifier
2024-12-14 09:10:59 +02:00
Jean-Philippe Gagné Guay
779fe017dc
Validate the presence of at least one file name component
2024-12-13 23:42:45 -05:00
Jean-Philippe Gagné Guay
8f3e5dd407
Fix tests
2024-12-13 23:23:25 -05:00
Jean-Philippe Gagné Guay
0a5c142287
Refactor denote--date-convert
2024-12-13 22:31:48 -05:00
Protesilaos Stavrou
f89f9ee963
Make denote-date-prompt accept optional INITIAL-DATE and PROMPT-TEXT
...
Thanks to Alex Griffin for starting the discussion about this feature
and to Jean-Philippe Gagné Guay for contributing to it. It was done in
issue 489: <https://github.com/protesilaos/denote/issues/489 >.
2024-12-09 11:51:08 +02:00
Jean-Philippe Gagné Guay
a204554b8d
denote-get-identifier returns an empty string when date is nil
...
Also make the date parameter mandatory
2024-11-08 22:58:14 -05:00
Protesilaos Stavrou
a05ed292bf
Clarify denote-test--denote--format-front-matter doc string
2024-11-03 17:28:11 +02:00
Jean-Philippe Gagné Guay
7ccddb5837
Add signature parameter to denote--format-front-matter
2024-11-02 01:13:26 -04:00
Jean-Philippe Gagné Guay
6446650c36
Make date parameter a date object in denote--format-front-matter
2024-11-02 00:15:04 -04:00
Jean-Philippe Gagné Guay
acad7c3577
Do not check type in denote-format-string-for-{org/md}-front-matter
2024-10-25 23:37:57 -04:00
Protesilaos Stavrou
6a67534820
Clarify a doc string in denote-test.el
2024-09-22 08:08:32 +03:00
Jean-Philippe Gagné Guay
68e31fdb87
Make slug functions public and remove some options and functions
2024-09-13 21:56:25 -04:00
Protesilaos Stavrou
afe2bcaafe
Add test for denote-slug-keep-only-ascii
2024-09-03 14:02:14 +03:00
Protesilaos Stavrou
839d68e8a1
Update all the header information of denote-test.el
2024-09-01 09:26:10 +03:00
Protesilaos Stavrou
c66521caeb
Add missing year range to denote-test.el copyright header
2024-09-01 09:25:15 +03:00
Protesilaos Stavrou
87a9e5e731
Fix typo in a comment
2024-09-01 09:21:09 +03:00
Protesilaos Stavrou
addff3d4d7
Write tests for denote-identifier-p and denote--id-to-date
2024-09-01 09:19:52 +03:00