From f0789a34ffdf0e8c3fefce4525eb4a216609ae61 Mon Sep 17 00:00:00 2001 From: Peter Tillemans Date: Mon, 30 Dec 2024 15:49:44 +0100 Subject: [PATCH] fix set-option error with copilot --- init.org | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/init.org b/init.org index 84d898f..9d97879 100644 --- a/init.org +++ b/init.org @@ -370,22 +370,6 @@ up, which a totally different can of worms). A function #+RESULTS: : shht!secret -** GUIX support - -[[https://gitlab.com/emacs-guix/emacs-guix][Emacs-guix]] is a module to interact with the guix system and help -manage packages and profiles. It also offers support for creating -additional profiles and packages for Guix. - -#+BEGIN_SRC emacs-lisp - (use-package guix - :ensure t - :after geiser) -#+END_SRC - -I find it a bit a confusing module. - -It provides a minor-mode - ** Add a fully featured terminal emulator #+BEGIN_SRC emacs-lisp @@ -1693,6 +1677,22 @@ Configure Geiser and Scheme #+RESULTS: | geiser-mode | enable-paredit-mode | geiser-mode--maybe-activate | +**** GUIX support + +[[https://gitlab.com/emacs-guix/emacs-guix][Emacs-guix]] is a module to interact with the guix system and help +manage packages and profiles. It also offers support for creating +additional profiles and packages for Guix. + +#+BEGIN_SRC emacs-lisp + (use-package guix + :ensure t + :after geiser) +#+END_SRC + +I find it a bit a confusing module. + +It provides a minor-mode + **** Enable Cider for Clojure mode #+BEGIN_SRC emacs-lisp @@ -1952,7 +1952,8 @@ Map the keymap consistently to the eglot mappings. (add-to-list 'copilot-indentation-alist '(scheme-mode . 2)) (add-to-list 'copilot-indentation-alist '(emacs-lisp-mode . 2)) (add-to-list 'copilot-indentation-alist '(lisp-mode . 2)) - (set-option 'copilot-indent-offset-warning-disabled t) + :custom + (copilot-indent-offset-warning-disabled t "Disable indent offset warning" ) :hook (prog-mode . copilot-mode) @@ -1960,7 +1961,7 @@ Map the keymap consistently to the eglot mappings. #+END_SRC #+RESULTS: -: [nil 26466 40154 497697 nil elpaca-process-queues nil nil 528000 nil] +: [nil 26482 40231 262145 nil elpaca-process-queues nil nil 167000 nil] *** TODO move scheme configuration to the scheme section or leave it here but move it to config, whatever makes most sense at