From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs Newbie Info Pages Date: Fri, 13 Sep 2024 09:40:35 +0300 Message-ID: <86seu4jbto.fsf@gnu.org> References: <87wmjg4tkq.fsf@posteo.net> <391666A2-D4BA-4DFE-9FF6-CAA48797EC97@summerstar.me> <87seu44r6o.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33496"; mail-complaints-to="usenet@ciao.gmane.io" Cc: summeremacs@summerstar.me, emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 13 08:41:12 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 1sozzT-0008Y5-Km for ged-emacs-devel@m.gmane-mx.org; Fri, 13 Sep 2024 08:41:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sozyv-0005kx-N8; Fri, 13 Sep 2024 02:40:37 -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 1sozyv-0005kp-1N for emacs-devel@gnu.org; Fri, 13 Sep 2024 02:40:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sozyu-00043w-8D; Fri, 13 Sep 2024 02:40:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5YPg9VoSMPb+iDT8JS448FFlkw1wHCkaRFksnBmlXgY=; b=r9d3anu6Edh7 I54FNc3A9AS8V8XEkGb1NJS/Z3oMyBHevkWooV7QLBJQ7/0JX9L10EG1MmeG5xeGIoULR8HPDzCA2 HQ1iI/7br9votMQkf3/JFQWV/hKPqDZ8QpS+ImopU8GMVhAsFJKp5H2Sz52QdJpztCZrwW5f1QJ4o 5QJLwG6n/+AWYJcv2lF63NaSEW7GZKlaVIfJiDiRlHdfhvgOnO4WL5Z0A+YZ1hbxafTKOsbR7ZdSs A97W6VgTOjtjlYFCbvddLbABX0B4OVDLrgYlQWwGW3mKPC1macIcHvyq1oI+i1DN9uEwYeCVV4Gpn vDz6YwUXpoXD5XwrMDu46w==; In-Reply-To: <87seu44r6o.fsf@posteo.net> (message from Philip Kaludercic on Thu, 12 Sep 2024 19:17:51 +0000) 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:323575 Archived-At: > 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?