From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.help Subject: Re: Someone start maintaining luddites.el Date: Fri, 31 Dec 2021 13:49:35 -0800 Message-ID: <2D585CA7-FE93-4A4F-9ABA-DD1D37E007ED@gmail.com> References: <87a6gkv7yj.fsf@iki.fi> <3937A76B-3194-4C43-8380-A4434850D839@gmail.com> <874k6rhc3p.fsf@posteo.net> Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Content-Type: multipart/mixed; boundary="Apple-Mail=_C3C7B67E-48F9-474B-AD3C-EF2AE30F480B" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33801"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Colin Baxter , help-gnu-emacs , =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= To: Philip Kaludercic Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 31 22:50:16 2021 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 1n3Pmx-0008Yp-EQ for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 31 Dec 2021 22:50:15 +0100 Original-Received: from localhost ([::1]:38616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3Pmv-0007lj-FJ for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 31 Dec 2021 16:50:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3PmQ-0007lY-0a for help-gnu-emacs@gnu.org; Fri, 31 Dec 2021 16:49:42 -0500 Original-Received: from [2607:f8b0:4864:20::62e] (port=45802 helo=mail-pl1-x62e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3PmO-0005h4-Br for help-gnu-emacs@gnu.org; Fri, 31 Dec 2021 16:49:41 -0500 Original-Received: by mail-pl1-x62e.google.com with SMTP id w24so20914258ply.12 for ; Fri, 31 Dec 2021 13:49:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=lw7TlOUrTE3VCuIqA8vZ+TluBMTAX9pIaD9g9dQ1O0c=; b=AYxFZU+mx8eH5LDM/57E357dPznxa88FT/Weoqxl3LJ6e8QPTCkYwzIUcqtWX6qfbM EawDu8DCtCaE29gIUic+F92w/6sL0VOplOKXx8qtCGXfQIIV/tUnVPcYoiDZjNWk+kR3 Gp6PLIAywGrYAiwQhg64ED6b89tmHew8dbVkpG7ZeynM+1Z5KLCSiH/Nk02hHboLRtwy MZh07ErUKVSc1/Y5wgsNRSig9fKxMIt5LXowlET6UstxjcysbPjuhmIrBgp4VBirlhjw sfPVfmXz2odpvE/GHq7vuWdsbeK3oYZCXxx6jpRqW2FkzBmU3fW583bZk7eJ9M7//gLs +4Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=lw7TlOUrTE3VCuIqA8vZ+TluBMTAX9pIaD9g9dQ1O0c=; b=IN9GaSfZKtPRkEkyfrboHtts4rb8wr97tYhlSW2dnGh4mbHZoJfJUVDWIqxDqkCyWt q/Cw2/ZyEca1hKK/ntZRccgFylhPVOtT35QOJMnIetzNge6AY4K124CswIZh4/Hhv2Am b0/lgk1Y0DFP/tyAt04+SPH29UGS50Pl89lIyC4btLcvSJ7RMJnGRMJ/jlz/Xieit0ep qsGxFlYh65vnz0ke2M8tDX9dxE4aoLQ7v7/I5/1Yd4e7xaKjkCGXEV4qcMsN3//qJ618 T36OQAawrALuoFDEKsHBBiYEsDo7NvuJGUYJXXj50JlYK0C3/FlD6vjrcAUZAVOniNmZ qWbw== X-Gm-Message-State: AOAM533hNXtAkl2oKzOWpwOK+LS12217qWGhdCglvsnscvJTpkxBkW1R HsGi5eY9u0BIVoVcXLKOtw0= X-Google-Smtp-Source: ABdhPJwveXgrPO2p3xT9gVveqRTX6ooraIxz9oMafuxYBngwoYvU/bsM5lt2zn/u/xF6SNi27IqVSw== X-Received: by 2002:a17:902:8488:b0:149:8545:5172 with SMTP id c8-20020a170902848800b0014985455172mr22717138plo.132.1640987377114; Fri, 31 Dec 2021 13:49:37 -0800 (PST) Original-Received: from smtpclient.apple ([2600:1700:2ec7:8c90:d85e:8f59:4e9a:7cc9]) by smtp.gmail.com with ESMTPSA id x6sm26696755pge.50.2021.12.31.13.49.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Dec 2021 13:49:36 -0800 (PST) In-Reply-To: <874k6rhc3p.fsf@posteo.net> X-Mailer: Apple Mail (2.3693.40.0.1.81) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::62e (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::62e; envelope-from=casouri@gmail.com; helo=mail-pl1-x62e.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.help:135089 Archived-At: --Apple-Mail=_C3C7B67E-48F9-474B-AD3C-EF2AE30F480B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Dec 29, 2021, at 3:41 AM, Philip Kaludercic = wrote: >=20 > Fu Yuan writes: >=20 >>> =E5=9C=A8 2021=E5=B9=B412=E6=9C=8828=E6=97=A5=EF=BC=8C=E4=B8=8A=E5=8D=88= 11:37=EF=BC=8CTeemu Likonen =E5=86=99=E9=81=93=EF=BC=9A >>>=20 >>> =EF=BB=BF* 2021-12-28 07:32:14+0000, Colin Baxter wrote: >>>=20 >>>> I agree. I personally don't like having to alter my ~/.emacs just = to >>>> stay the same. I think it should be the other way round - but what = do >>>> I know? >>>=20 >>> Maybe don't ask other people (Emacs developers) to do things for = you. >>> Create and maintain an Emacs package which keeps current and future >>> Emacses just like "in the old days." The package wouldn't do much, = just >>> gradually add configuration options which disable everything new. I >>> wouldn't use it myself but I think some/many people would be = grateful. >>> Name it luddites.el, or something. >>>=20 >> I think similar thing has been brought up when we were discussing >> changing defaults in new Emacs, but I don=E2=80=99t remember the >> conclusion. Were there any problems with it, is anyoneworking on = that? >=20 > I started working on something like this a few months back, and it > should be possible. The had part it tracking down all the changes. I think one only needs to go over the NEWS before each release and add = changed defaults. Emacs doesn=E2=80=99t change default values very = often, most of the change in NEWS are additions. It=E2=80=99s good to hear you are working on this! Maybe my version = could provide a different angle or some news ideas to you: --Apple-Mail=_C3C7B67E-48F9-474B-AD3C-EF2AE30F480B Content-Disposition: attachment; filename=old-defaults.el Content-Type: application/octet-stream; x-unix-mode=0644; name="old-defaults.el" Content-Transfer-Encoding: quoted-printable ;;;=20old-defaults.el=20---=20Get=20off=20my=20lawn!!=20=20-*-=20= lexical-binding:=20t;=20-*-=0A=0A;;=20Author:=20Yuan=20Fu=20= =0A=0A;;;=20This=20file=20is=20NOT=20part=20of=20GNU=20= Emacs=0A=0A;;;=20Commentary:=0A;;=0A;;=20We=20use=20custom=20themes=20to=20= implement=20this=20because=201)=20this=20way=20we=20don=E2=80=99t=0A;;=20= reinvent=20the=20wheels=20and=202)=20we=20don=E2=80=99t=20need=20= advanced=20features=20like=0A;;=20choosing=20what=20variables=20to=20not=20= revert=20or=20only=20revert=20variables=20or=0A;;=20faces.=0A=0A;;;=20= Code:=0A=0A=0A(defvar=20old-defaults--changelog=0A=20=20'((emacs-28=0A=20= =20=20=20=20:variable=0A=20=20=20=20=20((kill-ring-max=2060=20t)=0A=20=20= =20=20=20=20(gnus-treat-fold-headers=20nil))=0A=20=20=20=20=20:face=0A=20= =20=20=20=20((mode-line-inactive=20(:inherit=20mode-line)=20t=20"In=20= Emacs=2029.1,=20mode-line=20defaults=20to=20proportion=20font,=20this=20= setting=20sets=20it=20back=20to=20monospace")=0A=20=20=20=20=20=20= (mode-line-active=20(:inherit=20mode-line)=20t=20"In=20Emacs=2029.1,=20= mode-line=20defaults=20to=20proportion=20font,=20this=20setting=20sets=20= it=20back=20to=20monospace")=0A=20=20=20=20=20=20(gnus-header=20= (:inherit=20'unspecified)=20t=20"In=20Emacs=2029.1,=20gnus-header-*=20= defaults=20to=20proportion=20font,=20this=20setting=20sets=20them=20back=20= to=20monospace"))))=0A=20=20"Stores=20old=20default=20values.=0AAn=20= alist=20of=20(EMACS-VERSION=20.=20SETTINGS)=20where=20EMACS-VERSION=20is=20= a=0Asymbol=20representing=20a=20particular=20version=20and=20SETTINGS=20= is=20a=20plist=0A(:variable=20VARIABLES=20:face=20FACES).=20VARIABLES=20= is=20a=20list=20of=20custom=0Avariable=20forms=20suitable=20for=20= =E2=80=98custom-theme-set-variables=E2=80=99=20and=0AFACES=20is=20a=20= list=20of=20face=20forms=20suitable=20for=0A= =E2=80=98custom-theme-set-faces=E2=80=99.=0A=0AThe=20alist=20should=20be=20= ordered=20in=20ascending=20release=20time,=20i.e.,=20the=0Aoldest=20= release=20at=20the=20front.")=0A=0A(defmacro=20old-defaults-deftheme=20= (version)=0A=20=20"Define=20the=20theme=20that=20restores=20defaults=20= to=20VERSION.=0AVERSION=20is=20a=20version=20symbol=20that=20appears=20= in=0A=E2=80=98old-defaults--changelog=E2=80=99."=0A=20=20(when-let*=20= ((theme-name=20(intern=20(format=20"old-defaults-%s"=20version)))=0A=20=20= =20=20=20=20=20=20=20=20=20=20=20=20(changes-needed=0A=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20(cl-loop=20for=20change=20in=20= old-defaults--changelog=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20for=20idx=20=3D=200=20then=20(1+=20idx)=0A=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20if=20(eq=20= (car=20change)=20version)=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20return=20(cl-subseq=20old-defaults--changelog=0A= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=200=20(1+=20idx))))=0A=20= =20=20=20=20=20=20=20=20=20=20=20=20=20;;=20CHANGES-NEEDED=20looks=20= like=20((emacs-28=20.=20SETTINGS)=0A=20=20=20=20=20=20=20=20=20=20=20=20=20= =20;;=20(emacs-29=20.=20SETTINGS)=20...).=0A=20=20=20=20=20=20=20=20=20=20= =20=20=20=20(var-changes-needed=0A=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20(cl-loop=20for=20change=20in=20changes-needed=0A=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20append=20(plist-get=20= (cdr=20change)=20:variable)))=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (face-changes-needed=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (cl-loop=20for=20change=20in=20changes-needed=0A=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20append=20(plist-get=20(cdr=20= change)=20:face))))=0A=20=20=20=20`(progn=0A=20=20=20=20=20=20=20= (deftheme=20,theme-name=0A=20=20=20=20=20=20=20=20=20,(format=20"Restore=20= variable=20and=20face=20defaults=20to=20%s"=20version))=0A=20=20=20=20=20= =20=20(custom-theme-set-variables=0A=20=20=20=20=20=20=20=20',theme-name=0A= =20=20=20=20=20=20=20=20,@var-changes-needed)=0A=20=20=20=20=20=20=20= (custom-theme-set-faces=0A=20=20=20=20=20=20=20=20',theme-name=0A=20=20=20= =20=20=20=20=20,@face-changes-needed)=0A=20=20=20=20=20=20=20= (provide-theme=20',theme-name))))=0A=0A(provide=20'old-defaults)=0A=0A= ;;;=20old-defaults.el=20ends=20here=0A= --Apple-Mail=_C3C7B67E-48F9-474B-AD3C-EF2AE30F480B Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Yuan --Apple-Mail=_C3C7B67E-48F9-474B-AD3C-EF2AE30F480B--