From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.help Subject: Re: About early-init right use. Date: Tue, 2 Apr 2019 17:42:22 +0200 Message-ID: <20190402154222.GA9550@tuxteam.de> References: <20190401235436.2cnhvuxzdj635hpn.ref@Ergus> <20190401235436.2cnhvuxzdj635hpn@Ergus> <20190402063900.GA24769@tuxteam.de> <421e6084-47e1-43d2-9436-1f82b406e730@default> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="3725"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.5.21 (2010-09-15) Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 02 17:53:11 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hBLip-0000o0-7U for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2019 17:53:11 +0200 Original-Received: from localhost ([127.0.0.1]:40955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBLio-0005fB-5v for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2019 11:53:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBLYS-0005cn-G5 for help-gnu-emacs@gnu.org; Tue, 02 Apr 2019 11:42:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBLYQ-0005ZN-5E for help-gnu-emacs@gnu.org; Tue, 02 Apr 2019 11:42:28 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:34141) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hBLYP-0005Wd-Ij for help-gnu-emacs@gnu.org; Tue, 02 Apr 2019 11:42:26 -0400 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; bh=uynh3ky2xhnVH1HoNi5FEDOMvtGZX9O/KwwBkcSTeZA=; b=ZjOwMIS1w95aBE/oBn0EHYZXI1JJ0NAktYdqfWCoKTdt4sI+ES1yc/13pjeV26cWKO4+MBY4Wo/p3jFgbhn23VqADvYKJ2uTrLYEGvGAX+5TaPNAvlyGU7BEbb+iJ672DFeoTwMndO4UsqKCoritdVWLIJIQdeot5Bx+jJg2ywerwMWKrv1jFlcv1SDMC7ymA5TFKvEA3lliktFi3L7Xu+5nPUITMEqYBpddNJ+mfmCh3R04nY0jlAnqr5brLpcJKmbmPf/S7FkHH2oHY3c0wNPlCC8fpSx/FwjzQnwwrd7uH430PkqXcvb+LiNJaUXZhCb/mSRcPq55ROeB9i37Fw==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1hBLYM-0002Wh-Rm; Tue, 02 Apr 2019 17:42:22 +0200 Content-Disposition: inline In-Reply-To: <421e6084-47e1-43d2-9436-1f82b406e730@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:119830 Archived-At: --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 02, 2019 at 07:21:30AM -0700, Drew Adams wrote: > > from the 27.0.50 manual (Node "Customization > Init File > > > Early Init File"): > >=20 > > This file is loaded before the > > package system and GUI is initialized, so in it you can customize > > variables that affect frame appearance as well as the package > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > initialization process... > >=20 > > the early init file is read before the GUI is initialized, > > so customizations related to GUI features will not work reliably > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > in =E2=80=98early-init.el=E2=80=99. >=20 > Seems a bit contradictory wrt "variables that affect frame > appearance". What variables are we talking about, if they > are not "related to GUI features"? Hm. I read it differently: putting things in early-init.el gives you the chance to do things /before/ GUI and frame-appearance things are initialized. Thus it gives you the power to fix things, but also to break things. Put it another way: you almost never want to put anything into early-init.el -- unless you have the hunch that you need to change something before GUIs get initialized (e.g. to let them "see" a different variable value). Or more TL;DR you better know why you are in there ;-D Cheers -- tom=C3=A1s --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlyjgt4ACgkQBcgs9XrR2kZ6/wCfft/Y3OJXGTBtIlmW8e4D5Qgb KIoAn2gqSXt8pYcK1HDan/b3aD+bSDlE =N7Yd -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--