Jethro Kuan
3615969b35
Merge branch 'v2' of github.com:org-roam/org-roam into v2
2021-04-15 03:14:37 +08:00
Jethro Kuan
517f18afb4
minor docs
2021-04-14 02:34:34 +08:00
Jethro Kuan
b1ebba4b9a
lints
2021-04-14 01:26:40 +08:00
Jethro Kuan
bad71fb928
lints
2021-04-14 01:22:39 +08:00
Jethro Kuan
bbefa7c174
lints
2021-04-14 01:17:50 +08:00
Jethro Kuan
1773978dc3
Add docstring for Org-roam capture templates
2021-04-14 00:31:01 +08:00
Jethro Kuan
4cddc21c02
fix olp-related functionality
2021-04-13 23:55:37 +08:00
Jethro Kuan
121d08562d
fix
2021-04-13 23:35:50 +08:00
Jethro Kuan
fbf15fe5f2
fix some lints
2021-04-13 19:42:46 +08:00
Jethro Kuan
4d697dea8f
fix org-roam-insert
2021-04-13 19:38:31 +08:00
Jethro Kuan
e612b3f068
Update template syntax, allow capture directly to nodes
2021-04-13 19:28:47 +08:00
Jethro Kuan
c9636d6551
minor renames
2021-04-13 17:09:20 +08:00
Jethro Kuan
eef1ed2873
[breaking] update org-capture templates syntax
2021-04-12 22:37:31 +08:00
Jethro Kuan
a1710b41b3
pass node separately
2021-04-11 21:28:18 +08:00
Jethro Kuan
628d5dcfbe
fix indent
2021-04-11 17:56:59 +08:00
Jethro Kuan
516d8dfbf8
pass node around instead
2021-04-11 17:10:57 +08:00
Jethro Kuan
866368bfee
convert info to plist
2021-04-11 16:32:59 +08:00
Jethro Kuan
1c831dcd73
fix indents
2021-04-11 15:18:30 +08:00
Jethro Kuan
3a2df140cb
update conversion to accept template overrides
...
rename org-roam-capture--capture to org-roam-capture-
2021-04-11 15:05:22 +08:00
Jethro Kuan
6f233363c8
fix indents
2021-04-10 00:34:43 +08:00
Jethro Kuan
09b0d74359
add ref
2021-04-10 00:32:55 +08:00
Jethro Kuan
1b1d2b2b76
[?] add ref...?
2021-04-09 22:35:01 +08:00
Jethro Kuan
9a6cfe56c4
fix lint
2021-04-09 18:49:17 +08:00
Jethro Kuan
45546ff6fa
fix some lints
2021-04-09 18:15:45 +08:00
Jethro Kuan
7a6b885b99
[breaking] update org-roam capture-template syntax
2021-04-09 15:54:26 +08:00
Jethro Kuan
39bb939dc2
remove org-roam-capture--context
2021-04-09 14:16:01 +08:00
Jethro Kuan
467b165678
fix org-roam-capture
2021-04-08 22:30:28 +08:00
Jethro Kuan
d641ad4792
fix
2021-04-07 23:14:47 +08:00
Jethro Kuan
18083cc1ed
fix lint
2021-04-07 10:48:34 +08:00
Jethro Kuan
5b0078e79d
fix lints
2021-04-07 10:14:40 +08:00
Jethro Kuan
5a3363ac22
fix lints
2021-04-07 10:09:46 +08:00
Jethro Kuan
18aa3ac787
implement correct fix for org-roam-dailies
2021-04-07 10:01:33 +08:00
Alan Zimmerman
7a493d8549
[V2] make org-roam-dailies-xxx work
2021-04-07 09:54:05 +08:00
Jethro Kuan
73a04a611a
simplify: remove more unused things
2021-04-05 12:14:58 +08:00
Jethro Kuan
ca1080b349
simplify: remove unused things
2021-04-03 21:26:18 +08:00
Jethro Kuan
4e5a21d7e3
(breaking): simplify org-roam-capture
...
:file-name to contain extension. Specify ~.org.gpg~ to default to
encrypted, or ~.md~, if you wish to not use Org-mode...
2021-04-03 20:05:23 +08:00
Jethro Kuan
fb27fc78bc
org-roam-capture: refactor
2021-04-02 21:18:40 +08:00
Jethro Kuan
a35b0e7c6d
org-roam-capture: cleanup capture calls
2021-04-02 20:10:04 +08:00
Jethro Kuan
490901957e
fix some byte-compile errors
2021-03-29 00:34:30 +08:00
Jethro Kuan
f681c51630
fix
2021-03-28 23:58:43 +08:00
Jethro Kuan
315e2dc447
fix lints
2021-03-24 14:24:40 +08:00
Jethro Kuan
6fae3aa74c
fix capture
2021-03-19 11:20:19 +08:00
Jethro Kuan
53dcf687ef
org-roam v2
2021-03-19 11:20:18 +08:00
Jethro Kuan
06e5814898
(fix): org-roam-dailies: fix false warning on new file ( #1387 )
...
Fixes #1358
2021-01-16 21:06:50 +08:00
Jethro Kuan
05a9bc44f2
(fix): fix org-roam-capture--get-point ( #1376 )
2021-01-11 19:38:02 +08:00
Jethro Kuan
3fb4e21adf
(fix): fix org-roam-protocol--open-ref creating new files ( #1375 )
...
We need to split the ref into its type/file before querying the db for a
match. Throw a warning when `org-roam--capture-new-file` tries to
recreate an existing file.
2021-01-10 23:05:45 +08:00
Jethro Kuan
48e195dd82
(refactor): refactor org-roam-capture ( #1355 )
2020-12-22 21:57:02 +08:00
Jethro Kuan
43831c5819
(fix): allow link captures ( #1347 )
...
Previously we had set `org-capture-link-is-already-stored` to `t` in
org-roam captures, because org-roam-protocol stores links. This
prevented regular captures from utilizing the %a element in the
templates.
Instead, only set `org-capture-link-is-already-stored` in the
org-roam-protocol capture command.
Fixes #1341 .
2020-12-16 21:12:21 +08:00
Jethro Kuan
06d0db736a
(internal): remove error-checking for olp ( #1326 )
...
The `org-roam-capture-find-or-create-olp` function will throw the same
error, so we don't have to explicitly catch and throw.
2020-11-24 21:09:28 +08:00
Jethro Kuan
b1608bf869
(feat): capture: create OLP if does not exist ( #1270 )
...
Remove the requirement that the OLP already exists in the captured file.
Also, make OLP available beyond dailies functionality.
2020-11-13 16:29:00 +08:00