1bbc20cfa8
remove primary key constraint on aliases table
...
this allows a node to have multiple aliases cc @myshevchuk
2021-05-03 11:37:00 +08:00
de94212cdd
ensure buffer-encoding is appropriate
...
don't do a literal find for files, but do all the
org-inhibit-startup/delay-mode-hooks setting in the lexical context.
Addresses #1497 ?
2021-05-03 04:16:13 +08:00
78144d434b
cache completions display format ( #1505 )
...
Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com >
2021-05-03 03:52:17 +08:00
55526a4283
Fix auto save buffer in org-roam-doctor ( #1493 )
2021-05-03 03:36:50 +08:00
9405d014af
fix: permanent-redisplay ( #1504 ) ( #1506 )
...
Related to #1504 , commit 109917c
It needs to change dolist for `sections` to `section-functions`
2021-05-03 02:59:41 +08:00
98434919e0
discard inherited property on headline node tags
...
Addresses #1494
2021-05-03 02:51:51 +08:00
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
6fe38b959b
fix
2021-05-02 17:23:38 +08:00
44960f189f
fix lints
2021-05-02 17:08:02 +08:00
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
f8f3870cf0
ensure binary when loading org-roam-db
2021-05-02 16:59:33 +08:00
1bdfc25f80
remove NOTE on foreign key
2021-05-02 16:43:50 +08:00
109917c589
org-roam-mode-sections: Convert to abnormal hook ( #1504 )
...
See: #1503
2021-05-02 16:35:36 +08:00
bc4b7fa409
prefer mapconcat over string-join ( #1502 )
2021-05-02 16:34:43 +08:00
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
0a7d365e22
speed up org-roam-db-sync by wrapping db activity in a transaction ( #1495 )
...
In my case of testing with 8253 zettels (available on request if
anyone wants to test with them), this improves cleanup speed by 6x
and update speed by 2x.
Improvements will be smaller for smaller batches as this really just
removes the transaction overhead.
2021-04-30 12:51:29 +08:00
389bf3c7e2
Add properties and olp to db
2021-04-29 14:02:14 +08:00
ca1b02829b
title: replace link with description on db-build
2021-04-28 13:54:12 +08:00
dd7c3fab23
Merge branch 'master' into v2
...
* master:
(doc): Add file-truename to set org-roam-directory (README and documentation) (#1487 )
2021-04-28 13:45:23 +08:00
15c1a46e41
(doc): Add file-truename to set org-roam-directory (README and documentation) ( #1487 )
...
* (doc): Add file-truename to set org-roam-directory
Refer this debuging Slack exchange:
https://orgroam.slack.com/archives/CV160S8EL/p1619089118195300
Not using `file-truename` to set
`org-roam-directory` can lead to an issue that is
hard to identify.
It appears that cache database may updates with
files but `org-roam-buffer` fails to find the file
as symbolic links do not resolve. This is
confusing as the table query to the table seems to
return what appears to be correct entries, but the
backlink fails to insert context around the
link (as Org-roam fails to find the file).
There have been similiar issues -- by making sure
`file-truename` is added in the documentation and
README, it is hoped to eliminate such issues to
recur.
This is probably relevant for V2.
* undo changes to texi
Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com >
2021-04-28 13:43:42 +08:00
22c8d1032b
fix indent
2021-04-28 13:16:08 +08:00
4e0b3fb564
update docs
2021-04-27 23:16:27 +08:00
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
68dab59a69
delete new file if org-note-abort
...
Fixes #1490
2021-04-27 20:11:55 +08:00
2dc5d6281a
make tag completions unique
2021-04-27 19:18:42 +08:00
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
fd23360100
Add back ROAM_TAGS to top-level nodes
2021-04-27 13:04:24 +08:00
57f63461cd
(perf): make Org load faster on literal find
2021-04-26 23:20:06 +08:00
d9ba961f96
fix indent
2021-04-26 00:47:40 +08:00
169ebe6367
fix org-roam-dailies-capture-templates
...
Fixes #1489
2021-04-26 00:28:55 +08:00
38b5375354
update title to not truncate
2.0.0a1
2021-04-25 09:28:14 +08:00
aa755a8c77
add additional newline for preview sections
...
Addresses #1488
2021-04-25 08:31:58 +08:00
49c048a177
show alias in node completions instead of title
2021-04-25 08:31:22 +08:00
741677869c
remove subr-x require
2021-04-25 00:25:21 +08:00
9da45b54f3
remove s
2021-04-24 04:18:16 +08:00
1440802b8b
remap revert-buffer instead
2021-04-23 19:25:36 +08:00
0163461f87
Add org-roam-buffer-render
...
bind 'g' to org-roam-buffer-render
2021-04-23 19:04:58 +08:00
c866275086
move things around
2021-04-23 18:00:41 +08:00
a37dd6afea
replace s-format with org-roam-format
2021-04-23 15:54:57 +08:00
3f31ff2cd9
catch duplicate IDs during DB insertion
2021-04-23 15:06:41 +08:00
20e021fdde
org-roam-capture: cleanup api
2021-04-23 14:55:54 +08:00
5db30d8fdc
end-of-subtree on ref captures
2021-04-23 14:51:17 +08:00
b12bd4ea40
fix lint
2021-04-23 13:56:20 +08:00
e6acc40e79
add org-roam-capture-new-node-hook
2021-04-23 13:49:02 +08:00
d53f0e60bf
org-roam-db-sync: support emacs 26.1
...
don't use dolist with progress report if it does not exist. results in
slightly degraded experience, but at least it works.
2021-04-22 00:37:19 +08:00
45aa3e6973
fill-template: fill from plist
2021-04-22 00:23:10 +08:00
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
be81a3a738
fix lint
2021-04-21 00:36:22 +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