Commit graph

416 commits

Author SHA1 Message Date
Leo Vivier
265182a698
(fix): adapt find-ref to new format (#646) 2020-05-16 14:03:37 +02:00
Jethro Kuan
4b4ebf76c7
(fix): fix parsing for ido (#645)
This reverts commit 47763f49fd, after #643
reverted completions from hash-table to alist.
2020-05-16 19:38:52 +08:00
Leo Vivier
3bc174a6f0
(fix): reimplement mtime sorting (#642) 2020-05-16 19:32:23 +08:00
Jethro Kuan
8091f4598e
(internal): revert completions from hash table to alist (#643)
Initially we thought that using hash-tables would shave some seconds
because searching for a key is O(1), but when we present completions, we
typically want them sorted, and hash-tables do not support sorted keys.

Co-authored-by: Leo Vivier <leo.vivier+dev@gmail.com>
2020-05-16 18:17:37 +08:00
Leo Vivier
1267a43043
(fix): refactor get-ref-path-completions (#633)
* (fix): refactor get-ref-path-completions

* Remove leftover variable

Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com>
2020-05-16 08:40:41 +02:00
N V
8ff09b4b6d
(docs): Mention steps to provide backtrace in bug_report.md (#641) 2020-05-15 22:54:37 -04:00
Leo Vivier
2499c7e220
(feat): add COMPLETIONS argument to insert and find-file (#637)
Needed for smoother interaction with ORB.  I’ve elected to keep FILTER-FN for
the moment, even though it’s a bit redundant, and the description in the
docstring is not correct with the addition of tags.
2020-05-16 01:29:18 +02:00
Leo Vivier
d816250614
(fix): move from alist to hash for find-ref (#640) 2020-05-16 01:23:36 +02:00
p4v4n
47763f49fd
(fix): fix parsing of new hash-table for ido
* Use hash-table-keys to extract titles for ido

* Same change for helm
2020-05-16 01:01:35 +02:00
Leo Vivier
9961a22a8c
(fix): replace if with when (#632) 2020-05-15 20:23:06 +08:00
Jethro Kuan
f390593cfb
(feat): Add a tagging system (#604)
Tags are used as meta-data for files: they facilitate interactions with notes where titles are insufficient. For example, tags allow for categorization of notes: differentiating between bibliographical and structure notes during interactive commands.

Co-authored-by: Leo Vivier <leo.vivier+dev@gmail.com>
Co-authored-by: N V <44036031+progfolio@users.noreply.github.com>
2020-05-15 16:10:11 +08:00
N V
59c18c0e8c
(internal): org-roam-dev -> sentence-end-double-space nil (#629)
Required by CI.
2020-05-15 13:11:19 +08:00
Allard Hendriksen
3df3b6519c
(doc): fix org-roam-buffer-no-delete-other-windows (#628)
It appears the option has changed name, but this was not yet reflected
in the documentation.
2020-05-14 22:52:27 +02:00
Jethro Kuan
b47b76aa41
(refactor): refactor title extraction (#625)
Introduces '(org-roam-title-sources), which can be a list of lists. Each symbol corresponds to a function, that when called returns a list of titles. If the element is a list, use the first function in the list that returns a successful result.
2020-05-14 19:45:07 +08:00
Günter Zöchbauer
abb36d11ef
(docs): remove redundant word in docstring (#626) 2020-05-14 19:04:59 +08:00
Jethro Kuan
e55a38530d
(fix): fix org-roam-doctor broken-link checker (#624)
The checker originally returns reports of wrong format when there are no
errors
2020-05-14 13:51:35 +08:00
Jethro Kuan
80bc19cbda
(docs): update manual location (#622) 2020-05-13 20:19:31 +08:00
Jethro Kuan
85b3e488b2 (ci): fix 2020-05-13 19:56:06 +08:00
Jethro Kuan
5a9f765a49 (ci): move images to the correct location 2020-05-13 19:54:08 +08:00
Jethro Kuan
1c7c5b3b9b (ci): add nojekyll to docs 2020-05-13 19:48:39 +08:00
Jethro Kuan
4266a81b51 (ci): build the correct folder, clean builds 2020-05-13 19:43:36 +08:00
Jethro Kuan
36940e1eef Revert "(ci): deploy docs to docs branch"
This reverts commit 176aac67e6.
2020-05-13 19:39:12 +08:00
Jethro Kuan
176aac67e6 (ci): deploy docs to docs branch 2020-05-13 19:36:36 +08:00
Jethro Kuan
376ff71616
(ci): run doc build commands directly (#621) 2020-05-13 19:35:48 +08:00
Jethro Kuan
232921b9a1
(docs): track landing page (#620) 2020-05-13 19:26:37 +08:00
Jethro Kuan
9e2998c580
(ci): remove old docs, add landing page (#619) 2020-05-13 19:24:17 +08:00
Jethro Kuan
e44b84b791
(ci): make multi-page manual (#618) 2020-05-13 18:56:42 +08:00
Jethro Kuan
5e63bf32ed
(ci): makeinfo -> texinfo (#617) 2020-05-13 18:49:18 +08:00
Jethro Kuan
e62bda799a
(docs): use gh actions to deploy documentation (#616) 2020-05-13 18:45:32 +08:00
Jethro Kuan
46975107a2
(internal): remove assignment in issue templates (#615) 2020-05-13 17:58:34 +08:00
N V
b388fd3db2
(refactor): org-roam-db--clear pull tables from schemata (#611)
Programatically pull tables from schemata, rather than manually
specifying each table.
2020-05-13 02:24:50 -04:00
N V
e0cefa7377
(refactor): org-roam-db--clear-file pull tables from schemata (#613)
Programatically pull tables from schemata, rather than manually
specifying.
2020-05-13 14:14:46 +08:00
N V
fca1777648
(internal): Summarize features (#608)
* (internal): Summarize features

Replace generic package description in features' first line summary.

Co-authored-by: Leo Vivier <leo.vivier+dev@gmail.com>
2020-05-12 15:06:19 -04:00
N V
1722fae9af
(internal): org-roam-dev use directory-local variable (#607)
Add .dir-locals.el to load org-roam-dev for all source files.
2020-05-12 13:46:12 -04:00
N V
3727f015cd
(internal): add org-roam-dev.el (#606)
Help ensure source code consistency.
emacsql indentation for now, but can easily be expanded as needed.
2020-05-13 01:21:54 +08:00
Jethro Kuan
a85205e7bc
(fix): Respect org-roam-file-extensions during file creation (#602) 2020-05-12 19:08:00 +08:00
Leo Vivier
b4927abbd7
(fix): Enforce default for ‘org-roam-index-file’ (#599) 2020-05-12 16:12:14 +08:00
N V
ad5fca5440
"Refactor org-roam-message as a function" (#595)
* Refactor org-roam-message as a function

Add to commentary that org-roam-macs may contain other utility
functions (similar to org-macs).

* Fix typos

* Try again

* Fix typo

* fix syntax error

* fix syntax error

* Apply args correctly

* Refactor with funcall

* Revert "Refactor with funcall"

This reverts commit 0807252d64230840faaa8687fee8399a08e3f8b4.

Co-authored-by: Leo Vivier <leo.vivier+dev@gmail.com>
2020-05-10 23:17:55 +02:00
Jethro Kuan
3efe315ff1
(internal): add org-roam-message (#593)
This macro simplifies message printing, so we can respect
`org-roam-verbose` in more places. Also silences more messages when
`org-roam-verbose` set to false.
2020-05-10 16:44:28 +08:00
Jethro Kuan
d68d1f8ebb
(feat): add org-roam-doctor (#570)
`org-roam-doctor` provides a diagnostic tool for checking an Org-roam
file for things that are broken. Currently implemented is a check for
broken links, and methods to fix them. The checker is designed to be
extensible.
2020-05-10 13:57:18 +08:00
Leo Vivier
c70f2d5f54
(fix): update repo root to group (#591) 2020-05-10 13:48:16 +08:00
Günter Zöchbauer
d3206b797a
(docs): link to discourse in README (#577)
Also, add information about Graphviz on the README.

Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com>
2020-05-09 19:54:05 +08:00
Leo Vivier
dee540b62f
(fix): do not store empty-string refs in db (#586)
* (fix): do not store empty-string refs in db

* Error when ROAM_KEY is empty

* Handle nil

Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com>
2020-05-09 13:47:56 +02:00
Leo Vivier
46fd2a9a68
(fix): allow group templates in capture-templates (#584)
Co-authored-by: N V <44036031+progfolio@users.noreply.github.com>
2020-05-09 18:08:08 +08:00
Leo Vivier
c1bfa99ace
(fix): make graph--build error on non-string (#580)
* (fix): make graph--build error on non-string

* Replace let* with let

* Fix wording
2020-05-07 20:38:17 +02:00
Leo Vivier
9bc80ff9f7
(fix): improve error message on missing executable (#579) 2020-05-08 01:44:28 +08:00
Jethro Kuan
1912beebc3
(docs): mention where to modify org-roam templates (#575)
Addresses #573
2020-05-07 16:33:42 +08:00
Jethro Kuan
f8f7e6009c
(internal): add longer sleep time to tests (#574) 2020-05-07 15:41:58 +08:00
Leo Vivier
689f559080
(doc): Add a gif for ORB (#571) 2020-05-06 18:59:09 +08:00
Leo Vivier
3ca2d9f4ca
(doc): Improve wording 'A Preview' (#568)
* (doc): Improve wording of the first paragraph

Can’t believe nobody told us that we used ‘screenshot’ instead of
‘screencast’. :(

* Fill to 72
2020-05-05 14:19:00 +08:00