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.
A `doom sync` run while the root init.el symlink was missing regenerates
Doom's profile startup file (.local/etc/@/init.<ver>.el) with a
doom-modules table holding only :doom/:user/:doom compat. No module
package lands on load-path, so `(require 'org-roam)` signalled
"cannot open load file" and aborted config.el mid-file -- taking the
OS leaf, the map! bindings and config-local.el with it, while
`doom doctor` reported nothing else.
- config.el: load org-roam with NOERROR, so a missing package can no
longer truncate the rest of the file.
- config.el: tripwire at the end that raises an error-level warning when
:lang org is absent from doom-modules, naming the real fix
(./bin/link-machine.sh && doom sync).
- agent-start-here.md: document that init.el is loaded with NOERROR, so
syncing without the symlink is silent and destructive, plus the
one-line check for the generated startup file.
The config comments (and config-local.example.el) promise that
machine-specific backends, secrets and paths live in config-local.el,
but nothing ever loaded it -- Doom does not auto-load it either, so any
settings written there were silently inert on both machines.
Load it at the very end of config.el, guarded by file-exists-p!, so a
missing file is a no-op and existing overrides beat the shared config
and the OS leaves.
Verified statically on the mac only (parens; no config-local.el exists
here yet, so behavior is unchanged until one is created).
The shared config.el hard-coded ("expert" "--stdio"), a mac-flavoured value
from upstream c83209e, so it leaked into the Linux machine, where neither
`expert' nor language_server.sh is installed and eglot was therefore
configured with a program that cannot start.
c2f24ba claimed the Linux fallback fixed this, but it only overrides *when
it finds a server*: with nothing installed the broken shared value survived.
The correction is to remove the shared setting entirely. config-mac.el
already configures the mac's elixir-ls, and config-linux.el's cond now means
"nothing found" leaves eglot at Emacs' default instead of pointing at a
missing binary.
config-linux.el's header comment said the shared file "used to point eglot
at a macOS path"; reword it to state that the shared file does not configure
the server at all, and why.
The typescript/tsx entries were nested one list too deep, so lookups for
those languages could never match, and the `dolist' that installed missing
grammars then errored out. Neither language is used here, so remove both
entries and the installer rather than leave a broken path in the shared
config. heex and elixir stay.
Re-add the entries (with the correct nesting) when typescript is next used.
Dropped because the UX is confusing and it went unused. Removed:
config.el rmh-elfeed-org-files, elfeed-search-filter, the custom
"elfeed:" org link type (follow + store), the SPC o e
binding, my/elfeed-entry-to-org-roam and its SPC "e"
capture template, and the two elfeed-mode keybindings
mac/init.el ;;(rss +org) -- the module exists only to provide elfeed,
so it is now disabled here too (it already was in
linux/init.el)
elfeed.org the feed list, 20 feeds
Kept: the org-link-preview binding (SPC m l p), which sat between the
elfeed blocks and has nothing to do with it.
After pulling on the mac: doom sync, since a module left the list.
Two leftovers this commit does not touch:
- the feed list Emacs actually read is ~/Documents/qwan/essays/willem/
elfeed.org (905 bytes, newer than the copy deleted here) because
rmh-elfeed-org-files was relative to org-directory. That file now has
no consumer, and it sits inside org-roam-directory, so it will still
show up as a node until you delete or archive it.
- notes captured with my/elfeed-entry-to-org-roam contain
[[elfeed:...]] links whose link type no longer exists. They open as
unknown links now. I could not check how many there are: the vault is
not readable from this sandbox.
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.
Adds a localleader binding in org-mode buffers under the existing
SPC m l (links) prefix. org-link-preview is the Org 9.8 replacement
for org-toggle-inline-images.
- Fix org DND flag: +download-dnd → +dragndrop (was silently no-op)
- New qwan-markdown-dnd.el: handles file drops in markdown buffers
copies images to configurable attachment dir (default: attachments/)
inserts markdown image links at point
per-repo config via .dir-locals.el (qwan-markdown-attachment-dir)
- AGENTS.md: document the new module and DND setup
- Custom elfeed: link type that opens entries directly in elfeed
- Updated my/elfeed-entry-to-org-roam to include elfeed link in note body
- Notes now have both ROAM_REFS (web URL) and elfeed link (local viewing)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Move gptel backend configuration to config-local.el (gitignored) so each
machine can have its own LLM setup. Add config-local.example.el as a
template with options for Ollama, remote llama.cpp, and local llama.cpp.
Also make OS-specific paths portable:
- Use ~ instead of hardcoded /Users/willem for elixir-ls
- Wrap macOS TeX path in system-type conditional
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>