From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: Emacs Newbie Info Pages Date: Fri, 13 Sep 2024 07:36:15 +0000 Message-ID: <87ldzw3t00.fsf@posteo.net> References: <87wmjg4tkq.fsf@posteo.net> <391666A2-D4BA-4DFE-9FF6-CAA48797EC97@summerstar.me> <87seu44r6o.fsf@posteo.net> <86seu4jbto.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3277"; mail-complaints-to="usenet@ciao.gmane.io" Cc: summeremacs@summerstar.me, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 13 09:36:49 2024 Return-path: Envelope-to: ged-emacs-devel@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 1sp0rJ-0000hP-J8 for ged-emacs-devel@m.gmane-mx.org; Fri, 13 Sep 2024 09:36:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sp0qt-0001zo-Jq; Fri, 13 Sep 2024 03:36:23 -0400 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 1sp0qs-0001zY-82 for emacs-devel@gnu.org; Fri, 13 Sep 2024 03:36:22 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sp0qp-0001IQ-As for emacs-devel@gnu.org; Fri, 13 Sep 2024 03:36:21 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E376A240106 for ; Fri, 13 Sep 2024 09:36:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726212976; bh=kOh7mgKnLw3hkIe0PusYIKVowZ47k/fr5U5+kUo6Vms=; h=From:To:Cc:Subject:Autocrypt:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:From; b=RG+NNjm1qlRc/GYfcjWurmfuwoES6MgmX3J5oAfxV0F26gO0XcASQyJXTaedL+JVa qOBI8CXQYCjfHvdmPyqROugx21WVBrgdpC6KOoPQrIHCIAe+O/JENWK/irb8xwg7sk i9EstjHP4Gf7ieiXuwUUu3eVrd1BGhx9PuoVfsTek97lom4T1AtogSbgsoYcdSElcL XmjmSjlCGxQbBB2Or1XE85rkmlhVP2Kh9CaDxCID2FO6jOFctIssPMDIXnERY55RT8 Nw1YwFqlN5fo/sw3sNehOT3xJQkjtDV/CnylWIWoXeM0qrYk3INVV6Z84Y0mSWsqoM KWUVl95vo8H0A== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X4mMM5XyXz9rxL; Fri, 13 Sep 2024 09:36:15 +0200 (CEST) In-Reply-To: <86seu4jbto.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 13 Sep 2024 09:40:35 +0300") Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM OpenPGP: id=philipk@posteo.net; url="https://keys.openpgp.org/vks/v1/by-email/philipk@posteo.net"; preference=signencrypt Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323578 Archived-At: Eli Zaretskii writes: >> From: Philip Kaludercic >> Cc: emacs-devel@gnu.org >> Date: Thu, 12 Sep 2024 19:17:51 +0000 >> >> I guess we are thinking of different kinds of newbies here. That being >> said, an experiment I have been thinking about but haven't implemented >> yet is a .ini-parser for Emacs that could load a Emacs configuration >> from a file like >> >> --8<---------------cut here---------------start------------->8--- >> [package avy] >> set all-windows all-frames >> bind C-z avy-goto-word-1 >> >> [package auctex] >> set TeX-master dwim >> hook TeX-language-de-hook site/use-german >> rebind RET newline >> >> [package bash-completion] >> (bash-completion-setup) >> --8<---------------cut here---------------end--------------->8--- >> >> where the common patterns are simplified and made safe (e.g. the "set" >> directive wouldn't evaluate) but still remains powerful, as you can >> intersperse lisp code. If I ever get around to finishing this -- or >> anyone else decides to steal the idea ;) -- then adding this to the core >> and loading ~/.emacs.d/init.conf if it exists might be a useful thing to >> mention in a newbie manual. > > This sounds like a new DSL to specify Emacs features to turn on and > off? Is adding yet another extension language to Emacs is a good > idea? If anything, why not start from Editorconfig way whose support > was recently added to Emacs -- that at least is a DSL known to others > out there? Yeah, a DSL with a castrated syntax that many users might be familiar with. It might be possible to reuse the EditorConfig parser, but not much more beyond that. As I said, I haven't finished my prototype yet, so there isn't much of a point in discussing concrete questions yet, I just wanted to bring it up as an idea. -- Philip Kaludercic on siskin