Jethro Kuan
7ed513294d
org-roam-node-at-point: include point info
...
org-roam-node-at-point now returns a node with id and point if the noden
is not yet saved in the database. Fixes #1500 .
2021-05-02 17:33:00 +08:00
Jethro Kuan
6fe38b959b
fix
2021-05-02 17:23:38 +08:00
Jethro Kuan
44960f189f
fix lints
2021-05-02 17:08:02 +08:00
Jethro Kuan
fbe3f2909f
Add org-macs where org-with-wide-buffer is called
...
Addresses https://github.com/org-roam/org-roam/issues/1026#issuecomment-830742020
2021-05-02 17:04:15 +08:00
Nicholas Vollmer
bc4b7fa409
prefer mapconcat over string-join ( #1502 )
2021-05-02 16:34:43 +08:00
Jethro Kuan
f8dd345bd1
emacsql-sqlite3 -> emacsql-sqlite
...
Revert from emacsql-sqlite3 to emacsql-sqlite for foreign key support.
This makes it slightly harder to get Org-roam up and running for
Windows, but not impossible, but foreign keys makes database operations
faster and keeps the code clean.
Also, fix schemata for foreign keys on various tables, and add indices
where joins are common (org-roam-db--table-indices).
2021-05-02 16:30:43 +08:00
Jethro Kuan
389bf3c7e2
Add properties and olp to db
2021-04-29 14:02:14 +08:00
Jethro Kuan
697c686390
remove roam_tags
...
See #1492 . Primary reason really is that I do want tags to be exactly
like Org tags, so we can reuse some of Org's cool features related to
tags.
2021-04-27 22:51:21 +08:00
Jethro Kuan
2dc5d6281a
make tag completions unique
2021-04-27 19:18:42 +08:00
Jethro Kuan
eb9a9e487c
add org-roam-tag-{add,remove}
...
also fix org-roam interactive functions to operate on node
2021-04-27 18:04:53 +08:00
Jethro Kuan
38b5375354
update title to not truncate
2021-04-25 09:28:14 +08:00
Jethro Kuan
aa755a8c77
add additional newline for preview sections
...
Addresses #1488
2021-04-25 08:31:58 +08:00
Jethro Kuan
49c048a177
show alias in node completions instead of title
2021-04-25 08:31:22 +08:00
Jethro Kuan
9da45b54f3
remove s
2021-04-24 04:18:16 +08:00
Jethro Kuan
c866275086
move things around
2021-04-23 18:00:41 +08:00
Jethro Kuan
a37dd6afea
replace s-format with org-roam-format
2021-04-23 15:54:57 +08:00
Jethro Kuan
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
Jethro Kuan
67b1562582
fix completions for roam: links
2021-04-20 20:23:49 +08:00
Jethro Kuan
05d95abc2e
support node
in org-roam-capture
2021-04-20 19:24:56 +08:00
Jethro Kuan
f43b24a5bf
propertize candidates with 'node
2021-04-17 14:23:42 +08:00
Jethro Kuan
6c34528837
fix
2021-04-16 03:13:24 +08:00
Jethro Kuan
bc7a4986d8
add org-roam-node-annotation-function
...
cc @nobiot
2021-04-16 00:00:02 +08:00
Jethro Kuan
624ac77fe2
remove annotation function
2021-04-15 20:22:04 +08:00
Jethro Kuan
0697f376eb
remove org-roam-title-to-slug-function
2021-04-15 19:49:47 +08:00
Jethro Kuan
f52c3a47d4
fix highlights for completing-read #1467
2021-04-15 03:13:35 +08:00
Jethro Kuan
a1710b41b3
pass node separately
2021-04-11 21:28:18 +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
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
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
5a3363ac22
fix lints
2021-04-07 10:09:46 +08:00
Jethro Kuan
50436a9b1c
Merge branch 'master' into v2
...
* master:
optimize filename normalize (#1460 )
2021-04-07 09:51:50 +08:00
USAMI Kenta
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
Jethro Kuan
ca1080b349
simplify: remove unused things
2021-04-03 21:26:18 +08:00
Jethro Kuan
a35b0e7c6d
org-roam-capture: cleanup capture calls
2021-04-02 20:10:04 +08:00
Jethro Kuan
eec1edf8f5
simplify
2021-04-01 23:35:05 +08:00
Jethro Kuan
3d61a76ecb
make tags searchable
2021-04-01 19:25:30 +08:00
Jethro Kuan
49541298ba
add node display template
2021-04-01 18:01:46 +08:00
Jethro Kuan
490901957e
fix some byte-compile errors
2021-03-29 00:34:30 +08:00
Jethro Kuan
ae5a0c15ba
fix lints
2021-03-28 23:54:01 +08:00
Jethro Kuan
732efc6262
merge most files together
2021-03-28 20:32:07 +08:00
Jethro Kuan
e62cf7f8aa
add persistent org-roam-buffer
2021-03-25 20:37:28 +08:00
Jethro Kuan
6bcf164036
fix org-roam--org-roam-file-p
...
fixes tests
2021-03-24 17:16:08 +08:00
Jethro Kuan
315e2dc447
fix lints
2021-03-24 14:24:40 +08:00
Jethro Kuan
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
Jethro Kuan
25c41a079a
cleanup tests
2021-03-19 11:20:18 +08:00
Jethro Kuan
53dcf687ef
org-roam v2
2021-03-19 11:20:18 +08:00
Boris Buliga
fde40dc1c4
(fix) parsing of missing props ( #1406 )
...
Followup from #1404
2021-01-26 14:45:19 +08:00
Boris Buliga
96b0a52273
(fix) inconsistency between props writing and reading (alias, tags) ( #1404 )
...
Fixes #1403
2021-01-26 11:09:19 +08:00