9 Commits
Author SHA1 Message Date
Willem van den Ende 1e08cff61c docs: sanitize public config and refresh README 2026-11-27 11:56:58 +00:00
Willem van den Ende 4c99596065 chore: ignore prompt-*.md
Scratch prompts handed to agent sessions land in the repo root while work
is in progress.  Ignoring /prompt-*.md keeps them out of `git add -A' and
out of history, without having to remember to delete them first.
2026-11-03 13:37:22 +00:00
Willem van den Ende 2bf149a2e8 refactor(init): give init.el one owner per machine
Doom's `doom!' takes a single module list, so this file cannot be shared:
the two machines want different module sets (vertico + popup + workspaces
here, ivy + dashboard + doom-quit there), and the mac list still carries
pre-3.0 names that this Doom rejects.  Instead of merging 143 lines of it,
each machine keeps its own copy:

  linux/init.el   from linux-adopt, verbatim (cmp: identical)
  mac/init.el     the previous root init.el, verbatim (cmp: identical)

The root init.el is now an *untracked* symlink into whichever directory
matches the machine, created by bin/link-machine.sh.  It has to be
untracked: one branch is shared by both machines, and a tracked symlink can
only have one target.  /init.el is gitignored so a stray link can never be
committed and clobber the other machine.

Verified:
  - link resolves: file-truename init.el -> .../linux/init.el
  - the file parses (check-parens) through the link
  - sh -n clean; unknown-machine path exits 1 with a message
  - git status clean apart from this commit (symlink is ignored)

On the mac, after pulling: ./bin/link-machine.sh && doom sync

Caveats, all consequences of the link being untracked:
  - a fresh clone has no init.el until you run the script
  - `git clean -xfd' deletes it; re-run the script
  - Emacs' byte-compiler would write init.elc next to the link (repo root);
    harmless here since *.elc is ignored and the target's mtime wins when
    the .el has been edited

config.el and packages.el stay shared at the root for now: their content is
mostly common, and three-way merges are worth more there than isolation.
That is also why AGENTS.md, snippets/ and qwan/ stay where they are.
2026-11-03 13:13:26 +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
Willem van den Ende 689650bebc chore: track .pi directory, ignore its logs and transcripts/
.pi/ currently only holds llm-metrics.log (machine-local); a .gitkeep
keeps the directory tracked while logs stay ignored.
2026-10-20 12:05:19 +01:00
Willem van den EndeandClaude Opus 4.5 236c0e1c4f refactor config for multi-machine support
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>
2025-12-15 00:53:34 -08:00
Willem van den Ende 44bb98e781 Fix collect-org-agenda-files so it sets the global var 2023-02-01 09:13:13 +00:00
Willem van den Ende bc208a4758 merged changes to my desktop config 2023-01-12 16:51:32 +00:00
Willem Van den Ende 05d65a9cab Set relative line numbers
and work on readme while installing texlive
2022-08-10 16:13:23 +02:00