Commit graph

757 commits

Author SHA1 Message Date
Protesilaos Stavrou d9c4746991
Update to version 0.5.0 2022-08-10 17:41:41 +03:00
Protesilaos Stavrou 9dfaa947c5
Specify :package-version in all defface forms 2022-08-10 16:53:03 +03:00
Protesilaos Stavrou 59891204ce
Limit the scope of the "migration" files
See commits 5c2237e and e711b16.  This is about updating the front
matter of Org and YAML to the correct syntax for tags.

The function I just wrote is not the best code ever written, but we will
not keep it for too long, anyway.
2022-08-10 16:29:49 +03:00
Protesilaos Stavrou 2704250ea6
Mark denote-directory as changed for 0.5.0
The change was done in commit 4b21e42 by Philip Kaludercic.
2022-08-10 14:58:40 +03:00
Protesilaos Stavrou e711b1610f
Add TEMPORARY command to migrate YAML tags
This is due to the changes we made to the format of the YAML front
matter where tags are now written as a standard comma-separated list of
strings (per commit cb9af65).

Same idea as with commit 5c2237e.
2022-08-10 14:42:39 +03:00
Protesilaos Stavrou 3c9a99d21f
Refine what was done in commit 5c2237e 2022-08-10 14:37:41 +03:00
Protesilaos Stavrou 5c2237e00d
Add TEMPORARY command to migrate Org filetags
This is due to the changes we made to the format of the Org front matter
where filetags are now written in the standard colon-separated
notation (check commit 37dca91).

Thanks to Alan Schmitt for bringing this matter to my attention:
https://lists.sr.ht/~protesilaos/denote/%3C871qu0jw5l.fsf%40protesilaos.com%3E
2022-08-10 12:53:08 +03:00
Protesilaos Stavrou 77d65716fd
Add conditionality in keyword to list conversion 2022-08-10 12:48:00 +03:00
Protesilaos Stavrou 10646db649
Remove needless 'declare-function'
We already 'require' Dired.
2022-08-10 09:26:00 +03:00
Protesilaos Stavrou 0e3f98810f
Tweak format for stylistic consistency 2022-08-10 09:25:24 +03:00
Protesilaos Stavrou 0d896b5495
Add TODO about "backlink" and "backlinks" inconsistency 2022-08-10 09:23:34 +03:00
Protesilaos Stavrou 48d8caee12
Tweak format of function for stylistic consistency 2022-08-10 09:20:55 +03:00
Protesilaos Stavrou f10e80fb5e
Add comment to clarify format of specifiers 2022-08-10 09:20:00 +03:00
Protesilaos Stavrou d75a0c2ac2
Add :info link to denote-link-fontify-backlinks 2022-08-10 09:18:48 +03:00
Protesilaos Stavrou fed4293084
Add :info link to denote-dired-directories 2022-08-10 09:17:53 +03:00
Protesilaos Stavrou 3adf83fea2
Clarify denote-dired-mode docstring
Striclty speaking, this minor mode has no Dired code.  We should revise
it to add keywords to Dired's and tie the two more closely.
2022-08-10 09:16:02 +03:00
Protesilaos Stavrou 7aa1c44f4f
Add comment about empty value of face 2022-08-10 09:14:20 +03:00
Protesilaos Stavrou 80fd25336c
Tweak format of faces for consistency 2022-08-10 09:14:04 +03:00
Protesilaos Stavrou fea84b28be
Remove empty line from doc string 2022-08-10 09:12:12 +03:00
Protesilaos Stavrou 0f4dbbdf0b
Rename private function for clarity 2022-08-10 09:09:58 +03:00
Protesilaos Stavrou b8d4c362c3
Add helper to test that dir is part of denote
This is done to avoid duplication in the code.
2022-08-10 09:07:57 +03:00
Protesilaos Stavrou 4477a24b74
Add comment about rationale of completion table 2022-08-10 08:58:27 +03:00
Protesilaos Stavrou 4e2f0c8d9e
Reword statement in docstring 2022-08-10 08:57:18 +03:00
Protesilaos Stavrou b401e249e9
Clarify comment about duplicate IDs 2022-08-10 08:55:59 +03:00
Protesilaos Stavrou f04fb92eae
Remove potentially confusing statement in doc
The reason is that the function itself does not handle that case.  The
DATE is determined elsewhere.
2022-08-10 08:47:55 +03:00
Protesilaos Stavrou 18a210b265
Add comment about front matter format variables 2022-08-10 08:45:48 +03:00
Protesilaos Stavrou 20040e7a2f
Clarify docstring about 'downcase' function 2022-08-10 08:42:16 +03:00
Protesilaos Stavrou 394c5d3e69
Tweak indentation for stylistic consistency 2022-08-10 08:40:58 +03:00
Protesilaos Stavrou 8c28b4818b
Remove delete-dups from denote--inferred-keywords
It is not needed as 'denote-keywords' has a 'delete-dups' as well.
2022-08-10 08:34:31 +03:00
Protesilaos Stavrou b201438b70
Add denote-templates :info link 2022-08-10 08:26:09 +03:00
Protesilaos Stavrou 0ab93d9f8a
Fix typo in the manual 2022-08-10 08:22:01 +03:00
Protesilaos Stavrou 94cbaf151e
Add clarification to Commentary 2022-08-10 08:21:50 +03:00
Protesilaos Stavrou f3cd705d51
Clarify doc string 2022-08-10 08:19:33 +03:00
Protesilaos Stavrou 94fb45c486
Placate the compiler regarding docstring format 2022-08-10 08:12:52 +03:00
Protesilaos Stavrou 8103476e31
Simplify docstrings of helper date functions 2022-08-10 08:11:04 +03:00
Protesilaos Stavrou 877c7243b9
Merge pull request #83 from jeanphilippegg/cleanup
Refactor denote--date
2022-08-10 08:08:58 +03:00
Jean-Philippe Gagné Guay e3c099bc25 Refactor denote--date
- Make date parameter mandatory.
- Add file-type parameter.
2022-08-10 00:35:53 -04:00
Protesilaos Stavrou 82424803d0
Merge pull request #82 from jeanphilippegg/cleanup
Minor cleanups
2022-08-10 07:08:33 +03:00
Jean-Philippe Gagné Guay b5704da5c2 Refactor denote--file-extension and denote--path
- Make all parameters mandatory in denote--path.
- Add file-type parameter in denote--file-extension and use it instead
of denote-file-type.
2022-08-09 23:23:58 -04:00
Jean-Philippe Gagné Guay ca6aa0d104 Make filetype parameter mandatory in denote--format-front-matter 2022-08-09 22:41:47 -04:00
Jean-Philippe Gagné Guay 34daa52ea3 Refactor denote--dir-in-denote-directory-p
- (denote-directory) is already expanded
2022-08-09 22:41:38 -04:00
Jean-Philippe Gagné Guay a992c74a71 Delete denote--prompt-symbols 2022-08-09 22:06:16 -04:00
Jean-Philippe Gagné Guay eb1131af24 Refactor denote--format-front-matter-keywords
- Make type parameter mandatory
- Delete denote--format-markdown-keywords and
denote--format-org-keywords
2022-08-09 21:56:51 -04:00
Jean-Philippe Gagné Guay 12dc9e23ac Rename denote--retrieve-process-grep and denote-link-button-action 2022-08-09 18:54:52 -04:00
Protesilaos Stavrou 55b4a09606
Add reference to denote-backlink-mode
Thanks to Philip Kaludercic for the patch that made it happen:
<https://lists.sr.ht/~protesilaos/denote/patches/34561>.
2022-08-09 16:02:00 +03:00
Philip Kaludercic 5bd454c26a
Add a major mode for backlink buffers
* denote.el (denote-backlink-mode-map): Add new map for 'denote-backlink-mode'.
(denote-backlink-mode): Add new mode that derives from 'special-mode'.
(denote-link--prepare-backlinks): Use 'denote-backlink-mode'.
2022-08-09 15:52:16 +03:00
Philip Kaludercic 4b21e42e26
* denote.el (denote-directory): Use 'xdg-user-dir' 2022-08-09 15:52:05 +03:00
Protesilaos Stavrou 2f7ac757f5
Update the manual's Acknowledgements 2022-08-09 08:18:37 +03:00
Protesilaos Stavrou 325853286d
Merge pull request #81 from jeanphilippegg/small-fix
Fix denote--id-exists-p
2022-08-09 08:16:51 +03:00
Jean-Philippe Gagné Guay 92310d2c37 Fix denote--id-exists-p 2022-08-09 00:44:29 -04:00