From 86b24b67784318912cb3d36924595e5f3b5996cb Mon Sep 17 00:00:00 2001 From: Peter Tillemans Date: Tue, 30 Jul 2024 20:09:06 +0200 Subject: [PATCH] remove chicken support, fix paredit bug and elpaca warning --- early-init.el | 7 +++++++ init.org | 24 +++++++++++++++++++----- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/early-init.el b/early-init.el index 5e54a24..0e94e20 100644 --- a/early-init.el +++ b/early-init.el @@ -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)) diff --git a/init.org b/init.org index b1fc772..25317e0 100644 --- a/init.org +++ b/init.org @@ -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: ( +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