From 5dcb7fe62a317e9e07f449b4da2020513dbcbf9f Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Mon, 6 Sep 2021 14:23:43 -0400 Subject: [PATCH] Wait for org-roam-ui on ELPA/MELPA/QUELPA --- README.org | 12 +++++++++++- modules/emacs.nix | 3 +++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 66dcd45..8e2a1e8 100644 --- a/README.org +++ b/README.org @@ -2216,6 +2216,9 @@ Org-mode[fn:60] is a document editing and organizing mode, designed for notes, p #+NAME: emacs-org-roam-package #+BEGIN_SRC nix epkgs.org-roam +# epkgs.websocket +# epkgs.simple-httpd +# epkgs.org-roam-ui #+END_SRC Org Roam[fn:61] is a plain-text knowledge management system. It borrows principles from the Zettelkasten method[fn:62], providing a solution for non-hierarchical note-taking. It should also work as a plug-and-play solution for anyone already using Org Mode[fn:60] for their personal wiki (me). Org Roam Server[fn:63] is a Web application to visualize the Org Roam[fn:61] database. Although it should automatically reload if there's a change in the database, it can be done so manually by clicking the =reload= button on the Web interface. @@ -2226,7 +2229,8 @@ Org Roam[fn:61] is a plain-text knowledge management system. It borrows principl (require 'org-roam) (add-hook 'after-init-hook (lambda () - (org-roam-setup))) + (org-roam-setup) + (org-roam-ui-mode +1))) ;; Silence the migration warnings. (setq org-roam-v2-ack t) @@ -2239,6 +2243,12 @@ Org Roam[fn:61] is a plain-text knowledge management system. It borrows principl (setq org-roam-capture-templates '() org-roam-dailies-capture-templates '()) +;; Configure the user interface. +;; (setq org-roam-ui-follow t +;; org-roam-ui-sync-theme t +;; org-roam-ui-open-on-start t +;; org-roam-ui-update-on-save t) + ;; Encrypt files with the public key. (setq epa-file-select-keys 2 epa-file-encrypt-to "37AB1CB72B741E478CA026D43025DCBD46F81C0F" diff --git a/modules/emacs.nix b/modules/emacs.nix index 65e8a2e..b5e6d67 100644 --- a/modules/emacs.nix +++ b/modules/emacs.nix @@ -20,6 +20,9 @@ let # Optional packages. epkgs.org epkgs.org-roam + # epkgs.websocket + # epkgs.simple-httpd + # epkgs.org-roam-ui epkgs.org-drill epkgs.org-pomodoro epkgs.writegood-mode