From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Default custom file was: Re: Propose to add setup-wizard.el to ELPA Date: Tue, 04 Jan 2022 18:30:53 +0800 Message-ID: <87mtkbbxnm.fsf@yahoo.com> References: <740A136F-8710-4F4C-BFC1-A3DB418447F4@gmail.com> <87zgoc7u6k.fsf@gmail.com> <87r19n7qu9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7689"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Stefan Kangas , Pedro Andres Aranda Gutierrez , emacs-devel To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 04 11:32:02 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 1n4h6o-0001pn-KY for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Jan 2022 11:32:02 +0100 Original-Received: from localhost ([::1]:41154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4h6n-000746-D9 for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Jan 2022 05:32:01 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4h5w-00068B-AH for emacs-devel@gnu.org; Tue, 04 Jan 2022 05:31:08 -0500 Original-Received: from sonic309-20.consmr.mail.ne1.yahoo.com ([66.163.184.146]:34683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4h5t-0001zO-2V for emacs-devel@gnu.org; Tue, 04 Jan 2022 05:31:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1641292262; bh=20fKmkcdwCfrub9ABRvw5fKqSTOYlsErFKbDt8l2WoY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=XJ/Ow0ZB454jhq+alqyZh2pHCpnN5BCe8h1s0Lple4M0Wt+G/PJYobsJ/0xURPAozyYPIXoHV8VvCA34Sw1pa43X92RMomBeXU2aa3jdtwRCULf4KVv5dTSc0HNzxkCJLz24L7xixD2dFPTmk5U0Rucbx0UjWxDcCxSLHj0B7JMQ9y/Lrrke3fEPIC4jGa1ieKsP/WL5ZoCS0HXYLnTzwrPUmQXTQ7Vwaj06a9XmnIYCtTcQS6s6DYyPnE/ZamkiAJHxwDTg8CW8uDOFSPnZH5sIsyWG90sUmScPhxMvIKIQaLgbVv+zGlfQYgofWIZrqTyye7H9iMXGjafQveQTUg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1641292262; bh=VOra2mpA4l9wf61IMNzbeEbgXtMlMLsOn5fpltWozHK=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=SvyLFvHJ132TbABJeY+ufZaeNKvpvj1JSCfHQUtIunzRbbbz1jrjllrFUHT/uTvAI5K+W+aZ/+EmJhNxaV+5KvBrsHoVdrFJaINf1L6ekidfy0prJqT6x0Sef/fnX3p5mY8r6nTNF26Xid3HCEXRGr3Sm2HpZuyO4MayCvGkZvEnjBRQ1aBDqUPn8xmNAJqH2QbirSRbHFxd1pgbysmGyW1HukVbXpJLmHpBA/m3YBGanJWf5SlJqt/sZFPTDkOCW+3/qBZpzKngf+IKQin3dFZd87PX6ycV3OmAkkee/NoDOH77AueIqH5HktvmOYogYd+4TRjC81ynN60g6qzhAg== X-YMail-OSG: xpuknGgVM1mhckuy_knbxFCM8UBYyzoB1THdQ3R6LzQ4S2pc35.iS4GookKffFB epaidoIEdR56YLaseXhrIslH7h3PTAoq.zm3LZXuDopKlnnQHrao8wJvIOmFbcqko5RIYLbIonWq BGXVBJFTyLof5yrWsIGprlRIcvPMLo593OPWgEt3k3i6Qj4LbUnuopZ_ViWv8ZCyVS7VInm5L.4Y FEByyNM_t_8rWM1XklkGHcaV1DYbwkrqZd3oHWZdo.Iq9ehsVQbIseA.cDSwVp3BAXEDKPDnbkfa 0KJnbqOtJUXSK6MuTIzhCX3pNMOXNoZ4ZvooERDi_OKCgPRSUcrgPJrTNP_CQ2coFiHLy.9Bht9G QfBoNhbam1TtHdit02.wn.sbOyn2f5uliz6ZS9C29IpX6YQ5LrNbAjR84kC1TevjxF.cuxBb6IPI VryNIPtXO8qDlNrVF5iPoCzeJxZ8S_LgFKsB1RkwLeoI0FEAKH_KqVQDZYh1I2FkpVvRj2wDF2Hr u85QZqw2tZSUjVv6YehclVtNEw9ibz9dwgPzdoCiUAlQo55Y6e3mlqxjQ4IJr67FosWrKkyi9MXG 8KjJTaTOITQfI2xgAqTfO3kWwfm6rSGOL6Lbv3w0kgd1QFXI49MHqAu6AUt8TFGXcXbHzl.pnAPQ Cm8IdumM7plXfBR48Eu0YSZC5Gj3BRPqq4GSY2qlTaUuKivgSDU0r_Hjxa7e3dsZsyoRCIsRpSoE hrNFO20E63HwVJgixJ6ia0U7ncOlsk8bCxrHI4nbz_.tCdBEFFzK.KzEd2CKKmjuZFxttdJQeLwU f0bXdnN_O3hTtZbUkkcJIiguYUvEoy01NlzQ0KKrDX X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Tue, 4 Jan 2022 10:31:02 +0000 Original-Received: by kubenode519.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 49a1ac8d5346cfd89ddc719e35c0de8f; Tue, 04 Jan 2022 10:30:59 +0000 (UTC) In-Reply-To: <87r19n7qu9.fsf@gmail.com> (Robert Pluim's message of "Tue, 04 Jan 2022 11:11:42 +0100") X-Mailer: WebService/1.1.19551 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.146; envelope-from=luangruo@yahoo.com; helo=sonic309-20.consmr.mail.ne1.yahoo.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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:284139 Archived-At: Robert Pluim writes: >>>>>> On Tue, 4 Jan 2022 02:14:18 -0500, Stefan Kangas said: > > Stefan> Pedro Andres Aranda Gutierrez writes: > >> What I propose is to agree on a default value for custom-file that= could > >> potentially be changed by the user in init.el or .emacs > >> and do the (load custom-file 'noerror) after loading the init file= as a > >> default behaviour for Emacs > > Stefan> FWIW, I support this proposal. > > Stefan> With such a default, I agree that we should load it after ini= t.el by > Stefan> default (so you don't need to type that into your init.el). > > What would you do for users who already have 'custom-set-variables' in > their init file? You'd have to arrange for custom-file *not* to be set > for them, since otherwise subsequent saves of custom variables end up > in the wrong file. > > I=CA=BCm not 100% sure you'd want it loaded after the init file either: h= ow > would you then do further changes that depend on the values set in > your custom file? > > Robert FWIW, I don't think any change to the default custom file would be a good idea. It's too well-established a default to be changed because several people find it ugly. Thanks.