[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Newbie Info Pages
From: |
Eli Zaretskii |
Subject: |
Re: Emacs Newbie Info Pages |
Date: |
Fri, 13 Sep 2024 09:40:35 +0300 |
> From: Philip Kaludercic <philipk@posteo.net>
> 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?
Re: Emacs Newbie Info Pages, Corwin Brust, 2024/09/12