From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "tomas@tuxteam.de" Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: Default custom file was: Re: Propose to add setup-wizard.el to ELPA Date: Tue, 4 Jan 2022 18:09:56 +0100 Message-ID: References: <740A136F-8710-4F4C-BFC1-A3DB418447F4@gmail.com> <87zgoc7u6k.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nGTefOlGmMEhrKiD" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34040"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Kangas , "emacs-devel@gnu.org" To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 04 18:11:26 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 1n4nLK-0008gz-DL for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Jan 2022 18:11:26 +0100 Original-Received: from localhost ([::1]:56244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4nLI-0002Zm-Ad for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Jan 2022 12:11:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4nJz-0001gY-7X for emacs-devel@gnu.org; Tue, 04 Jan 2022 12:10:03 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:36028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4nJx-0007jL-AR for emacs-devel@gnu.org; Tue, 04 Jan 2022 12:10:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject :Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=lJto6jfngMSgjjvKoqBc3t+vWwTW9W88oN4oMO0ppAo=; b=UOgUhgDEshl+EZrvC5f+beA6n2 +x2qAr8ay8/8C01x6eTCnosp8PgmLlWfK5lKW9d0P9RmiJo/pMJwodo8NwsyGNdJA7wjvi/c2zLhQ Gt3LIc4/ePOzvP/z1HLTDceUVs2VJoF7V50SealOwVL6CyTcJWoKyjZwklSkhxWw4IqJ4QlCalOeA 7ouH6H1Rrmd5f01LJOjV/Ts/p6OFolTE7x5eW4xBFjUx+E+2mPpki9HyuCMyuFRXXof6R6U9Lg+3D iQ4QeJWsgHcYNfpgk8yptti2QaBonqAZ0Fx18NtBKqExx6Tm864O8qc9n+EScQvmW8xInYi4FOwyV k97ekq7g==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1n4nJs-0005D3-Vo; Tue, 04 Jan 2022 18:09:56 +0100 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de 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, 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:284175 Archived-At: --nGTefOlGmMEhrKiD Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 04, 2022 at 04:44:36PM +0000, Drew Adams wrote: > > > You would have something like .emacs.d/init.el and .emacs.d/custom.el. > > > I don't think that looks obscure at all. > >=20 > > Let's agree to differ on that. Why two? Why in an > > implicitly defined order? >=20 > Why two separate files? That's what this whole > discussion is about: preventing Custom from > writing generated code to the same file where > you write code manually. OK, I was somewhat ambiguous: I do have more than two init files, but each one is explicitly loaded from ~/.emacs.d/init.el. What I meant with "why two?" was why two "load" processes from whithin Emacs's guts when one suffices? > The "implicitly defined order" would be explicitly > defined (doc'd). And it would only be the default. We seem to have different notions of explicit :-) I meant specifically explicit in the init file. [...] > Nothing would prevent you from doing that. > That's similar to doing everything in init.el, > but at least it has the advantage of not > mixing `custom*' code with other code. TBH I started off with ~/.emacs (or how it was called back then). I hadn't any qualms with customize writing stuff into it -- on the contrary, it gave me hints on what I could do myself :-) Later, once the init file got more complex, I moved things to ~/.emacs.d and separated different parts. That was the moment where custom.el got separated out. This gave me a chance to learn I perhaps wouldn't have taken otherwise. But I get that this is a kind of mileage which varies wildly :) Cheers --=20 t --nGTefOlGmMEhrKiD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCYdR/XQAKCRAFyCz1etHa RvCwAJwPTh/sBHmFGfYKjaQ+2bbL8os8fwCfbgkMRTx9gsAdCl/sUiNGFFRp/z8= =Al6v -----END PGP SIGNATURE----- --nGTefOlGmMEhrKiD--