From 2aba8dcd6f31ab4f4f2d3e8430d211d90a04453a Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 12 Sep 2021 02:25:16 +0200 Subject: [PATCH 1/4] Enable direnv integration --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index 6364bc2..5f8c045 100644 --- a/init.el +++ b/init.el @@ -86,7 +86,7 @@ :tools ;;ansible ;;debugger ; FIXME stepping through code, to help you add bugs - ;;direnv + direnv docker ;;editorconfig ; let someone else argue about tabs vs spaces ;;ein ; tame Jupyter notebooks with emacs From e368c4be72724cbddd25c428aa5369fcce8ac599 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 11 Oct 2021 20:46:50 +0200 Subject: [PATCH 2/4] Disable unused modules --- init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 5f8c045..c512ece 100644 --- a/init.el +++ b/init.el @@ -172,14 +172,14 @@ yaml ; JSON, but readable :email - (mu4e) + ;;(mu4e) ;;notmuch ;;(wanderlust +gmail) :app ;;calendar ;;irc ; how neckbeards socialize - (rss +org) ; emacs as an RSS reader + ;;(rss +org) ; emacs as an RSS reader ;;twitter ; twitter client https://twitter.com/vnought :config From 1289f8c41046728994515e91932ffee12ee035a1 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 11 Oct 2021 21:02:45 +0200 Subject: [PATCH 3/4] Remove unused packages for org-roam-server --- config.org | 11 ----------- packages.el | 4 +--- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/config.org b/config.org index 08a7cd2..378b494 100644 --- a/config.org +++ b/config.org @@ -35,7 +35,6 @@ - [[#graph-browser][Graph browser]] - [[#roam-link-font-face][Roam link font face]] - [[#roam-capture-template][Roam capture template]] - - [[#org-roam-server][Org Roam Server]] - [[#export-backends][Export backends]] - [[#doom-specific][Doom specific]] - [[#magit][Magit]] @@ -477,16 +476,6 @@ directory instead of at the root. :head "#+TITLE: %<%Y-%m-%d>")))) #+END_SRC -*** Org Roam Server - -=org-roam-server= provides a fancy JS interface to visualize the graph. Just -needs to be loaded, along with its dependency =simple-httpd=. - -#+BEGIN_SRC emacs-lisp -(use-package! simple-httpd) -(use-package! org-roam-server) -#+END_SRC - ** Export backends Sometimes I need to export an Org subtree to a file, which is quite easy with diff --git a/packages.el b/packages.el index 6bba80f..f4e9446 100644 --- a/packages.el +++ b/packages.el @@ -48,12 +48,10 @@ ;; solaire mode breaks TUI when using the emacs daemon... (package! solaire-mode :disable t) -(package! simple-httpd) -(package! org-roam-server - :recipe (:host github :repo "org-roam/org-roam-server")) ;; C/C++ mode adds this, and I don't really need it (package! irony :disable t) + (package! beancount-mode :recipe (:host github :repo "beancount/beancount-mode") :pin "dcb317ed0a7582243f30ffc44aaf31717a81502b") From 2b81dc2ebc0c5eb6c6d7ea1eb08fbdce5d871e9e Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 11 Oct 2021 21:13:29 +0200 Subject: [PATCH 4/4] Fix executable name for org-roam-graph-viewer --- config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.org b/config.org index 378b494..0874512 100644 --- a/config.org +++ b/config.org @@ -412,7 +412,7 @@ First, set a directory where =org-roam= will index things. Instruct =org-roam= to use =firefox-developer-edition= to open the graph: #+BEGIN_SRC emacs-lisp -(setq org-roam-graph-viewer (executable-find "firefox-developer-edition")) +(setq org-roam-graph-viewer (executable-find "firefox")) #+END_SRC *** Roam link font face