From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pedro Andres Aranda Gutierrez Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: Default custom file was: Re: Propose to add setup-wizard.el to ELPA Date: Wed, 5 Jan 2022 16:58:03 +0100 Message-ID: References: <740A136F-8710-4F4C-BFC1-A3DB418447F4@gmail.com> <87zgoc7u6k.fsf@gmail.com> <83iluzbqcr.fsf@gnu.org> <87r19nxx7x.fsf@gmail.com> <878rvv9esx.fsf@yahoo.com> <87fsq28x4l.fsf@yahoo.com> <87bl0q8vfa.fsf@yahoo.com> <83pmp69vsu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002adfe305d4d7d3be" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11284"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Robert Pluim , emacs-devel , Po Lu , Stefan Kangas , Drew Adams To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 05 16:59:40 2022 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 1n58hQ-0002ni-N7 for ged-emacs-devel@m.gmane-mx.org; Wed, 05 Jan 2022 16:59:40 +0100 Original-Received: from localhost ([::1]:45648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n58hP-0002E3-Qt for ged-emacs-devel@m.gmane-mx.org; Wed, 05 Jan 2022 10:59:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n58gK-0001ME-Vv for emacs-devel@gnu.org; Wed, 05 Jan 2022 10:58:33 -0500 Original-Received: from [2a00:1450:4864:20::535] (port=33621 helo=mail-ed1-x535.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n58gJ-000061-6k; Wed, 05 Jan 2022 10:58:32 -0500 Original-Received: by mail-ed1-x535.google.com with SMTP id m21so165032189edc.0; Wed, 05 Jan 2022 07:58:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rmfh8G4j4/49UK1Refwxnt1oJ01F5wXa928kVhf5eUI=; b=iUxVv5OWvdcEjkw5SP9dfTFoMjmDPQMpRwrQMGGNi2IgdQ6ppDyymqO7guN4m4XXm2 9LziIlSSmdKgBcpbqVFOV90Tb5664FRfZgX3zKcXDnGsCrzesyEHzQ1H6GRzfz998I0q HWcWgcjSziuaLeiTByFHYBaf6pASCKwFYCzUVfLvBSfq4jOrTX8X3dPZidb0dk5nH52L 9w4B30VIqUUVOAr6tQj/grzZBtf2BDDgwDAuSclPlgz4PhL1iMinvn1i31dbUIzlJWS5 AMQJVGjUon2Fj+bSBmOvIqzwZOn6sFn6Yr2kjmQv4Zc2x825Nl2sz/KztheqFAmmg4fk OG3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rmfh8G4j4/49UK1Refwxnt1oJ01F5wXa928kVhf5eUI=; b=aNXO2xqnU5EWhl9Q0s+VpodQyTD2B42NISXcAhPblMalI1KlhFN3sEwgFvIg4h22E3 sIXkpKyEZwbjPJQ7LtHDetGHjGnVRZ2Y3LlPp6do5ZCtENKcMjPMRzYuIf25indt/xNo OtrZ2I58AenJkVKurkFu9XgWtcc+JBSH/9tgGCna+CLK3ZvEfBeExJvnpwASZSracM7t ptPQDLTeWyl+GQESULsQeyv4oF7fAB3dlMyZMo5Gy4KF4gP8BC/kwbGyVCncnvIMY9TU ZGjENnH3YXLynwm3pX9IxF9uCqcnkAGocO2KsTEhAf+Cyu3pq0/vK/A+CMDb2uUBYAky MEaQ== X-Gm-Message-State: AOAM53001rRxrxg7vs3zYfUbx8aNhiLanfLtK4iuJ6YAhEV+tUWPTMy6 dmvVVxirgzJKmzOdbDubchvniPmOizJlUHdZF+MZQOfEmYL+xQ== X-Google-Smtp-Source: ABdhPJyNRQi+idZwxuU2+C+sAotkzzF5VrUD9plAhFeK6PnMrv7+wEvRVcIGG4JZVY0/ik6JADMoHvFsqx9d9fSLT2I= X-Received: by 2002:aa7:d503:: with SMTP id y3mr1115105edq.224.1641398309411; Wed, 05 Jan 2022 07:58:29 -0800 (PST) In-Reply-To: <83pmp69vsu.fsf@gnu.org> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::535 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=paaguti@gmail.com; helo=mail-ed1-x535.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=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: 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" Xref: news.gmane.io gmane.emacs.devel:284249 Archived-At: --0000000000002adfe305d4d7d3be Content-Type: text/plain; charset="UTF-8" > I don't understand what's so bad about the third line that warrants > loading the custom file by default. If there's something bad, I missed it. It's been in my init.el for ages ;-) However, providing for emacs to do it might help people separate init.el from custom.el which I think is good And making sure it is loaded by default after init.el may help debugging, right? I mean, you know when the customisations were loaded, and that may be more than what we have today, right? > So I'm not sure we should make that easier, because it makes easier > for people to make mistakes like that. I don't think this helps people byte-compiling anything ;-) On Wed, 5 Jan 2022 at 14:06, Eli Zaretskii wrote: > > Date: Wed, 05 Jan 2022 17:17:12 +0800 > > From: LdBeth > > Cc: Drew Adams , > > Pedro Andres Aranda Gutierrez , > > Robert Pluim > > , > > Eli Zaretskii , > > Stefan Kangas > > , > > "emacs-devel@gnu.org" > > > > >>>>> In <87bl0q8vfa.fsf@yahoo.com> > > >>>>> Po Lu wrote: > > > > > Most people were certainly happy for at least the past decade. > > > > I think saving custom set variables to init file somehow prevents > > using byte compiled init.el file effectively (unless the user hooks > > auto compile whenever it is changed by emacs). From that perspective, > > I'm happy to see that this behavior is to be changed. > > Byte compiling init.el is not a very good idea; natively-compiling > them is an even worse idea. > > So I'm not sure we should make that easier, because it makes easier > for people to make mistakes like that. > -- Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler --0000000000002adfe305d4d7d3be Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> I don't understand what's so= bad about the third line that warrants
> loading the custom file by default.

If there&= #39;s something bad, I missed it. It's been in my init.el for ages ;-)<= /div>
However, providing for emacs to do it might help people separate = init.el from custom.el which I think is good
And making sure it i= s loaded by default after init.el may help debugging, right? I mean, you kn= ow when the customisations
were loaded, and that may be more than= what we have today, right?

> So I'm no= t sure we should make that easier, because it makes easier
> for people to make mistakes like that.

I don&= #39;t think this helps people byte-compiling anything ;-)
On = Wed, 5 Jan 2022 at 14:06, Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Wed, 05 Jan 2022 17:17:12 +0800
> From: LdBeth <andpuke@foxmail.com>
> Cc: Drew Adams <drew.adams@oracle.com>,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Pedro Andres Aranda Gutierrez <paaguti@gmail.com>,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Robert Pluim
>=C2=A0 <rpluim= @gmail.com>,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Eli Zaretskii <eliz@gnu.org>,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Stefan Kangas
>=C2=A0 <= stefankangas@gmail.com>,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0"emacs-devel@gnu.org" <emacs-devel@gnu.org>
>
> >>>>> In <87bl0q8vfa.fsf@yahoo.com>
> >>>>> Po Lu <luangruo@yahoo.com> wrote:
>
> > Most people were certainly happy for at least the past decade. >
> I think saving custom set variables to init file somehow prevents
> using byte compiled init.el file effectively (unless the user hooks > auto compile whenever it is changed by emacs). From that perspective,<= br> > I'm happy to see that this behavior is to be changed.

Byte compiling init.el is not a very good idea; natively-compiling
them is an even worse idea.

So I'm not sure we should make that easier, because it makes easier
for people to make mistakes like that.


--
Fragen sin= d nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu= werden
Georg Kreisler
--0000000000002adfe305d4d7d3be--