With xref we delegate to a built-in facility instead of passing a
hard-coded list of arguments to 'process-lines'.
The old method is prone to errors, such as not working on builds of
Emacs for macOS, as reported by Colin McLear in issue 18 over at the
GitHub mirror: <https://github.com/protesilaos/denote/issues/18>.
Users of Emacs 28 or higher can configure 'xref-search-program' to
change from the default 'grep' to 'ripgrep', 'ugrep', or a user-defined
alternative.
THIS CHANGE IS PROVISIONAL and subject to further edits.
This should solve the bug reported by Sven Seebeck where dates in the
org-timestamp style would lose their closing bracket after a rename
operation altered their front matter.
See issue 19 on the GitHub mirror:
<https://github.com/protesilaos/denote/issues/19>.
This would override the default-directory when using something like 'M-x
denote-link-add-links' from a file whose directory had a local value for
'denote-directory'.
Thanks to Sven Seebeck for reporting the bug in issue 16 over at the
GitHub mirror: <https://github.com/protesilaos/denote/issues/16>.
This is a follow-up to commit 429763c. Basically, we want the file
names to come in a predictable order, otherwise it can be hard to get a
sense of their time range.