adopt: wire org-roam blog export; move its roots into the OS files

config.el        require org-roam-export-blog; SPC n r b / SPC n r j
  config-linux.el  firehose ~/dev/elixir/firehose, jekyll ~/Documents/...
  config-mac.el    firehose ~/dev/elixir/firehose, jekyll ~/MyDocuments/...

Upstream sets both roots in the shared config.el.  That does not survive the
trip: the jekyll checkout is ~/MyDocuments/qwan/sites/qwaneu.github.io on
macOS and ~/Documents/qwan/sites/qwaneu.github.io here (both verified to
exist).  So the roots go to the OS files and the shared half holds only the
require and the bindings.  Paths are home-relative, and config-local.el can
override them if a checkout ever moves.

Prefix SPC n r was unused in this config, so no rebinding.

Verified in a scratch checkout: the imported suite passes 20/20
(emacs -Q --batch -L qwan -l qwan/org-roam-export-blog.el
 -l qwan/org-roam-export-blog-test.el -f ert-run-tests-batch-and-exit)
and the existing firehose-blog suite still passes 16/16.
This commit is contained in:
Willem van den Ende
2026-11-03 12:25:56 +00:00
parent 4e9170417a
commit f687a18806
3 changed files with 21 additions and 0 deletions
+8
View File
@@ -56,6 +56,14 @@
(require 'qwan-blog)
(require 'qwan-refactor)
(require 'firehose-blog)
(require 'org-roam-export-blog)
;; Publishing: export an org-roam note into a blog post. The two candidate
;; destinations live in config-mac.el / config-linux.el, because their paths
;; differ per machine (and neither has anything to do with the OS as such).
(map! :leader
:desc "Export note as firehose blog post" "n r b" #'org-roam-export-blog
:desc "Export note as jekyll draft" "n r j" #'org-roam-export-jekyll)
;; Whenever you reconfigure a package, make sure to wrap your config in an