Commit graph

229 commits

Author SHA1 Message Date
Jethro Kuan
0cab668d9e (bugfix): propagate org-roam-directory to temp buffers (#275) 2020-03-11 15:41:18 +08:00
Jethro Kuan
6095d01ef4
(feat): add a company-mode for link completion (#257)
Adds company-org-roam, a company backend which autocompletes text into org file links
2020-03-11 14:32:58 +08:00
海东
bd425e4427
(docs):fix typo in platypus installation (#274) 2020-03-11 11:37:01 +08:00
Jethro Kuan
65ead3c9ed
(chore): fix more checkdoc errors (#270) 2020-03-11 00:55:42 +08:00
Jethro Kuan
be1d1f1d7b
(feat): add org-roam-graphviz-extra-options (#269) 2020-03-11 00:44:07 +08:00
Jethro Kuan
f5d5b83b49
(bugfix): fix missed org-roam-link-title-format uses (#268)
In #261 we allowed org-roam-link-title-format to be a function, but missed some of its uses during the update. h.t. @alanz
2020-03-11 00:34:08 +08:00
Thomas Proisl
8a3945945b
(bugfix): emove duplicate line from `org-roam--db-clear' (#267) 2020-03-10 15:35:34 +08:00
Jethro Kuan
7f09c76baf
(fix): allow org-roam-insert in Org-roam file indirect buffers (#266) 2020-03-10 10:57:49 +08:00
Jethro Kuan
f6e75f995a
(chore): cleanup buffer-file-name calls (#265)
buffer-file-name uses the current-buffer if the argument is not passed
2020-03-10 10:41:43 +08:00
Jethro Kuan
6ba9ffe9c8
(fix): Error if org-roam-insert is not called from Org-roam file (#264) 2020-03-10 10:36:36 +08:00
Jethro Kuan
5e0b7440a3
(feat): Allow function for org-roam-link-title-format (#261)
Addresses #255
2020-03-09 22:18:04 +08:00
Jethro Kuan
d16d001b9e
(feat): add optional initial-prompt to org-roam-find-file (#259) 2020-03-09 16:43:48 +08:00
Jethro Kuan
f67e0b025a
(docs): fix typo in vanilla installation (#254) 2020-03-08 20:49:17 +08:00
Jürgen Hötzel
b836f9fc35
(bugfix): Don't query about SQL proccess on Emacs exit (#253)
Graceful shutdown is already guaranteed via `kill-emacs-hook`.

Refs #200

Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com>
2020-03-08 19:57:48 +08:00
Jethro Kuan
e138056115
(docs): fix documentation for manual installation (#252) 2020-03-08 17:43:07 +08:00
Jethro Kuan
63e0558d96
(chore): Cleanups for MELPA release (#251)
* (chore): require minimum Org version 9.3

* fix bytecompile errors for org-roam.el

* fix checkdoc errors

* fix more things
2020-03-08 15:58:13 +08:00
Jethro Kuan
3fccaef967
(chore): change main branch to master (#250) 2020-03-08 15:05:57 +08:00
Alexey Shmalko
6eb7238daf
(feature): add org-roam-backlink face (#247) 2020-03-08 14:54:56 +08:00
Alexey Shmalko
fc79901682
(chore): drop org-roam-filename-noconfirm (#248)
With org-capture integration, it does not seem to be used anymore.
2020-03-08 11:15:41 +08:00
Jethro Kuan
46afa483a9
(docs): add documentation for exporting backlinks in Org file (#244)
h.t. @jdiez17
2020-03-07 23:49:43 +08:00
Jethro Kuan
f63f29ac05
(docs): Add link to slack invite (#242) 2020-03-07 15:05:16 +08:00
Jethro Kuan
e357693297
(release): v1.1.0-rc1 (#238) 2020-03-06 20:39:28 +08:00
Jethro Kuan
b7afb02015
(chore): Cleanup for MELPA release (#236) 2020-03-06 20:15:33 +08:00
Jethro Kuan
4c6e4df474
(fix): fix org-roam-today date functionality overriding old files (#235) 2020-03-06 19:35:22 +08:00
Jethro Kuan
b1e2209dfc
(feature): org-roam-graph-exclude-matcher: exclude nodes from graph (#233) 2020-03-06 12:48:30 +08:00
Anthony Cowley
8f83ffc2a3
org-roam-show-graph: PREFIX to generate a graph but not display it (#232)
This lets the viewer application watch the file, or have the user manually refresh the view rather than opening a new browser tab.
2020-03-06 11:22:39 +08:00
Jethro Kuan
09a23c377b
(fix): remove nonspacing marks from slugs (#230)
Linux and macOS use different Unicode normalization conventions in filenames
2020-03-06 01:47:22 +08:00
Jethro Kuan
d1a47e090e
(docs): update docs (#229) 2020-03-06 00:19:11 +08:00
Jethro Kuan
7d1dd831db
(fix): relative links should work from org-roam-buffer with multidir (#228) 2020-03-05 13:53:53 +08:00
Jethro Kuan
c77c1b7316
(docs): add more org-protocol instructions for MacOS (#227) 2020-03-05 12:53:57 +08:00
Jethro Kuan
55d7edd5ee
(docs): fix org-roam-protocol docs formatting (#226) 2020-03-05 12:07:15 +08:00
Jethro Kuan
1f02b0c5dd
(docs): update org-protocol installation for MacOS (#225) 2020-03-05 11:51:28 +08:00
Jethro Kuan
d96ae119ab
(bugfix): remove interactive from org-roam-capture (#224) 2020-03-05 11:27:05 +08:00
Jethro Kuan
b7a7741bb0
(feature): use org-capture templates (#216)
Instead of implementing our own templating system, we abuse org-capture's templating system. We add 2 additional properties:

- :head: a starting template that goes at the beginning of the file.
- :file-name: a string that expands to the file name

The templates are customizable at `org-roam-capture-templates` and `org-roam-ref-capture-templates`.
2020-03-05 00:21:24 +08:00
Jürgen Hötzel
4de88b3c4f
(bugfix): use "org-roam" as graphname (#221)
The graphname is displayed as tooltip when hovering over non-node
areas in the SVG viewer.

When grahname is undefined Chrome and Firefox just displays
"%3" (ETX/End of Text).
2020-03-03 21:28:08 +08:00
Jethro Kuan
b74cc14377
(feature): add org-roam-yesterday (#215)
Closes #214
2020-03-02 02:53:53 +08:00
Tyler
4c3d5b90a7 (docs): add Doom Emacs installation instructions (#212) 2020-03-01 23:56:05 +08:00
Jethro Kuan
f98e7d22a5
(chore): cleanup and re-order code (#213) 2020-03-01 15:36:39 +08:00
Jethro Kuan
a03ad54460
(bugfix): fix org-roam-delete-file-advice triggering on non-org-roam files (#211)
Adding a predicate for the delete-file advice ensures that expensive
SQL operations do not run when not necessary
2020-03-01 02:42:55 +08:00
Jethro Kuan
a88076a704
(fix): build org-roam cache on org-roam-mode (#210)
`org-roam-build-cache` takes very little time, when the cache is
already built running it on `org-roam-mode` ensures that the cache is
consistent with the files.
2020-03-01 02:35:01 +08:00
Jethro Kuan
9296470d17
(bugfix): populate database after org-roam--make-new-file (#208) 2020-03-01 01:58:54 +08:00
Jethro Kuan
4da30a7134
(bugfix): escape strings for graph export (#207)
strings with quotes used to break the graph export. This change escapes the strings.
2020-03-01 01:08:54 +08:00
Jethro Kuan
150ae65564
(feature): deprecate roam-protocol, extend org-protocol instead (#203)
Add 2 custom handlers:

1. roam-file?file=path: this simply opens the file at path in Emacs.
2. roam-ref?ref=ref&template=roam-template&title=title&...: attempts to open a roam note with a given ROAM_KEY. If the note doesn't exist, create one. Else, open it.
2020-02-29 22:09:04 +08:00
Jethro Kuan
0c2aaad3df
(feature): use sqlite as backing database (#200)
All org-roam related information will now be stored in the database. Henceforth, the cache needs to be built synchronously once (via `M-x org-roam-build-cache`), which is then incrementally updated.
2020-02-29 15:56:08 +08:00
Daniel Koudouna
d086d1675d
(fix): change locals to hash tables (#196)
better support emacs 25
2020-02-27 10:34:54 +08:00
Jethro Kuan
685aa2afcd
Ensure cache consistency for refs cache (#194) 2020-02-26 23:04:02 +08:00
Jethro Kuan
92d25b287e
(feature): add a cache for ROAM_KEY (#192) 2020-02-26 22:26:02 +08:00
Jethro Kuan
962ef23cce
(fix): Require a minimum version of Org 9.2 for roam link styling (#190) 2020-02-26 16:29:20 +08:00
Jethro Kuan
5e76c67cf6
(feature): emacs-lisp handling for roam:// links (#188)
We emulate org-protocol, and advise server-find-files, stripping the
roam protocol from the filename. This reduces the setup required to
open `roam://` links.
2020-02-26 15:35:20 +08:00
Herbert Jones
b382b1f21a
(docs): add documentation for multiple org-roam directories (#187) 2020-02-26 15:23:29 +08:00