From 88df2aecc001478c0d532543823bf1679b91b9d5 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Tue, 13 Jan 2026 13:19:39 -0500 Subject: [PATCH 1/6] Remove garbage-collection-messages --- early-init.el | 2 -- 1 file changed, 2 deletions(-) diff --git a/early-init.el b/early-init.el index c037260..116f1ac 100644 --- a/early-init.el +++ b/early-init.el @@ -163,8 +163,6 @@ pre-early-init.el, and post-early-init.el.") ;; Garbage collection significantly affects startup times. This setting delays ;; garbage collection during startup but will be reset later. -(setq garbage-collection-messages minimal-emacs-debug) - (defun minimal-emacs--restore-gc-values () "Restore garbage collection values to minimal-emacs.d values." (setq gc-cons-threshold minimal-emacs-gc-cons-threshold) From 07bfc40c2073f81acbda1c506c07bc56f608c5f1 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Wed, 14 Jan 2026 07:31:51 -0500 Subject: [PATCH 2/6] use-package: Expand minimally --- early-init.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/early-init.el b/early-init.el index 116f1ac..1a63aca 100644 --- a/early-init.el +++ b/early-init.el @@ -146,11 +146,11 @@ pre-early-init.el, and post-early-init.el.") (let ((init-file (expand-file-name filename minimal-emacs-user-directory))) (if (not minimal-emacs-load-compiled-init-files) - (load init-file :no-error (not init-file-debug) :nosuffix) + (load init-file :no-error (not minimal-emacs-debug) :nosuffix) ;; Remove the file suffix (.el, .el.gz, etc.) to let the `load' function ;; select between .el and .elc files. (setq init-file (minimal-emacs--remove-el-file-suffix init-file)) - (load init-file :no-error (not init-file-debug))))) + (load init-file :no-error (not minimal-emacs-debug))))) (minimal-emacs-load-user-init "pre-early-init.el") @@ -467,7 +467,7 @@ this stage of initialization." ;; Setting use-package-expand-minimally to (t) results in a more compact output ;; that emphasizes performance over clarity. -(setq use-package-expand-minimally (not minimal-emacs-debug)) +(setq use-package-expand-minimally (not noninteractive)) (setq package-quickstart-file (expand-file-name "package-quickstart.el" user-emacs-directory)) From c5ef55a25f08594bc7acbdfb113944d550742ad6 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Wed, 14 Jan 2026 08:19:17 -0500 Subject: [PATCH 3/6] Modify 'debug-on-error' only when debug mode is active --- early-init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/early-init.el b/early-init.el index 1a63aca..e20956b 100644 --- a/early-init.el +++ b/early-init.el @@ -109,7 +109,8 @@ Note that this should end with a directory separator.") ;; Prefer loading newer compiled files (setq load-prefer-newer t) -(setq debug-on-error minimal-emacs-debug) +(when minimal-emacs-debug + (setq debug-on-error minimal-emacs-debug)) (defvar minimal-emacs--success nil) (defun minimal-emacs--check-success () From c8eb8c98be12df1285373a37082560e273eadad8 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Wed, 14 Jan 2026 10:39:41 -0500 Subject: [PATCH 4/6] Update copyright year --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ef81611..f53b4c1 100644 --- a/README.md +++ b/README.md @@ -2224,7 +2224,7 @@ A drawback of using the early-init phase instead of init is that if a package fa The *minimal-emacs.d* project has been written by [James Cherti](https://www.jamescherti.com/) and is distributed under terms of the GNU General Public License version 3, or, at your choice, any later version. -Copyright (C) 2024-2025 [James Cherti](https://www.jamescherti.com) +Copyright (C) 2024-2026 [James Cherti](https://www.jamescherti.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. From 5190f126c6a8eba5b2536f13682f53b494d1238c Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Sat, 17 Jan 2026 20:05:41 -0500 Subject: [PATCH 5/6] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f53b4c1..36ba74d 100644 --- a/README.md +++ b/README.md @@ -2256,3 +2256,4 @@ Other Emacs packages by the same author: - [stripspace.el](https://github.com/jamescherti/stripspace.el): Ensure Emacs Automatically removes trailing whitespace before saving a buffer, with an option to preserve the cursor column. - [persist-text-scale.el](https://github.com/jamescherti/persist-text-scale.el): Ensure that all adjustments made with text-scale-increase and text-scale-decrease are persisted and restored across sessions. - [pathaction.el](https://github.com/jamescherti/pathaction.el): Execute the pathaction command-line tool from Emacs. The pathaction command-line tool enables the execution of specific commands on targeted files or directories. Its key advantage lies in its flexibility, allowing users to handle various types of files simply by passing the file or directory as an argument to the pathaction tool. The tool uses a .pathaction.yaml rule-set file to determine which command to execute. Additionally, Jinja2 templating can be employed in the rule-set file to further customize the commands. +- [kirigami.el](https://github.com/jamescherti/kirigami.el): The *kirigami* Emacs package offers a unified interface for opening and closing folds across a diverse set of major and minor modes in Emacs, including `outline-mode`, `outline-minor-mode`, `outline-indent-mode`, `org-mode`, `markdown-mode`, `vdiff-mode`, `vdiff-3way-mode`, `hs-minor-mode`, `hide-ifdef-mode`, `origami-mode`, `yafolding-mode`, `folding-mode`, and `treesit-fold-mode`. With Kirigami, folding key bindings only need to be configured **once**. After that, the same keys work consistently across all supported major and minor modes, providing a unified and predictable folding experience. From ee4f66a3577725fff753a833e6de5f63b7a1f599 Mon Sep 17 00:00:00 2001 From: Christian A Vogl Date: Sun, 18 Jan 2026 20:38:03 +0100 Subject: [PATCH 6/6] chore: Replace consult.el's obsolete variables by public ones. On January 12, 2026, minad removed some obsolete variables from consult.el, some of which were mentionned in minimal-emacs' README; cf. commit 3a8ac46916c0699f0905ac4fe65d72768add3efb: https://github.com/minad/consult/commit/3a8ac46916c0699f0905ac4fe65d72768add3efb From minad's Changelog for `consult.el`: > Remove obsolete =consult--source-*= variables. Use the public variables =consult-source-*= instead. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 36ba74d..44ad4f3 100644 --- a/README.md +++ b/README.md @@ -619,8 +619,8 @@ Add the following to `~/.emacs.d/post-init.el` to set up Vertico, Consult, and E consult-theme :preview-key '(:debounce 0.2 any) consult-ripgrep consult-git-grep consult-grep consult-bookmark consult-recent-file consult-xref - consult--source-bookmark consult--source-file-register - consult--source-recent-file consult--source-project-recent-file + consult-source-bookmark consult-source-file-register + consult-source-recent-file consult-source-project-recent-file ;; :preview-key "M-." :preview-key '(:debounce 0.4 any)) (setq consult-narrow-key "<"))