N V
22b9d4bd22
(internal): modularize features ( #363 )
...
Addresses #357
2020-03-28 21:16:28 +08:00
Jethro Kuan
df29da1b6d
(feat): add variable for muting messages ( #359 )
...
Adds `org-roam-verbose`, which echoes messages that are not errors.
2020-03-27 15:09:52 +08:00
Johann Klähn
de36d15d0f
Turn org-roam-backlinks-mode into a minor mode ( #355 )
...
This change makes `org-roam-open-at-point` non-interactive and adds it to
`org-open-at-point-functions`. As a consequence, `org-open-at-point` will try
to visit an Org-roam link or preview text, before falling back to the default
behavior of Org mode.
Fixes #312 .
2020-03-27 13:06:44 +08:00
Jethro Kuan
3e0a49de03
(bugfix): change declare-function for helm-build-sync-source
( #354 )
2020-03-26 20:17:06 +08:00
Jethro Kuan
3add2c5a8b
(feature): add org-roam-db-location
( #350 )
...
`org-roam-db-location` sets the location of the Org-roam sqlite database.
2020-03-24 12:22:00 +08:00
Jethro Kuan
4b6f580375
(bugfix): fix org-roam date functions filename format ( #349 )
...
Previously the filename was not used in the capture template.
2020-03-24 11:47:40 +08:00
Jethro Kuan
1433dbc316
(release): v1.0.0 ( #341 )
2020-03-23 15:34:21 +08:00
Jethro Kuan
def3d27d25
(internal): small refactor ( #340 )
2020-03-22 12:12:40 +08:00
Jethro Kuan
07672213b6
(chore): fix bytecompile errors and checkdoc errors ( #338 )
2020-03-22 03:16:38 +08:00
Johann Klähn
5406827451
(internal): use org-link-make-string ( #337 )
...
This takes care of properly escaping backslashes in file names.
2020-03-22 02:46:36 +08:00
Jethro Kuan
214a8f771f
(internal): reduce org-roam capture template key pollution ( #336 )
...
Following #332 , nest all org-roam related customization in to a single
key.
2020-03-22 00:13:19 +08:00
Jethro Kuan
57f5e73192
(internal): force a reconnect on org-roam-build-cache ( #335 )
...
This is to guard against scenarios where a db connection is still live, although it
may already be invalid (like in #331 )
2020-03-21 22:30:30 +08:00
Mykhailo Shevchuk
1352809451
ensure "%?" is present in the template string ( #330 )
...
* ensure "%?" is present in the template string
- addresses #298
- fixes `org-capture-place-plain-text` throwing 'invalid search bound'
when both :unnarowed t and "%?" is missing from the template string
* ensure "%?" is present in the template string
- if "%?" is missing, add it at the end of the template
2020-03-21 20:56:20 +08:00
N V
8b37135aa2
(internal): refactor to remove hooks in a loop ( #334 )
...
Removing hooks in a loop should be easier to extend/maintain.
More "DRY" than repeating calls to `remove-hook'.
Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com >
2020-03-21 12:43:11 +08:00
N V
159e11c842
(internal): update cl.el functions to cl-lib versions ( #333 )
...
cl is a deprecated library. cl-lib replaces it.
2020-03-21 12:40:13 +08:00
Jethro Kuan
63b2eaaf86
(bugfix): throw an error on nested org-roam capture processes ( #329 )
2020-03-20 20:17:56 +08:00
Jethro Kuan
919d08732c
(bugfix): fix nested org-roam-inserts not working ( #328 )
2020-03-20 00:57:32 +08:00
Thomas Proisl
97dfc4b980
(bugfix): fix `org-roam--completing-read' for ido ( #324 )
...
For `ido-completing-read', `choices' must be a list of strings
2020-03-19 16:23:04 +08:00
Jethro Kuan
4556f727ff
(bugfix): fix org-roam-capture not saving file, and org-roam date functions ( #321 )
...
* (bugfix): fix org-roam-captures not saving file
* (bugfix): fix org-roam date functions
2020-03-18 01:11:08 +08:00
Jethro Kuan
6775f15ad1
(bugfix): prevent file open if capture is cancelled ( #316 )
2020-03-17 17:20:55 +08:00
Jethro Kuan
8f8ccf6797
(feat): clean-ups for org-roam-capture system ( #315 )
...
This introduces 2 user-facing changes:
1. If a capture process is aborted, the file is not created if it
doesn't yet exist
2. If a capture process is aborted, org-roam-insert will not insert a
link
2020-03-17 17:06:49 +08:00
Jethro Kuan
81dd880357
(bugfix): fix ugly node labels in org-roam graph ( #314 )
2020-03-17 13:00:45 +08:00
Jethro Kuan
c14ac7b613
(bugfix): fix Helm completing-read containing extra spaces on non-match ( #309 )
2020-03-16 17:42:57 +08:00
Jethro Kuan
08667d9c7d
(bugfix): Fix Helm integration for completing-read ( #306 )
...
Fixes #304 , using PR #305 as the base, thanks @khinsen
2020-03-16 13:00:12 +08:00
wannli
f544bd9ca1
hexify file url for org-protocol link ( #299 )
...
Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com >
2020-03-15 21:55:54 +08:00
Jethro Kuan
66aff57cdb
(bugfix): capture: prepend header template only on new file ( #302 )
2020-03-15 21:50:25 +08:00
wannli
f238e3fe02
(feat): order backlinks by filename ( #300 )
...
Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com >
2020-03-15 15:26:24 +08:00
Mykhailo Shevchuk
98fc273a0f
(internal): less abusive use of org-capture ( #294 )
...
`org-roam--capture-new-file` does not write anything to a file, all the templating is delegated to vanilla `org-capture`
2020-03-15 13:41:36 +08:00
Jethro Kuan
6f1154c90e
(bugfix): remove nonexistent/redundant code ( #297 )
2020-03-14 14:55:53 +08:00
Jethro Kuan
486ba9c5a8
(feat): upgrade org-roam-graph-exclude-matcher
to accept a list ( #296 )
...
Closes #295
2020-03-14 01:17:32 +08:00
Jethro Kuan
d28a83c992
(bugfix): fix unintuitive behaviour of capture insertion ( #293 )
...
Ref #285
2020-03-13 18:13:04 +08:00
Jethro Kuan
a44b847596
(docs): add documentation for using neato ( #291 )
...
Some prefer using neato for generating a graph (ref #263 ). This
documents how to do so.
2020-03-13 13:37:55 +08:00
Jethro Kuan
e64890c80e
(feat): add org-roam-date-title-format and org-roam-date-filename-format ( #290 )
...
This PR supercedes #280 . It allows users who use the date
functionality in Org-roam to customize the filename and title formats
of the created files.
2020-03-13 13:29:49 +08:00
Jethro Kuan
4eaf69465e
(feat): add 'ido and 'ivy support for completing-read ( #289 )
...
Also adds org-roam-fuzzy-match, which for ivy and helm controls
whether completion candidates are fuzzy matched.
2020-03-13 13:11:22 +08:00
Konrad Hinsen
0950ae3cc6
(feature): add support for Helm's completion system ( #284 )
...
adds org-roam-completion-system, supporting helm as the default completion option.
2020-03-12 19:34:27 +08:00
Jethro Kuan
0cab668d9e
(bugfix): propagate org-roam-directory to temp buffers ( #275 )
2020-03-11 15:41:18 +08:00
Jethro Kuan
65ead3c9ed
(chore): fix more checkdoc errors ( #270 )
2020-03-11 00:55:42 +08:00
Jethro Kuan
be1d1f1d7b
(feat): add org-roam-graphviz-extra-options ( #269 )
2020-03-11 00:44:07 +08:00
Jethro Kuan
f5d5b83b49
(bugfix): fix missed org-roam-link-title-format uses ( #268 )
...
In #261 we allowed org-roam-link-title-format to be a function, but missed some of its uses during the update. h.t. @alanz
2020-03-11 00:34:08 +08:00
Thomas Proisl
8a3945945b
(bugfix): emove duplicate line from `org-roam--db-clear' ( #267 )
2020-03-10 15:35:34 +08:00
Jethro Kuan
7f09c76baf
(fix): allow org-roam-insert in Org-roam file indirect buffers ( #266 )
2020-03-10 10:57:49 +08:00
Jethro Kuan
f6e75f995a
(chore): cleanup buffer-file-name calls ( #265 )
...
buffer-file-name uses the current-buffer if the argument is not passed
2020-03-10 10:41:43 +08:00
Jethro Kuan
6ba9ffe9c8
(fix): Error if org-roam-insert is not called from Org-roam file ( #264 )
2020-03-10 10:36:36 +08:00
Jethro Kuan
5e0b7440a3
(feat): Allow function for org-roam-link-title-format ( #261 )
...
Addresses #255
2020-03-09 22:18:04 +08:00
Jethro Kuan
d16d001b9e
(feat): add optional initial-prompt to org-roam-find-file ( #259 )
2020-03-09 16:43:48 +08:00
Jürgen Hötzel
b836f9fc35
(bugfix): Don't query about SQL proccess on Emacs exit ( #253 )
...
Graceful shutdown is already guaranteed via `kill-emacs-hook`.
Refs #200
Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com >
2020-03-08 19:57:48 +08:00
Jethro Kuan
63e0558d96
(chore): Cleanups for MELPA release ( #251 )
...
* (chore): require minimum Org version 9.3
* fix bytecompile errors for org-roam.el
* fix checkdoc errors
* fix more things
2020-03-08 15:58:13 +08:00
Alexey Shmalko
6eb7238daf
(feature): add org-roam-backlink face ( #247 )
2020-03-08 14:54:56 +08:00
Alexey Shmalko
fc79901682
(chore): drop org-roam-filename-noconfirm ( #248 )
...
With org-capture integration, it does not seem to be used anymore.
2020-03-08 11:15:41 +08:00
Jethro Kuan
e357693297
(release): v1.1.0-rc1 ( #238 )
2020-03-06 20:39:28 +08:00