remove chicken support, fix paredit bug and elpaca warning

This commit is contained in:
Peter Tillemans 2024-07-30 20:09:06 +02:00
parent 5ca1377ece
commit 86b24b6778
2 changed files with 26 additions and 5 deletions

View file

@ -1,6 +1,13 @@
;;; Bootstrap elpaca
(setq package-enable-at-startup nil)
;; for guix emacs-next packages you can find the date with
;; ➜ stat /gnu/store/*emacs-next-[23]*.drv | rg Birth | cut -d' ' -f3 | tr -d '-'
;; 20240727
;;
;; it is possible there are more so probably the most recent one is the one to use.
(setq elpaca-core-date "20240727")
(defvar elpaca-installer-version 0.7)
(defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory))
(defvar elpaca-builds-directory (expand-file-name "builds/" elpaca-directory))

View file

@ -11,6 +11,23 @@
- Reduce dependencies : read evaluate the value a package brings
before including it
- Refactor existing configuration
** Notes on Elpaca and dev versions of emacs.
Elpaca needs the build date of emacs to compare to package versions or
something. However it does not support all dev versions.
For guix emacs-next packages you can find the date with: ( <C-c C-c>
in the source block below:
#+BEGIN_SRC shell
stat /gnu/store/*emacs-next-[23]*.drv | rg Birth | cut -d' ' -f3 | tr -d '-'
#+END_SRC
#+RESULTS:
| 20240727 |
| 20240727 |
It is possible there are more so probably the most recent one is the one to use.
* First Things First
@ -1294,7 +1311,7 @@ see also [[https://www.masteringemacs.org/article/how-to-get-started-tree-sitter
;; Lisp support
(use-package paredit
:ensure nil
:commands (enable-paredit-mode evil-paredit-mode)
:commands (enable-paredit-mode)
:init
(dolist (mode '(emacs-lisp-mode-hook
lisp-interaction-mode-hook
@ -1327,10 +1344,6 @@ Configure Geiser and Scheme
:defer t
:commands (geiser-mode)
:config
;; chicken-install -s srfi-18 apropos chicken-doc
(setq-default geiser-chicken-binary "csi")
(setq-default flycheck-scheme-chicken-executable "csc")
;; configure geiser to assume guile for .scm files
(setq geiser-implementation-alist
,(add-to-list 'geiser-implementation-alist '((regexp "\\.scm\\'") guile))))
(use-package scheme-mode
@ -1341,6 +1354,7 @@ Configure Geiser and Scheme
#+END_SRC
#+RESULTS:
| evil-paredit-mode | geiser-mode | enable-paredit-mode | aggressive-indent-mode | geiser-mode--maybe-activate |
**** Terraform Support
#+BEGIN_SRC emacs-lisp