Fixes that only existed on the Linux machine (unpushed commit and
uncommitted work there), without which a fresh clone breaks on Linux:
- config.el resolved coe-xx/mostalive/qwan against ~/.doom.d, but the
config lives at ~/.config/doom, so (require 'coe-xx) aborted startup
with "Cannot open load file". Resolve them against doom-user-dir.
- lisp/live-dictate.el only spoke whisper.cpp's POST /inference, which
Lemonade (the Linux transcription server) does not serve -- every
utterance came back as a not_found object and was dropped silently.
It now auto-detects between /inference and the OpenAI-compatible
/v1/audio/transcriptions endpoint, remembers which one answered,
reports unusable replies, reads the VAD peak from the high byte of
little-endian PCM16 (the low byte made silence look like speech),
prints the peak level on stop, and gains M-x live-dictate-reload,
wired into doom-after-reload-hook on both OSes.
- config.el hardcoded the macOS org-directory (~/MyDocuments, inside
iCloud). Where the notes live is now owned by config-linux.el
(~/Documents) and config-mac.el (~/MyDocuments), and the OS leaf
loads before org and org-roam load below instead of after them.
Blog export targets stay in the OS files, where they belong.
- mostalive/my-org-roam.el: compute org-agenda-files by listing the
daily/ directory instead of org-roam-db-query at load time, and
defer the full org-roam DB sync to idle time. Doom advises the first
DB query of a session into a full org-roam-db-sync, which SHA1s all
~8.4k notes before the first frame is drawn (blank-screen startup).
Also correct the ~/.doom.d paths in AGENTS.md, the export-test header
and README that the sanitization base predated the fix for.
Export ends by visiting the generated post with find-file-other-window,
so the note stays visible next to the draft it produced; the git diff
on the generated file acts as the review step. Pinned by an ERT test
through the interactive run path.
Move the firehose exporter here from the firehose repo scripts directory
and rename it to the org-roam- prefix so M-x org-roam-export-blog sits
with the other roam commands. Both commands share one pipeline; each
target contributes frontmatter, post path and image convention:
- org-roam-export-blog: firehose draft (Elixir frontmatter, images to
app/priv/static/images/blog), bound to SPC n r b
- org-roam-export-jekyll: jekyll draft in _drafts/ (YAML frontmatter,
tags from #+filetags:, images to attachments/blogposts), bound to
SPC n r j
Repo roots are defcustoms set home-relative in config.el so one value
works on macOS and Linux; unset or absent roots fail loudly. ERT tests
and the fixture vault live alongside; run with the emacs --batch
command in the test file commentary.
Also split per-machine config: config.el now loads config-mac.el only
on darwin and the new config-linux.el on GNU/Linux, and ignores stale
*.elc files that would otherwise shadow newer sources.