From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Psionic K Newsgroups: gmane.emacs.help Subject: Strategies for Composable Modular Configuration? Date: Wed, 8 Nov 2023 16:25:38 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35190"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 08 16:53:08 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r0krb-0008pP-Hs for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 08 Nov 2023 16:53:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0kqx-00083S-Jy; Wed, 08 Nov 2023 10:52:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r0cwi-0002QT-OW for help-gnu-emacs@gnu.org; Wed, 08 Nov 2023 02:25:53 -0500 Original-Received: from mail-yb1-xb2f.google.com ([2607:f8b0:4864:20::b2f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r0cwg-0006ji-W6 for help-gnu-emacs@gnu.org; Wed, 08 Nov 2023 02:25:52 -0500 Original-Received: by mail-yb1-xb2f.google.com with SMTP id 3f1490d57ef6-da30fd994fdso446371276.1 for ; Tue, 07 Nov 2023 23:25:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=positron.solutions; s=google; t=1699428348; x=1700033148; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=mNciS0Jy1cPHhzUj/R/0iBe27hwnl/5dI+f2tp8eZGI=; b=E8rhAgDSvs8/61vt92ZckehqATprpq2D050aTugI24WMPlSwtai9dBzB9o8JpvlYrZ Kd35g5XH8bhwZrapcJ84apFmlZqxNzA4fdCXdcgQSGXOv7yEN4OwDNhA5a7rVZY3/JYt bibcl3/L7WuB3NiaxckdmAXs1Jzp1x7FnjobkefA19thKKi5YQtV++uvZ/HkFhzPt5vT cYZUKcx4qMURFFGJE3/BYzHd+6PBunY9vpvYQfJA5lum8L9+hYMMPT8bfAz4165bN4Vb oBANZNTIL/VNQBvJJkeFEgj83yS/ZjJVLyUe+Eelm+LNlFyvKm/uvqxORmZwJ3hha/Fr owmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699428348; x=1700033148; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=mNciS0Jy1cPHhzUj/R/0iBe27hwnl/5dI+f2tp8eZGI=; b=YSNLiWBr23HC0701XnWUcBCIEqNix2TMuoljYw92TJunorz8f2Mk4j2a1Xx4PFxjhE l2i054V1V6WhXG0w48YSU2/5EF9Ucpw3T0Tg4zJ6XpqFasUzYVlEXHYPjGgtfltWXzV3 R3/NcbjtGVmwjdFVuNsLQvTRvCrrDpo7+fB20a3W0tCwN0FL1YI55mPiKIZFfTruoo/Z eL+IWecfWElHIQwvFIPzP/KBdPMnBX/f7i1ntK87GSWnwNFqo5Xbna43nMN6ioWj4BYH yIypQUTDc/D8ElIdi9jKzY7vceMk+X+NGY4uoc5yoWjZQhxIGFLAuALywjY8AGKp1uyr pe7Q== X-Gm-Message-State: AOJu0YyL00818AY9b48tJhsAuS0Ns9PpBRID+ytGCgfjF9R4AN9aO0Jl 88vYhi8l9B+jaIT0YyB4fbqk9tFNm9VGyzZ8BwNntKQ3YkgExPhd X-Google-Smtp-Source: AGHT+IExXhtgnjKAsxQhB/Q3NHePW5voY+A38IHxKm65F2twGXpaluv/M2RN3keCrzTVHLzR/odXrEk41sQNtWwHV7Q= X-Received: by 2002:a25:3216:0:b0:d85:e0d4:1c31 with SMTP id y22-20020a253216000000b00d85e0d41c31mr792871yby.7.1699428348691; Tue, 07 Nov 2023 23:25:48 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::b2f; envelope-from=exec@positron.solutions; helo=mail-yb1-xb2f.google.com X-Spam_score_int: -9 X-Spam_score: -1.0 X-Spam_bar: - X-Spam_report: (-1.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_IMAGE_ONLY_16=1.092, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 08 Nov 2023 10:52:21 -0500 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145464 Archived-At: AFAIK, if we compare Emacs configuration to NixOS configuration, Elisp lacks the composable module system. A consequence is that users cannot easily delegate out the declaration of configuration in whole or in part. If I like someone's org mode defaults, they cannot provide and I cannot consume that configuration except manually because infrastructure for declaring its boundaries and how to compose it with my own modifications doesn't exist. What we would do with a composable module system is, for example, install and configure a coherent set of minibuffer focused packages but without getting in the way of the user providing extra configuration on top or overriding attributes of the module either in a first-class or adhoc way. 1. What prior art can I look at 2. What implementation strategies appear viable 3. Did DOOM and Spacemacs get some things right? Thanks --=20 =EB=82=A8=EB=B0=B1=ED=98=B8 =EB=8C=80=ED=91=9C =EA=B2=B8 =EA=B3=B5=EB=8F=99 =EC=B0=BD=EC=97=85=EC=9E=90 =ED=8F=AC=EC=A7=80=ED=8A=B8=EB=A1=A0