Commit Graph
3 Commits
Author SHA1 Message Date
Willem van den Ende b425df90cf fix(elixir): let the OS files own eglot-server-programs
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.
2026-11-03 13:43:11 +00:00
Willem van den Ende c2f24ba1cb adopt(linux): fill in config-linux.el
Replaces upstream's empty stub with the Linux side of the split, from
linux-adopt:

- blog export roots (firehose, jekyll) with the paths that exist here
  (~/Documents/..., not upstream's ~/MyDocuments/...)
- elixir language server: `expert' if installed, else any elixir-ls on
  PATH, else leave eglot unconfigured instead of pointing it at a server
  that cannot start
- the whisper/STT block, moved out of the Linux repo's shared config.el and
  documented as Linux-only: whisper.el + Lemonade on :13305 + PulseAudio
  capture.  It is gated behind `(use-package! whisper ...)', so it stays
  inert until that package is declared in packages.el -- which is still
  hand-merge territory and not done here.

Nothing on the mac side loads this file; it is selected by the
`pcase system-type' dispatch at the end of config.el.
2026-11-03 12:32:48 +00:00
Willem van den Ende baf389178d feat(blog): export org-roam notes to firehose and jekyll (SPC n r b / n r j)
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.
2026-10-29 22:55:12 +00:00