Commit Graph

646 Commits

Author SHA1 Message Date
f724e59555 Make after-save hook local 2020-02-11 16:21:16 +08:00
1432c7c9c2 Refactor caches into their own variables 2020-02-11 16:19:59 +08:00
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
64693f572d Move all expensive build-cache computation to async-process 2020-02-10 18:10:06 +08:00
6f1938e1ac Merge pull request #45 from jethrokuan/fix/check-cache
Add org-roam--ensure-cache-built
2020-02-10 17:10:48 +08:00
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
2d8c7595c0 Merge pull request #44 from jethrokuan/fix/symlinks-handling
Fix symlinks handling
2020-02-10 16:33:19 +08:00
1a1702c1f5 Fix symlinks handling 2020-02-10 16:32:52 +08:00
9b6992546b Merge pull request #43 from jethrokuan/feat/quick-new-file
Add org-roam-new-file
2020-02-10 15:47:43 +08:00
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
a0c5e2c05a Merge pull request #42 from jethrokuan/feat/title-format
Add customizability for org-roam link insert formats
2020-02-10 15:37:11 +08:00
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
59ebbda730 Update README with org-roam-link-representation customization 2020-02-10 14:19:28 +08:00
72f62c5290 Merge pull request #41 from jethrokuan/feat/titles-cache
File-title cache and related functionality
2020-02-10 14:09:56 +08:00
bb85ad1976 Update org-roam-find-file to use title 2020-02-10 14:03:24 +08:00
bfc8bef7f6 Refactor org-roam-update to use caching functionality 2020-02-10 13:55:23 +08:00
c6af97bbdd Add org-roam--insert-title 2020-02-10 13:46:17 +08:00
e165486dc5 Build additional titles cache 2020-02-10 12:50:13 +08:00
66ba96289f Merge pull request #40 from jethrokuan/fix/path
Fix interactive commands using the wrong paths
2020-02-10 12:00:48 +08:00
fbc5944d12 Fix interactive commands using the wrong paths 2020-02-10 11:58:40 +08:00
32865d3d0c Fix org-roam buffer being selected on org-roam--setup-buffer 2020-02-09 21:22:24 +08:00
a14da9630c Merge pull request #32 from jethrokuan/feat/dashboard
Small updates to org-roam buffer
2020-02-09 21:02:04 +08:00
3fb4fcc641 Add customizable width for org-roam buffer 2020-02-09 20:59:39 +08:00
99f30a6583 Update styling for org-roam buffer 2020-02-09 20:59:07 +08:00
57633929d7 use raw-value first 2020-02-09 20:02:57 +08:00
f202a50c38 Merge pull request #35 from jethrokuan/feat/inc-update
Incremental update of cache
2020-02-09 15:34:31 +08:00
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
50fc39c4c8 Merge pull request #34 from jethrokuan/fix/perf
Only enable post-command-hook on org-roam files
2020-02-09 12:49:46 +08:00
06dca598ad Only enable post-command-hook on org-roam files 2020-02-09 12:46:16 +08:00
f1275e26f1 Merge pull request #29 from daniel-koudouna/bug/symlinks
Add or fix symlink support
2020-02-08 11:46:03 +08:00
a6a6249da5 Add symlink support 2020-02-07 21:12:10 +00:00
5f9bf5a038 Delete the polyfill file 2020-02-07 23:22:52 +08:00
30b6477639 Merge pull request #28 from steven-lang/patch-1
Add org-roam-tomorrow and org-roam-date
2020-02-07 19:13:58 +08:00
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
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
c66b8a7c2c Merge pull request #27 from jethrokuan/fix/polyfill
Move polyfill into main file
2020-02-07 12:46:13 +08:00
ea681ceceb Move polyfill into main file
Prevents packaging mess
2020-02-07 12:44:40 +08:00
f0125421be Merge pull request #25 from jethrokuan/docs/org-roam-ecosystem
Add documentation on synergistic packages
2020-02-07 10:17:51 +08:00
b555b5575d Add documentation on synergistic packages 2020-02-07 10:16:27 +08:00
b83d2602b3 Update README for setting org-roam-directory 2020-02-06 20:50:22 +08:00
f00ce80e25 Merge pull request #20 from jethrokuan/feat/deft-free
Become deft-free 🎉
2020-02-06 19:33:04 +08:00
4d825fedde Become deft-free 🎉 2020-02-06 19:26:38 +08:00
b8c36133bb Merge pull request #19 from jethrokuan/feat/org-roam-find-file
Add function org-roam-find-file
2020-02-06 16:15:45 +08:00
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
341e60cc40 Merge pull request #18 from jethrokuan/fix/polyfill
Add polyfill for make-empty-file
2020-02-06 16:08:07 +08:00
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
8fda90b3aa Prevent running of too many timers 2020-02-06 12:49:13 +08:00
f76fddd9cd fix graph construction 2020-02-06 00:43:57 +08:00
96f9c9f7ad org-roam-insert creates the empty file 2020-02-05 23:00:45 +08:00
f5fa29b45e Check if window-buffer is a file 2020-02-05 20:30:02 +08:00