Protesilaos Stavrou
85b5290e8b
Fix bug where Unicode chars are not encoded
...
This was revealed when Frank Ehmsen tried to create a link with German
umlauts. Reported on the mailing list:
<https://lists.sr.ht/~protesilaos/denote/%3Ccf3d35f8-acfa-5056-cfa4-63a57ea15ef9@eh-is.de%3E >.
2022-06-16 17:23:56 +03:00
Protesilaos Stavrou
f193199c88
Insert generic format links with prefix argument
2022-06-16 15:37:19 +03:00
Protesilaos Stavrou
b5c7bab15c
Update manual's Acknowledgements
...
Ongoing discussion about exporting notes:
<https://lists.sr.ht/~protesilaos/denote/%3C87a6acrg4q.fsf%40protesilaos.com%3E >.
2022-06-16 15:31:24 +03:00
Protesilaos Stavrou
24997c6bc5
Remove "work-in-progress" from backlinks' section
...
I think it works fine and should be good enough for version 0.1.0.
Though I am happy to improve it further. Any bugs will obviously be fix
outright.
2022-06-16 14:54:57 +03:00
Protesilaos Stavrou
25fe9870dc
Finalise 'denote:' custom Org hyperlink type
...
The export part was missing. It is important to return the right
values.
Relevant discussion with Frank Ehmsen on the mailing list:
<https://lists.sr.ht/~protesilaos/denote/%3Ccfb70295-4e54-0f54-559c-c9423df5a1d8@eh-is.de%3E >.
2022-06-16 14:25:56 +03:00
Protesilaos Stavrou
1b4dc74e3c
Update denote-dired.el Commentary section
2022-06-16 12:47:52 +03:00
Protesilaos Stavrou
c8f3e707c2
Revise one-line descriptions, where needed
2022-06-16 12:44:03 +03:00
Protesilaos Stavrou
f4e7cc9ab4
Document denote-dired-post-rename-functions
2022-06-16 12:23:47 +03:00
Protesilaos Stavrou
a436cdf07e
Tweak doc strings
2022-06-16 12:23:35 +03:00
Protesilaos Stavrou
d5b62c4e58
Add denote-date command (notes for past date)
...
Thanks to user svnsbck for suggesting the idea in issue 15 over at the
GitHub repo: <https://github.com/protesilaos/denote/issues/15 >.
2022-06-16 12:09:33 +03:00
Protesilaos Stavrou
e1c45e25f4
Optionally no current in files in dir regexp match
2022-06-16 11:56:39 +03:00
Protesilaos Stavrou
3a63c763c5
Improve post-rename front matter rewrite
...
Expands on commit 4041e43 with the benefit of 74962d1 .
I wanted to make it operate on the front matter only when it makes
sense. For example, if we have a txt file which is empty, we want to
abort silently: just do the rename.
2022-06-16 10:00:04 +03:00
Protesilaos Stavrou
74962d17f2
Improve denote-retrieve error handling
...
Basically, we do not want to do anything in files that have no front
matter.
2022-06-16 09:58:39 +03:00
Protesilaos Stavrou
a0525a0154
Do not try front matter rewrite on non-notes
2022-06-16 09:08:01 +03:00
Protesilaos Stavrou
9be3cfab99
Relocate defcustom where it belongs
2022-06-16 09:01:12 +03:00
Protesilaos Stavrou
4041e437b2
Add PROTOTYPE of front matter rewrite post-rename
2022-06-16 08:58:25 +03:00
Protesilaos Stavrou
0db5be04be
Use new helper FN for title value in links
...
See commit 2327b5b .
2022-06-16 08:51:34 +03:00
Protesilaos Stavrou
2327b5beb6
Add helper FNs to return title and date values
2022-06-16 08:50:55 +03:00
Protesilaos Stavrou
b25704e041
Make denote-retrieve--value pass optional group
...
See commit 3654f90 .
2022-06-16 08:50:22 +03:00
Protesilaos Stavrou
3654f902e6
Accept optional group in denote-retrieve--search
2022-06-16 08:49:58 +03:00
Protesilaos Stavrou
31fc567702
Accept optional filetype in front matter formatter
2022-06-16 08:47:34 +03:00
Protesilaos Stavrou
979bf352d6
Clarify requirements for good front matter value
2022-06-16 08:47:34 +03:00
Protesilaos Stavrou
a7a0bf0255
Tweak doc string
2022-06-16 08:47:34 +03:00
Protesilaos Stavrou
683180bcfc
Remove superfluous function and var
...
I believe we were using those in the early code that inserted backlinks
in files. Now it is not required.
2022-06-16 08:47:34 +03:00
Protesilaos Stavrou
f2cfcd26ea
Refine denote-retrieve regular expressions
2022-06-16 08:47:34 +03:00
Protesilaos Stavrou
1a124c2be6
Make 'denote:' link follow links like 'file:'
...
We want it to behave exactly like the standard 'file:' hyperlink type.
With this change, we made it work with what is described in the manual.
Evaluate:
(info "(org) Search Options")
2022-06-16 05:49:37 +03:00
Protesilaos Stavrou
f8b2d44508
Depend on Emacs 27.2, not 27.1
2022-06-16 05:49:29 +03:00
Protesilaos Stavrou
98113698a7
Expand sample configuration
...
If you had the "C-c n" key binding before, the code's evaluation will
throw an error. You either need to set it to nil beforehand or add the
code and restart Emacs.
2022-06-15 19:26:13 +03:00
Protesilaos Stavrou
2e56f06381
Install aliases for certain commands
...
The alternative names might help the user understand what the command
does just by looking at the commands' symbol.
2022-06-15 19:10:21 +03:00
Protesilaos Stavrou
bcbd52a784
Use format specifiers for denote-link-add-links
2022-06-15 18:16:14 +03:00
Protesilaos Stavrou
b64cc491bc
Add history to denote-link-add-links command
2022-06-15 18:05:53 +03:00
Protesilaos Stavrou
e37e429844
Add possible to-do for using xref
2022-06-15 16:54:28 +03:00
Protesilaos Stavrou
5195f13f55
Add optional absolute for denote--directory-files
...
There is currently no use for it, but I am aware at least of one
function we might use in the future which requires absolute paths.
2022-06-15 16:53:33 +03:00
Protesilaos Stavrou
a160d9f147
Fix typo in the manual
2022-06-15 16:52:46 +03:00
Protesilaos Stavrou
bfb2cdefd7
Rewrite manual on links (getting closer to v0.1.0)
2022-06-15 12:06:21 +03:00
Protesilaos Stavrou
aab21a74dd
Register 'denote:' custom Org hyperlink type
2022-06-15 12:05:54 +03:00
Protesilaos Stavrou
a76b7fb0b8
Make plain text links the same as Org's
...
The plan is to recommend using org-open-at-point-global for such cases.
If we use a custom format for plain text, we lose that valuable feature.
2022-06-15 12:03:45 +03:00
Protesilaos Stavrou
92a4ff20b6
Remove obsolete description from doc string
2022-06-15 12:03:24 +03:00
Protesilaos Stavrou
5c400d80d9
Document regexp example for file extension
2022-06-15 09:16:27 +03:00
Protesilaos Stavrou
4a5ba1603a
Document how to write metanotes
2022-06-15 07:56:50 +03:00
Protesilaos Stavrou
49a2932d42
Implement denote-link-add-links
2022-06-15 07:56:31 +03:00
Protesilaos Stavrou
8a33364dc6
Add helper fn to filter files matching regexp
2022-06-15 07:54:57 +03:00
Protesilaos Stavrou
ebd14ebbd6
Change placement of maxdepth argument for find
2022-06-15 05:27:18 +03:00
Protesilaos Stavrou
b54dd3404d
Tweak doc string
2022-06-15 05:26:43 +03:00
Protesilaos Stavrou
4dc46d1b68
Set denote-link-fontify-backlinks to t by default
2022-06-15 05:20:26 +03:00
Protesilaos Stavrou
a47f32ec71
Implement new backlink facility
2022-06-15 05:17:18 +03:00
Protesilaos Stavrou
7fab21926d
Process 'find' output in denote-retrieve
2022-06-15 05:16:42 +03:00
Protesilaos Stavrou
d6285c8c5a
Omit current file from backlinks
2022-06-14 21:22:03 +03:00
Protesilaos Stavrou
2338ee4698
Refine how identifier is retrieved from file names
2022-06-14 21:13:59 +03:00
Protesilaos Stavrou
91090d42c6
Fix regexp match for backlinks
2022-06-14 21:13:45 +03:00