Commit Graph

117 Commits

Author SHA1 Message Date
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
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
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
22c8d1032b fix indent 2021-04-28 13:16:08 +08:00
Jethro Kuan
68dab59a69 delete new file if org-note-abort
Fixes #1490
2021-04-27 20:11:55 +08:00
Jethro Kuan
741677869c remove subr-x require 2021-04-25 00:25:21 +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
20e021fdde org-roam-capture: cleanup api 2021-04-23 14:55:54 +08:00
Jethro Kuan
5db30d8fdc end-of-subtree on ref captures 2021-04-23 14:51:17 +08:00
Jethro Kuan
b12bd4ea40 fix lint 2021-04-23 13:56:20 +08:00
Jethro Kuan
e6acc40e79 add org-roam-capture-new-node-hook 2021-04-23 13:49:02 +08:00
Jethro Kuan
45aa3e6973 fill-template: fill from plist 2021-04-22 00:23:10 +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
05d95abc2e support node in org-roam-capture 2021-04-20 19:24:56 +08:00
Jethro Kuan
3664d22fde simplify 2021-04-17 18:50:09 +08:00
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