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: [External] : Re: Default custom file was: Re: Propose to add setup-wizard.el to ELPA Date: Wed, 05 Jan 2022 21:04:32 +0800 Message-ID: <878rvu72qn.fsf@yahoo.com> 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> <87y23u8rew.fsf@gmail.com> <87a6ga5u7e.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23650"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Colin Baxter =?utf-8?Q?=F0=9F=98=BA?= , Robert Pluim , "emacs-devel@gnu.org" , Stefan Kangas , Eli Zaretskii , Drew Adams To: Pedro Andres Aranda Gutierrez Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 05 14:09:13 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 1n562S-0005z7-Q5 for ged-emacs-devel@m.gmane-mx.org; Wed, 05 Jan 2022 14:09:12 +0100 Original-Received: from localhost ([::1]:52212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n562Q-0007Ra-TA for ged-emacs-devel@m.gmane-mx.org; Wed, 05 Jan 2022 08:09:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n55yD-0004m6-W9 for emacs-devel@gnu.org; Wed, 05 Jan 2022 08:04:50 -0500 Original-Received: from sonic304-21.consmr.mail.ne1.yahoo.com ([66.163.191.147]:40361) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n55yA-0006IB-NK for emacs-devel@gnu.org; Wed, 05 Jan 2022 08:04:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1641387884; bh=Fefj3fsnJs1CnEIVClpTZhAV6KRF28WNYUnQVZ9P5eo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=QbfxXKYq+ti0MK0vT4JZrFfOBMAuBNAVs3pm4zsWf+Lgu2KXI3AoTK5w3D4TcHETyotyV1WrPdXg6kguhrt2F4tCCT8Pg+qMr5fHlxtJjSgxCBhcIW43gNUxcyiibF3jb1dlIxeD7FG6hTzb7I8rUG/bWPOLztWQB2fufJ9mgvRWWXCgmXwe+dB6OHwNWGfGO23Dve4A7eBJL2Dal5u2EZLbN7oz/1kauTodTctLWQBHuPElNE6DVS857nvQlbdxckwHa6UI9F2U3vJFcgZ+80YdvQNQs37Tvu8Sff7mZDzMzx8R6pA5DYu+xOr2ksPzthHmiiXUy1Y3eryuhFp87g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1641387884; bh=QoVaREtJvWDQkTpiAOL38Itd+D1w2hI9HvEPd9gVq4X=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=dF2P2/h0aYukWXdbtS4WEZep4kQtFgzND9oKiA7LbOn7WbeFlCT30+s8+v3bjUEZ03wfH8KpblaeQkiT6RX8vRmzh8sShvXdnkeYpbnKeVnubwPYD02xUunIt9mQ3LE3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dPdNQ0TIfBpeNShO0aGbY X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Wed, 5 Jan 2022 13:04:44 +0000 Original-Received: by kubenode516.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 0390e7ea8b995f0343e4a799e2f34ec2; Wed, 05 Jan 2022 13:04:38 +0000 (UTC) In-Reply-To: (Pedro Andres Aranda Gutierrez's message of "Wed, 5 Jan 2022 12:45:03 +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.191.147; envelope-from=luangruo@yahoo.com; helo=sonic304-21.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:284235 Archived-At: Pedro Andres Aranda Gutierrez writes: > Say we go a conservative approach and we only load custom-file > automatically if set by the user. I have this in init.el: (setq custom-file (expand-file-name "custom.el" user-emacs-directory)) (load custom-file) I don't understand what's so bad about the third line that warrants loading the custom file by default. That method of loading the custom file is even documented in the doc string of `custom-file', so everyone who changes his custom file should know about it. Besides, since the original discussion was about a setup wizard, we could arrange for that setup wizard to set up the custom file for the user if he so desires. > We wait to see if people like it and then include a message when > custom-file was already loaded by the user. Sometimes it is important for the user to manually control when the custom file is loaded. Having such a message would lead to an unreasonable amount of false positives, just like highlighting all bidirectional reordering characters in source code would. Thanks.