From e3c65400c4692455462528b3a2b1b555bf232104 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Thu, 12 Sep 2024 07:26:16 -0400 Subject: [PATCH] Update README.md and remove context-menu by default --- README.md | 18 ++++++++++++++++++ early-init.el | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 03d3a66..eaeb209 100644 --- a/README.md +++ b/README.md @@ -630,6 +630,24 @@ During the execution of `early-init.el` (and `pre-early-init.el` and `post-earl Thus, `post-early-init.el` and `pre-init.el` serve different purposes and are not the same. +### Why the reflexive disabling of the menu bar? It’s a major aid to discoverability, especially for new users. + +The menu bar is disabled by default in `minimal-emacs.d` to provide a minimal, distraction-free environment, which many experienced users prefer. + +The menu bar can be re-enabled by adding the following configuration to `~/.emacs.d/pre-early-init.el`: +``` +(setq minimal-emacs-ui-features '(menu-bar)) +``` + +Other UI features can also be enabled by adding the following to `~/.emacs.d/pre-early-init.el`: +``` +(setq minimal-emacs-ui-features '(context-menu tool-bar menu-bar dialogs tooltips)) +``` + +# Why did the author develop minimal-emacs.d? + +The author began working on it after realizing that no existing starter kit offered a truly minimal setup with the flexibility for users to choose exactly what to include in their configuration. This approach is inspired by the Arch Linux distribution, which follows the KISS principle by providing a minimal base system that users can fully customize with the help of the extensive documentation. + ## Author and license Copyright (C) 2024 [James Cherti](https://www.jamescherti.com) diff --git a/early-init.el b/early-init.el index 5b0245b..ac1be9d 100644 --- a/early-init.el +++ b/early-init.el @@ -16,7 +16,7 @@ ;;; Variables -(defvar minimal-emacs-ui-features '(context-menu) +(defvar minimal-emacs-ui-features '() "List of user interface features to disable in minimal Emacs setup. This variable holds a list Emacs UI features that can be enabled: