From a7f7269f5f19c306c5082461b03797c2e92edf6f Mon Sep 17 00:00:00 2001 From: Tomas Volf Date: Sun, 8 Oct 2023 23:03:46 +0200 Subject: .dir-locals.el: Use guix repl as geiser-guile-binary. See discussion at . Default geiser-guile-binary is guile, which uses an old guix. This leads to annoying errors when trying to work with the this repository from geiser. So, set the variable to '("guix" "repl"), which will use the current guix command, making everything work properly. Note that this may be unexpected for someone working with a local Guix checkout (differing Guix version) and may need adjusting then. * .dir-locals.el (scheme-mode): Add geiser-guile-binary setting. Signed-off-by: John Kehayias --- .dir-locals.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.dir-locals.el') diff --git a/.dir-locals.el b/.dir-locals.el index b934213..b54f600 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -13,7 +13,11 @@ (c-mode . ((c-file-style . "gnu"))) (scheme-mode . - ((indent-tabs-mode . nil) + ;; Note this next setting will use the current guix as the geiser binary; + ;; one working with a local guix checkout may want something different. + ((geiser-guile-binary . ("guix" "repl")) + + (indent-tabs-mode . nil) (eval . (put 'eval-when 'scheme-indent-function 1)) (eval . (put 'call-with-prompt 'scheme-indent-function 1)) (eval . (put 'test-assert 'scheme-indent-function 1)) -- cgit v1.2.3