Jethro Kuan
efd2072070
Add documentation for configuration options ( #65 )
...
* document org-roam-directory
* rename org-roam-position, and document org-roam-buffer-position
* document org-roam-buffer
* document org-roam-buffer-width
* Document org-roam-graphviz-executable
* document org-roam-graph-viewer
* document org-roam-link-title-format
2020-02-13 03:14:34 +08:00
Jethro Kuan
791c059200
Simplify org-roam-insert and org-roam-find-file ( #62 )
...
* Simplify org-roam-insert and org-roam-find-file
See #59 .
* Add docs for org-roam automatic filenaming
* Update installation instructions
2020-02-13 00:25:45 +08:00
Jethro Kuan
5c1d22352e
Add org-roam-timestamped-files option
2020-02-12 22:18:03 +08:00
Jethro Kuan
c91bd7be92
add org-roam--title-to-id
2020-02-12 21:18:13 +08:00
Jethro Kuan
5ee1cf198d
Refactor into org-roam--make-file
2020-02-12 19:05:13 +08:00
Jethro Kuan
654a0d4070
Add org-roam--populate-title
...
The title is now automatically populated by default. This behaviour is
customizable via org-roam-autopopulate-title. The title is either
provided during prompt, or inferred from the file name.
2020-02-12 19:05:04 +08:00
Jethro Kuan
12cd3079a9
Add checks before updating cache with org-roam--update-cache
2020-02-12 19:04:57 +08:00
Jethro Kuan
f724e59555
Make after-save hook local
2020-02-11 16:21:16 +08:00
Jethro Kuan
1432c7c9c2
Refactor caches into their own variables
2020-02-11 16:19:59 +08:00
Jethro Kuan
152c3cecdc
Merge pull request #47 from jethrokuan/feat/async-cache
...
Move all expensive build-cache computation to async-process
2020-02-10 18:12:12 +08:00
Jethro Kuan
64693f572d
Move all expensive build-cache computation to async-process
2020-02-10 18:10:06 +08:00
Jethro Kuan
6f1938e1ac
Merge pull request #45 from jethrokuan/fix/check-cache
...
Add org-roam--ensure-cache-built
2020-02-10 17:10:48 +08:00
Jethro Kuan
cb0c9495b9
Add org-roam--ensure-cache-built
...
org-roam--ensure-cache-built errors out if the cache is not yet built,
and attempts to build the cache.
2020-02-10 17:10:24 +08:00
Jethro Kuan
2d8c7595c0
Merge pull request #44 from jethrokuan/fix/symlinks-handling
...
Fix symlinks handling
2020-02-10 16:33:19 +08:00
Jethro Kuan
1a1702c1f5
Fix symlinks handling
2020-02-10 16:32:52 +08:00
Jethro Kuan
112324ebcf
Add org-roam-new-file
...
`org-roam-new-file` quickly creates a new file using the current
timestamp.
2020-02-10 15:46:54 +08:00
Jethro Kuan
06890773ae
Add org-roam-link-id-format and org-roam-link-title-format
...
This allows for customizing how org-roam links look when inserted
2020-02-10 15:35:45 +08:00
Jethro Kuan
bb85ad1976
Update org-roam-find-file to use title
2020-02-10 14:03:24 +08:00
Jethro Kuan
bfc8bef7f6
Refactor org-roam-update to use caching functionality
2020-02-10 13:55:23 +08:00
Jethro Kuan
c6af97bbdd
Add org-roam--insert-title
2020-02-10 13:46:17 +08:00
Jethro Kuan
e165486dc5
Build additional titles cache
2020-02-10 12:50:13 +08:00
Jethro Kuan
fbc5944d12
Fix interactive commands using the wrong paths
2020-02-10 11:58:40 +08:00
Jethro Kuan
32865d3d0c
Fix org-roam buffer being selected on org-roam--setup-buffer
2020-02-09 21:22:24 +08:00
Jethro Kuan
3fb4fcc641
Add customizable width for org-roam buffer
2020-02-09 20:59:39 +08:00
Jethro Kuan
99f30a6583
Update styling for org-roam buffer
2020-02-09 20:59:07 +08:00
Jethro Kuan
57633929d7
use raw-value first
2020-02-09 20:02:57 +08:00
Jethro Kuan
7a578ff764
Massive cleanup operation 😅
...
Hopefully the last of its kind.
Removes the timer for rebuilding the cache, in favour of an
incremental cache building approach. This requires significant change
to the cache structure.
- Add forward links to cache.
- At the same time, using file-truename in the cache, rather than
- org-roam id
Also fill up more documentation, and other optimizations to other
parts of org-roam.
2020-02-09 15:31:12 +08:00
Jethro Kuan
06dca598ad
Only enable post-command-hook on org-roam files
2020-02-09 12:46:16 +08:00
Daniel Koudouna
a6a6249da5
Add symlink support
2020-02-07 21:12:10 +00:00
Steven Lang
282d0010fa
Add org-roam-tomorrow and org-roam-date
...
Similar to `org-roam-today`:
- `org-roam-tomorrow`: Add file for tomorrow
- `org-roam-date`: Add file for any date (choose via date picker)
2020-02-07 09:47:47 +01:00
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