From b703ccb4b0a42a0b11cdd4c42fc1dfdfc33f968d Mon Sep 17 00:00:00 2001 From: Willem van den Ende Date: Tue, 3 Nov 2026 12:32:53 +0000 Subject: [PATCH] adopt: config-mac.el -- ownership note, elixir server, blog roots Pure additions (18 lines, no deletions) on top of upstream's config-mac.el: - header note that the file is seeded from 0789326 and is now owned here, so re-syncing it with `git checkout mac/master -- config-mac.el' is no longer safe - the eglot entry for elixir-ts-mode that was hard-coded in the Linux repo's shared config.el as /Users/willem/.elixir-ls/... It belongs on the mac side; the Linux counterpart is in config-linux.el - blog export roots, with ~/MyDocuments/... as on macOS This file only loads on darwin, so nothing changes for the Linux machine. --- config-mac.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/config-mac.el b/config-mac.el index f75d1f9..d548f35 100644 --- a/config-mac.el +++ b/config-mac.el @@ -1,5 +1,10 @@ ;;; config-mac.el --- Mac-specific configuration -*- lexical-binding: t; -*- +;; Seeded from mac repo 157ed9a, then edited locally. This file is loaded +;; only on darwin (see the dispatch at the end of config.el); it is the +;; home for anything with a macOS path, macOS binary, or macOS-hosted +;; backend. It is no longer a pristine vendor copy -- treat it as ours. + ;; Enable tool use in gptel (setq gptel-use-tools t) @@ -204,4 +209,17 @@ Returns answer with org-roam links to sources." (when yas-was-active (yas-minor-mode 1))) (message "No @glm-search or @gptel-search query found on current line")))) +;; Elixir language server. Moved out of the shared config.el, where this +;; macOS path was hard-coded and therefore dead on any other machine. +(with-eval-after-load 'eglot + (add-to-list 'eglot-server-programs + '(elixir-ts-mode + . ("sh" "/Users/willem/.elixir-ls/release/language_server.sh")))) + +;; Blog export destinations. Kept in this file rather than in the shared +;; config.el because the jekyll checkout sits under ~/MyDocuments on macOS and +;; under ~/Documents on Linux. Override in config-local.el if it moves. +(setq org-roam-export-blog-firehose-root "~/dev/elixir/firehose" + org-roam-export-jekyll-root "~/MyDocuments/qwan/sites/qwaneu.github.io") + ;;; config-mac.el ends here