Protesilaos Stavrou
737c647957
Rename buffer post file rename
2022-06-17 17:58:19 +03:00
Protesilaos Stavrou
83d53afae4
Improve dired revert-buffer post rename
2022-06-17 17:52:08 +03:00
Protesilaos Stavrou
a785de6760
Make sure minibuffer can be resized while renaming
...
We need it to display the echo are message about the potential change to
the file's front matter.
2022-06-17 11:26:32 +03:00
Protesilaos Stavrou
34d11cea33
Include 'denote-retrieve' in sample configuration
2022-06-17 11:26:15 +03:00
Protesilaos Stavrou
cea51a8a11
Add section with Frequently Asked Questions
2022-06-17 10:07:11 +03:00
Protesilaos Stavrou
5213c9e7af
Add section with alternatives to Denote
2022-06-17 09:10:06 +03:00
Protesilaos Stavrou
cbaab43170
Update Acknowledgement: svnsbck => Sven Seebeck
...
I prefer to use names instead of handles:
<https://github.com/protesilaos/denote/issues/15#issuecomment-1158497383 >.
2022-06-17 08:14:34 +03:00
Protesilaos Stavrou
d46c8fec55
Add "Contributing" section to the manual
2022-06-17 08:01:49 +03:00
Protesilaos Stavrou
e0ff114a93
Update Denote sources in manual's introduction
2022-06-17 07:52:47 +03:00
Protesilaos Stavrou
a1d315ff84
Reword statement about metanotes
2022-06-17 07:38:37 +03:00
Protesilaos Stavrou
b651200fdf
Include "hackability" in the manual's overview
2022-06-17 07:38:12 +03:00
Protesilaos Stavrou
13bae5f9c4
Remove instability warnings (v0.1.0 is close)
2022-06-17 07:19:56 +03:00
Protesilaos Stavrou
8dcb3aea4e
Add minor tweaks to the manual
2022-06-17 07:19:24 +03:00
Protesilaos Stavrou
90875d5419
Sort backlinks from oldest to newest
...
I think we do not need a user option for this, as too many options make
it difficult to understand what is really needed to get started. Though
the 'denote-link-backlinks-sort' variable can be set to t to reverse the
order.
2022-06-17 07:16:46 +03:00
Protesilaos Stavrou
10b30d1e15
Expand manual on journaling with past date
...
Thanks to svnsbck for the discussion on issue 15 over at the GitHub
mirror: <https://github.com/protesilaos/denote/issues/15 >.
2022-06-17 06:17:12 +03:00
Protesilaos Stavrou
5228b1bb17
Sort 'denote-link-add-links' contents
2022-06-16 20:23:19 +03:00
Protesilaos Stavrou
9b9a764e57
Fix typo about package name
...
This is not relevant right now, as the package does not exist. Just a
placeholder.
2022-06-16 17:39:31 +03:00
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