Jethro Kuan
e544323499
remove check for org-mode in maybe-update-buffer
...
Some packages like org-journal define their own major mode. In
addition, the checks that the files are part of the org-roam ecosystem
should be sufficient.
2020-02-07 13:08:01 +08:00
Jethro Kuan
ea681ceceb
Move polyfill into main file
...
Prevents packaging mess
2020-02-07 12:44:40 +08:00
Jethro Kuan
4d825fedde
Become deft-free 🎉
2020-02-06 19:26:38 +08:00
Jethro Kuan
9d88334dd5
Add function org-roam-find-file
...
org-roam-find-file can be used to quickly navigate to a file in Roam.
2020-02-06 16:14:23 +08:00
Jethro Kuan
f49c1837f3
Add polyfill for make-empty-file
...
make-empty-file was only introduced in Emacs 27, which some people are
not yet running
2020-02-06 16:05:22 +08:00
Jethro Kuan
8fda90b3aa
Prevent running of too many timers
2020-02-06 12:49:13 +08:00
Jethro Kuan
f76fddd9cd
fix graph construction
2020-02-06 00:43:57 +08:00
Jethro Kuan
96f9c9f7ad
org-roam-insert creates the empty file
2020-02-05 23:00:45 +08:00
Jethro Kuan
f5fa29b45e
Check if window-buffer is a file
2020-02-05 20:30:02 +08:00
Jethro Kuan
09128bc9b2
Many fixes
...
-Add post-command hook locally to org-mode buffers only
2020-02-05 19:44:33 +08:00
Jethro Kuan
c57376ae66
Quick build-backlinks fix
2020-02-05 19:41:54 +08:00
Jethro Kuan
6d221a4d01
Allow nested files
2020-02-05 15:26:36 +08:00
Jethro Kuan
988cc3f0f9
make org-roam-buffer preview more bearable
2020-02-05 02:53:07 +08:00
Jethro Kuan
fbea9822ae
Fix cache building
2020-02-05 02:52:46 +08:00
Jethro Kuan
17cd762771
Fix graphviz incorrect directional edges
2020-02-05 02:29:06 +08:00
ryjm
e3b0b3b64d
Don't re-enable org-mode
...
If the org-roam buffer is already in org-mode, don't try to re-enable
it (since this essentially turns org-mode hooks into post-command-hooks
and can be computationally expensive).
2020-02-04 12:11:58 -05:00
Jethro Kuan
2f0107a978
Make org-roam buffer read-only
2020-02-05 00:17:35 +08:00
Jethro Kuan
8f3cb903fb
Create clickable SVG for org-roam-graph
2020-02-04 23:31:46 +08:00
Jethro Kuan
0a8cbcfe0e
Add graph rendering
2020-02-03 23:42:58 +08:00
Jethro Kuan
325cf082b9
Remove auto backlink adding
2020-02-03 21:22:38 +08:00
Jethro Kuan
83a6fab197
Fix org-roam-insert
2020-02-03 21:21:53 +08:00
Jethro Kuan
48dcb19abc
Add extension if none in org-roam-insert
2020-02-03 20:03:30 +08:00
Jethro Kuan
c0264fa420
add back cache
2020-02-03 16:58:45 +08:00
Jethro Kuan
8244eb8d00
multiple fixes
2020-02-03 16:53:57 +08:00
Jethro Kuan
f6436d29a2
Update buffer on completion of backlink building
2020-02-03 12:01:13 +08:00
Jethro Kuan
70b430df29
temporarily fix string-trim errors
2020-02-03 01:24:37 +08:00
Jethro Kuan
f968529b8d
prevent update when no backlinks
2020-02-03 01:06:23 +08:00
Jethro Kuan
4ab3c7d314
Add contents preview
...
Thanks @ryjm for the initial work
2020-02-03 00:21:29 +08:00
Jethro Kuan
45b1fe7326
small refactor
2020-02-02 18:02:28 +08:00
Jethro Kuan
6c2897cbd9
Code cleanup
2020-01-22 22:41:30 +08:00
Jethro Kuan
b173b0e12a
remove external dependencies
2020-01-22 19:45:42 +08:00
Jethro Kuan
3c57caf1ea
fix over-creation of timers
2020-01-22 19:16:48 +08:00
Jethro Kuan
00c4c7236a
add async rebuild
2020-01-22 19:05:51 +08:00
Jethro Kuan
4e4898e609
Insert backlink on org-roam-insert
2020-01-22 17:55:37 +08:00
Jethro Kuan
733a025825
Refactor org-roam-add-backlink
2020-01-22 17:55:30 +08:00
Jethro Kuan
3ab4b2f286
Add automatic update of org-roam buffer
2020-01-22 17:12:06 +08:00
Jethro Kuan
11e395dacc
update if visible
2020-01-22 01:52:17 +08:00
Jethro Kuan
d56f09b7fb
Use a side window instead
2020-01-22 01:40:11 +08:00
Jethro Kuan
104151853a
Add org-roam-backlinks building
2020-01-21 23:30:33 +08:00
Jethro Kuan
294964b957
Adds org-roam-today
...
The function creates a note for today and opens it, if it doesn't yet exist
2020-01-21 18:21:35 +08:00
Jethro Kuan
8a30a47eb1
add provide
2020-01-21 17:12:08 +08:00
Jethro Kuan
393ceea575
Initial extract
2020-01-05 17:04:37 +08:00