Sibi Prabakaran
ee28b5e6b1
(docs): improve roam-ref docs ( #865 )
...
The current documentation made me think that bookmarklet feature was limited to Firefox. This patch slightly improves it.
6 years ago
Jethro Kuan
79c75ac174
(feat): Add header level to backlinks buffer ( #863 )
...
adds the outline hierarchy to the backlinks buffer
6 years ago
Tim Quelch
c59d6c4f7c
(internal): wrap db updates in a sql transaction ( #862 )
...
This will ensure atomicity with updates and should stop any partial updates that may occur.
6 years ago
Jethro Kuan
220f395c1f
(feat): add org-roam-find-file-immediate ( #852 )
...
Addresses #852 .
6 years ago
Jethro Kuan
76b2ac3460
(bugfix): fix tag extraction for symlinked directories ( #857 )
...
* (bugfix): fix tag extraction for symlinked directories
Resolves symlinks before computing relative paths, fixes #855
* Update changelog
6 years ago
Jethro Kuan
11e0aa4c55
(feat): warn on duplicate IDs and refs rather than fail ( #854 )
...
Instead of having db update operations fail, a useful error is shown, and the db updates complete. Closes #816 .
6 years ago
Jethro Kuan
408e38f8ba
(perf): use sqlite transactions, and GC less ( #847 )
...
We use sqlite transactions to commit changes into the database, rather
than storing all the data in a list before running one big insert.
Hopefully this gives a noticeable perf boost.
We also add `org-roam-db-gc-threshold`, which shaves time by deferring the garbage collection to the end.
6 years ago
Alexey Shmalko
f16de357a6
(feat): add 'first-directory option for org-roam-tag-sources ( #851 )
...
Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com>
6 years ago
robert seaton
abd81918e1
(docs): update docs link in README ( #850 )
...
Thanks for the catch!
6 years ago
Jethro Kuan
6a37fff1e6
(fix): fix bad upcase for `org-roam-tag-sources` ( #849 )
6 years ago
Jethro Kuan
527c693f65
(docs): Update links to online page ( #848 )
...
We now own and use the orgroam.com domain
6 years ago
Jethro Kuan
76d419cc89
(fix): fix emacsql-sqlite3-executable possibly unbound ( #846 )
...
On old versions of emacsql-sqlite3, this will catastrophically fail.
6 years ago
Stig Brautaset
3f2f7e3ff7
(docs): use org-roam-graph-show on README ( #844 )
6 years ago
Boris Buliga
fd73da9410
(feat): org-roam-insert: return selected file ( #839 )
...
This is useful in scenarios when you want to automatically do something with the
context where the link was inserted.
6 years ago
Jethro Kuan
11902bc790
(tests): add performance tests to CI ( #841 )
6 years ago
Jethro Kuan
185f9877ae
(tests): add test for headline extraction ( #840 )
6 years ago
Zachary
1276e801c0
(feat): add customizable org-roam-title-to-slug-function ( #833 )
...
Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com>
6 years ago
Leo Vivier
04d335cc40
(fix): Check sqlite3’s executability before existence ( #838 )
6 years ago
N V
8b16e5d520
(feat): org-roam-find-file-function customization ( #807 )
...
Allow users to specify a function for finding files in various commands.
Can be let-bound to define new commands that suit user preferences.
See: #790
6 years ago
Leo Vivier
7ab67436a7
(feat): Implement ‘org-roam-insert-immediate’ ( #814 )
6 years ago
Langston Barrett
87403b330c
(feat): Split org-roam-buffer-toggle into -activate and -deactivate ( #819 )
...
Co-authored-by: Leo Vivier <leo.vivier+dev@gmail.com>
6 years ago
N V
fae45434b5
(doc): Add :ensure to use-package declaration ( #820 )
...
Ensure use-package installs org-roam.
See: #803
6 years ago
Jethro Kuan
9cf26494e8
(ux): update the error message for org-roam-unlinked-references ( #818 )
...
Co-authored-by: Leo Vivier <leo.vivier+dev@gmail.com>
Co-authored-by: Santiago Gepigon <santiago.gepigon@gmail.com>
6 years ago
Jethro Kuan
0d5efe1c14
(fix): fix unlinked-references for older Emacs ( #812 )
...
Emacs' in-built rx.el was rewritten in Emacs 27, and the form `anychar`
only exists in later versions. We use the older form `anything` that has
support even in Emacs 26.
Emacs 26: https://github.com/emacs-mirror/emacs/blob/emacs-26/lisp/emacs-lisp/rx.el#L889
6 years ago
Leo Vivier
2eb0aac88a
(feat): Switch to a minor-mode for the dev-suite ( #805 )
...
* (feat): Switch to a minor-mode for the dev-suite
Co-authored-by: N V <44036031+progfolio@users.noreply.github.com>
Co-authored-by: N V <44036031+progfolio@users.noreply.github.com>
6 years ago
Jethro Kuan
eca07277ce
(release): Org-roam v1.2.0 ( #802 )
6 years ago
Jethro Kuan
48158e67d4
(feat): add `org-roam-unlinked-references` ( #787 )
...
`org-roam-unlinked-references` uses rg to search for unlinked references. Regex courtesy of @angelsl .
Co-authored-by: Leo Vivier <leo.vivier+dev@gmail.com>
6 years ago
Leo Vivier
278e3df95d
(fix): Remove space in docstring ( #800 )
6 years ago
Leo Vivier
48d2c199ac
(fix): Fix local-var loading for dev suite ( #799 )
6 years ago
Leo Vivier
7f7ba857de
(feat): add support for headlines ( #783 )
...
Achieve feature parity between links to files and links to headlines.
Before, we used the `file:foo::*bar` format to link to the headline `bar` in file `foo`, but this was prone to breakage upon renaming the file or modifying the headline. This is not the case anymore. Now, we use `org-id` to create IDs for those headlines, which are then stored in our database to compute the relationships and jump around. Note that this will work even if you’re not using `org-id` in your global configuration for Org-mode.
Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com>
6 years ago
Jethro Kuan
cf368ab4d8
(chore): remove unused mkdocs.yml ( #798 )
6 years ago
Noboru Ota
43dbad1f62
(UX): Add more meaningful error message for sqlite3 ( #776 )
...
Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com>
6 years ago
Jethro Kuan
040913151f
(docs): update docstring for org-roam-db-location ( #797 )
...
Closes #792
6 years ago
Tim Quelch
1a964520f2
(doc): Add documentation about multiple templates for capture ( #796 )
...
* Add sentence noting that you can have multiple templates
* Add sentence describing that `file-name` can specify directory
* Make changes in .org instead
* Fix grammar and reflow
Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com>
6 years ago
Tim Quelch
39276362d7
(docs): add entries to changelog ( #795 )
6 years ago
Leo Vivier
1168c9b6da
(fix): Fix syntax for calling compiled versions of functions ( #791 )
6 years ago
Jethro Kuan
92e02b5d14
(internal): remove redundant org-ref require ( #788 )
6 years ago
Jethro Kuan
26b90b28e3
(fix): fix false failure from case in org-roam-doctor
6 years ago
Jethro Kuan
f4376f39a9
(docs): update roam-ref qutebrowser configuration ( #780 )
6 years ago
Jethro Kuan
898c6c8178
(docs): Add link to Roam-migration ( #779 )
6 years ago
Jethro Kuan
30599cc3e8
(fix): fix prop extraction failures ( #772 )
...
This fixes a bug introduced in #770 . Interestingly,
`org-element-property` always returns the prop in allcaps, so a
string-equal would have been sufficient. This commit reverts all usages
of `org-roam--extract-global-props` to use the upcase version of the
properties.
6 years ago
Jethro Kuan
9d5a34d0f4
(internal): lowercase all properties ( #770 )
6 years ago
N V
5bf3e596c8
(feat): prefer lowercase versions of org in-file settings ( #769 )
...
See #768
6 years ago
N V
14f83bdb07
(fix): org-roam-capture append to existing file ( #767 )
...
org-roam-capture was querying plist for :file-path
instead of :path.
See: #766
6 years ago
Jethro Kuan
81e7a5b231
(fix): fix org-roam--list-files elisp fallback ( #764 )
...
Always fallback to the elisp implementation, when the shell commands
return garbage (possibly from shell configurations).
6 years ago
Jethro Kuan
1756ec6441
(fix): fix bad behaviour on malformed properties ( #763 )
...
Org-roam now skips over bad properties and throws a warning for the
given file that contains a malformed property. This allows most of the
database rebuild to complete, and for the user to fix the offending
file.
Fixes #728 .
6 years ago
Jethro Kuan
c61f7e20f2
(fix): simplify org-roam--str-to-list ( #762 )
...
This simplifies `org-roam--str-to-list`, and ensures that it parses
numbers correctly too. Fixes #745 .
6 years ago
Jethro Kuan
563252a6f6
(fix): remove alias for org-roam-buffer-no-delete-other-windows ( #761 )
...
This variable is made obsolete, and replaced with
`org-roam-buffer-window-parameters`, but their shape are different and
cannot be used interchangeably.
6 years ago
Tim Quelch
fdaf07da43
(fix): fix update-tags to correct delete removed tags ( #760 )
...
see https://github.com/org-roam/org-roam/pull/759#discussion_r435704588
6 years ago
Göktuğ Karakaşlı
5d25c4552d
(internal): change `org-roam-db--update-tags` to only add non-nil tags ( #759 )
6 years ago