[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About early-init right use.
From: |
tomas |
Subject: |
Re: About early-init right use. |
Date: |
Tue, 2 Apr 2019 17:42:22 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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"):
> >
> > 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...
> >
> > the early init file is read before the GUI is initialized,
> > so customizations related to GUI features will not work reliably
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > in ‘early-init.el’.
>
> 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ás
signature.asc
Description: Digital signature
- About early-init right use., Ergus, 2019/04/01
- Re: About early-init right use., tomas, 2019/04/02
- RE: About early-init right use., Drew Adams, 2019/04/02
- Re: About early-init right use.,
tomas <=
- Re: About early-init right use., Ergus, 2019/04/02
- Re: About early-init right use., tomas, 2019/04/02
- Re: About early-init right use., Stefan Monnier, 2019/04/02
- Re: About early-init right use., Lele Gaifax, 2019/04/03
- Re: About early-init right use., Stefan Monnier, 2019/04/03
- Re: About early-init right use., Lele Gaifax, 2019/04/03
- Re: About early-init right use., Lele Gaifax, 2019/04/04
- Re: About early-init right use., Stefan Monnier, 2019/04/02
- RE: About early-init right use., Drew Adams, 2019/04/02