3c6e1b5194
add interactive functions
...
Added org-roam-{alias,ref}-{add,remove}. Fixed org-roam-protocol. Added
some docs.
2021-04-21 02:09:50 +08:00
67b1562582
fix completions for roam: links
2021-04-20 20:23:49 +08:00
05d95abc2e
support node
in org-roam-capture
2021-04-20 19:24:56 +08:00
f43b24a5bf
propertize candidates with 'node
2021-04-17 14:23:42 +08:00
6c34528837
fix
2021-04-16 03:13:24 +08:00
bc7a4986d8
add org-roam-node-annotation-function
...
cc @nobiot
2021-04-16 00:00:02 +08:00
624ac77fe2
remove annotation function
2021-04-15 20:22:04 +08:00
0697f376eb
remove org-roam-title-to-slug-function
2021-04-15 19:49:47 +08:00
f52c3a47d4
fix highlights for completing-read #1467
2021-04-15 03:13:35 +08:00
a1710b41b3
pass node separately
2021-04-11 21:28:18 +08:00
516d8dfbf8
pass node around instead
2021-04-11 17:10:57 +08:00
866368bfee
convert info to plist
2021-04-11 16:32:59 +08:00
3a2df140cb
update conversion to accept template overrides
...
rename org-roam-capture--capture to org-roam-capture-
2021-04-11 15:05:22 +08:00
7a6b885b99
[breaking] update org-roam capture-template syntax
2021-04-09 15:54:26 +08:00
39bb939dc2
remove org-roam-capture--context
2021-04-09 14:16:01 +08:00
5a3363ac22
fix lints
2021-04-07 10:09:46 +08:00
50436a9b1c
Merge branch 'master' into v2
...
* master:
optimize filename normalize (#1460 )
2021-04-07 09:51:50 +08:00
2d58651699
optimize filename normalize ( #1460 )
...
* Normalize slug using ucs-normalize-NFC-string after remove Unicode spacing mark
* Add org-roam-slug--preserve-chars-from-normalization for Unicode Normalization
* Add org-roam-slug-trim-chars instead of org-roam-slug--preserve-chars-from-normalization
2021-04-05 21:35:58 +08:00
ca1080b349
simplify: remove unused things
2021-04-03 21:26:18 +08:00
a35b0e7c6d
org-roam-capture: cleanup capture calls
2021-04-02 20:10:04 +08:00
eec1edf8f5
simplify
2021-04-01 23:35:05 +08:00
3d61a76ecb
make tags searchable
2021-04-01 19:25:30 +08:00
49541298ba
add node display template
2021-04-01 18:01:46 +08:00
490901957e
fix some byte-compile errors
2021-03-29 00:34:30 +08:00
ae5a0c15ba
fix lints
2021-03-28 23:54:01 +08:00
732efc6262
merge most files together
2021-03-28 20:32:07 +08:00
e62cf7f8aa
add persistent org-roam-buffer
2021-03-25 20:37:28 +08:00
6bcf164036
fix org-roam--org-roam-file-p
...
fixes tests
2021-03-24 17:16:08 +08:00
315e2dc447
fix lints
2021-03-24 14:24:40 +08:00
2f77ae709d
fix id retrieval resulting in infinite loop
...
Use custom `org-roam-up-heading-or-point-min` to prevent infinite
looping during ID retrieval. Fixes #1452 .
2021-03-24 13:54:57 +08:00
25c41a079a
cleanup tests
2021-03-19 11:20:18 +08:00
53dcf687ef
org-roam v2
2021-03-19 11:20:18 +08:00
fde40dc1c4
(fix) parsing of missing props ( #1406 )
...
Followup from #1404
2021-01-26 14:45:19 +08:00
96b0a52273
(fix) inconsistency between props writing and reading (alias, tags) ( #1404 )
...
Fixes #1403
2021-01-26 11:09:19 +08:00
aa52b65a4a
(feat): add org-roam-file-completion-tag-position
( #1396 )
2021-01-23 18:09:52 +08:00
1b3a0abd36
(feat): add org-roam-buffer-preview-function ( #1388 )
...
Instead of storing preview content in the database, now provide a
function to fetch these on the fly. This paves the way for future
improvements (e.g. showing more lines)
2021-01-17 02:52:39 +08:00
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
62bba9755c
(fix): keep id backlinks on filename change ( #1367 )
2021-01-10 16:01:15 +08:00
65c0f0dc8c
(feat): use org-link-display-format in org-roam-insert ( #1356 )
...
So that, like org-store-link, the computed description does not
contain the links that were captured.
2020-12-25 13:43:41 +08:00
48e195dd82
(refactor): refactor org-roam-capture ( #1355 )
2020-12-22 21:57:02 +08:00
777f6d23ec
(feat): Support file-property drawers ( #1353 )
...
* (feat): Support file-property drawers
Add support for file-property drawers in property extraction. This means
the following is now supported:
:PROPERTIES:
:ROAM_ALIAS: alias
:ROAM_TAGS: tag1 tag2
:END:
2020-12-19 23:59:40 +08:00
8f1cf7b449
(fix): set-global-prop: prefer lowercase ( #1352 )
...
Prefer lower-case version of Org properties. Fixed bug where
adding/deleting props will alter the original case of the Org property.
Addresses #1342
2020-12-19 19:23:27 +08:00
57cfb3dbb7
(fix): index file: prevent malformed absolute path ( #1346 )
...
When `org-roam-directory` doesn't end with trailing slash and
`org-roam-index-file` contains relative filename, absolute path
to org-roam index file returned by `org-roam--get-index-path` is
malformed and invalid.
Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com >
2020-12-16 20:31:32 +08:00
9c23218553
(docs): fix docstring for org-roam--get-title-path-completions ( #1344 )
2020-12-15 20:26:43 +08:00
f2976fa3be
(fix): close files intelligently after modifying ( #1330 )
...
Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com >
2020-12-15 18:33:55 +08:00
cff1168ac1
(doc): fix link to manual ( #1328 )
2020-11-28 19:44:15 +08:00
fb0662efe7
(fix): uniqify title and tag extraction ( #1325 )
...
Remove duplicates from title and tag extraction, arising from
multiple (or the same) sources.
Fixes #1324
2020-11-24 20:00:49 +08:00
9ca5461a2f
(fix): fix mode toggle not re-enabling buffer-local hooks ( #1321 )
2020-11-23 19:59:30 +08:00
bf41352c1c
(fix): fix title change not triggering rename if new title contains old ( #1315 )
...
title
Fixes #1303
2020-11-20 21:32:36 +08:00
ab34dd138d
(fix): fix rename file corrupting database ( #1308 )
...
The rename file advice is passed relative file names: e.g. "foo.org" ->
"bar.org". This was not accounted for, and paths in the Org-roam
database are supposed to be absolute paths. This caused the storing of
relative paths in the Org-roam database, which were then never purged.
Fixes #1304
2020-11-19 22:26:59 +08:00