Jethro Kuan
c91bd7be92
add org-roam--title-to-id
6 years ago
Jethro Kuan
5ee1cf198d
Refactor into org-roam--make-file
6 years ago
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.
6 years ago
Jethro Kuan
12cd3079a9
Add checks before updating cache with org-roam--update-cache
6 years ago
Jethro Kuan
f724e59555
Make after-save hook local
6 years ago
Jethro Kuan
1432c7c9c2
Refactor caches into their own variables
6 years ago
Jethro Kuan
64693f572d
Move all expensive build-cache computation to async-process
6 years ago
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.
6 years ago
Jethro Kuan
1a1702c1f5
Fix symlinks handling
6 years ago
Jethro Kuan
112324ebcf
Add org-roam-new-file
...
`org-roam-new-file` quickly creates a new file using the current
timestamp.
6 years ago
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
6 years ago
Jethro Kuan
bb85ad1976
Update org-roam-find-file to use title
6 years ago
Jethro Kuan
bfc8bef7f6
Refactor org-roam-update to use caching functionality
6 years ago
Jethro Kuan
c6af97bbdd
Add org-roam--insert-title
6 years ago
Jethro Kuan
e165486dc5
Build additional titles cache
6 years ago
Jethro Kuan
fbc5944d12
Fix interactive commands using the wrong paths
6 years ago
Jethro Kuan
32865d3d0c
Fix org-roam buffer being selected on org-roam--setup-buffer
6 years ago
Jethro Kuan
3fb4fcc641
Add customizable width for org-roam buffer
6 years ago
Jethro Kuan
99f30a6583
Update styling for org-roam buffer
6 years ago
Jethro Kuan
57633929d7
use raw-value first
6 years ago
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.
6 years ago
Jethro Kuan
06dca598ad
Only enable post-command-hook on org-roam files
6 years ago
Daniel Koudouna
a6a6249da5
Add symlink support
6 years ago
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)
6 years ago
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.
6 years ago
Jethro Kuan
ea681ceceb
Move polyfill into main file
...
Prevents packaging mess
6 years ago
Jethro Kuan
4d825fedde
Become deft-free 🎉
6 years ago
Jethro Kuan
9d88334dd5
Add function org-roam-find-file
...
org-roam-find-file can be used to quickly navigate to a file in Roam.
6 years ago
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
6 years ago
Jethro Kuan
8fda90b3aa
Prevent running of too many timers
6 years ago
Jethro Kuan
f76fddd9cd
fix graph construction
6 years ago
Jethro Kuan
96f9c9f7ad
org-roam-insert creates the empty file
6 years ago
Jethro Kuan
f5fa29b45e
Check if window-buffer is a file
6 years ago
Jethro Kuan
09128bc9b2
Many fixes
...
-Add post-command hook locally to org-mode buffers only
6 years ago
Jethro Kuan
c57376ae66
Quick build-backlinks fix
6 years ago
Jethro Kuan
6d221a4d01
Allow nested files
6 years ago
Jethro Kuan
988cc3f0f9
make org-roam-buffer preview more bearable
6 years ago
Jethro Kuan
fbea9822ae
Fix cache building
6 years ago
Jethro Kuan
17cd762771
Fix graphviz incorrect directional edges
6 years ago
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).
6 years ago
Jethro Kuan
2f0107a978
Make org-roam buffer read-only
6 years ago
Jethro Kuan
8f3cb903fb
Create clickable SVG for org-roam-graph
6 years ago
Jethro Kuan
0a8cbcfe0e
Add graph rendering
6 years ago
Jethro Kuan
325cf082b9
Remove auto backlink adding
6 years ago
Jethro Kuan
83a6fab197
Fix org-roam-insert
6 years ago
Jethro Kuan
48dcb19abc
Add extension if none in org-roam-insert
6 years ago
Jethro Kuan
c0264fa420
add back cache
6 years ago
Jethro Kuan
8244eb8d00
multiple fixes
6 years ago
Jethro Kuan
f6436d29a2
Update buffer on completion of backlink building
6 years ago
Jethro Kuan
70b430df29
temporarily fix string-trim errors
6 years ago