Update README.md

This commit is contained in:
James Cherti
2024-11-14 09:36:16 -05:00
parent c7991b9811
commit 0bb7705a72

View File

@@ -11,8 +11,6 @@ By default, only essential features are enabled, providing a minimal base that i
The author is using **[minimal-emacs.d](https://github.com/jamescherti/minimal-emacs.d)** as his `early-init.el` and `init.el`. He is using 146 packages and his Emacs configuration starts in 0.22 seconds:
![](https://www.jamescherti.com/wp-content/uploads/minimal-emacs-startup-time.png)
A [user commented on Reddit](https://www.reddit.com/r/emacs/comments/1feaf37/comment/lmw7ijd/) that after switching to `minimal-emacs.d`, their configuration execution time decreased from 3 seconds to just 1 second by simply replacing their `init.el` and `early-init.el` files with those from the project. Please [send me](https://www.jamescherti.com/contact/) your feedback and I'll add it to this README.md file.
(The optimizations in `minimal-emacs.d` significantly contribute to speeding up Emacs startup. Additional factors include deferring package loading when not necessary on startup by using `:defer t` with `use-package`, and using [compile-angel](https://github.com/jamescherti/compile-angel.el) to ensure all `.el` files are byte-compiled and native-compiled. The author also regularly uses `M-x list-timers` and `M-x describe-mode` for each file type to ensure only essential modes and timers are active, which helps optimize Emacs' performance.)
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
@@ -46,6 +44,7 @@ A [user commented on Reddit](https://www.reddit.com/r/emacs/comments/1feaf37/com
- [Why the reflexive disabling of the menu bar?](#why-the-reflexive-disabling-of-the-menu-bar)
- [Why did the author develop minimal-emacs.d?](#why-did-the-author-develop-minimal-emacsd)
- [How to keep minimal-emacs.d pre-\*.el and post-\*.el files in a separate directory?](#how-to-keep-minimal-emacsd-pre-el-and-post-el-files-in-a-separate-directory)
- [Are there any comments from users?](#are-there-any-comments-from-users)
- [Features](#features)
- [Author and license](#author-and-license)
- [Links](#links)
@@ -721,6 +720,10 @@ To ensure the `minimal-emacs.d` configuration loads `post-early-init.el`, `pre-i
This will ensure that the `minimal-emacs.d` configuration loads `post-early-init.el`, `pre-init.el`, and `post-init.el` from `~/.config/minimal-emacs.d/`.
### Are there any comments from users?
A [user commented on Reddit](https://www.reddit.com/r/emacs/comments/1feaf37/comment/lmw7ijd/) that after switching to `minimal-emacs.d`, their configuration execution time decreased from 3 seconds to just 1 second by simply replacing their `init.el` and `early-init.el` files with those from the project. Please [send me](https://www.jamescherti.com/contact/) your feedback and I'll add it to this README.md file.
## Features
1. **Performance Improvements:**