From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Radon Rosborough Newsgroups: gmane.emacs.bugs Subject: bug#30552: 27.0.50; Incorrect link to Early Init File node and Early Init File clarification Date: Sun, 29 Sep 2019 09:02:07 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ed65740593b33fd4" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="52411"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 30552@debbugs.gnu.org, Kaushal Modi To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 29 18:05:44 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iEbhf-000DUy-Ul for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Sep 2019 18:05:44 +0200 Original-Received: from localhost ([::1]:40664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEbhe-0006ek-Ml for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Sep 2019 12:05:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50697) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEbf8-0004os-Qx for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 12:03:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEbf6-0000HV-Aa for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 12:03:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46806) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iEbf4-0000GA-MX for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 12:03:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iEbf4-0004gY-Ik for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 12:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Radon Rosborough Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Sep 2019 16:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30552 X-GNU-PR-Package: emacs Original-Received: via spool by 30552-submit@debbugs.gnu.org id=B30552.156977297217993 (code B ref 30552); Sun, 29 Sep 2019 16:03:02 +0000 Original-Received: (at 30552) by debbugs.gnu.org; 29 Sep 2019 16:02:52 +0000 Original-Received: from localhost ([127.0.0.1]:55627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEbet-0004g8-QZ for submit@debbugs.gnu.org; Sun, 29 Sep 2019 12:02:52 -0400 Original-Received: from mail-vs1-f49.google.com ([209.85.217.49]:44304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEbes-0004fw-9M for 30552@debbugs.gnu.org; Sun, 29 Sep 2019 12:02:50 -0400 Original-Received: by mail-vs1-f49.google.com with SMTP id w195so5123436vsw.11 for <30552@debbugs.gnu.org>; Sun, 29 Sep 2019 09:02:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+GFRWscTrxwjnbDN2hi7wgjSNd5SMNhG2UQFyIhD1TU=; b=mDIEV6512JtGDjgxlPLGb1xpbtF3z9h4Oi7ep9m5vV9TYgDdKBvMTGe8iNClffxfQ7 WenZpySGeMc+7PbJY/WlIe7vQflNWw19TVE38eUgjRHFthCnBuHpiHmTIi9d+6QgtJzR V/XQp5KLLWQtSMiZNq2sYVbbOdPVZG001z+YMraQMdunnV6kqTnLZk56ILMCd1CzrJYp Jdhi0YNQUpeU32ee7llZ9O+GJaU2zFUcfGlxtZBVxu0FXxnR+L7XLPkxlApVE/agi5hU IBLQFqQJpOzp6pUuc/9q37/ff3v6PqjZfadLRFNpCfWzJdTatP8IXph83Ums4Zi3dZDZ mE1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+GFRWscTrxwjnbDN2hi7wgjSNd5SMNhG2UQFyIhD1TU=; b=iqaYZ9k3My1D5OP7kfWqyOCdvP1JnNxYuPQRxRgVLi2qxB+VCfP6SCZA1eJyyeFQiv F1VZHoA6LQ+klVTxVPDRzLVSqnYK3P839/dVVRg6/bIvE3SRbia33dHzaUssWkzGyzgd aXmM5HgkAdkJnTLnTsPDXpQI03MbRBqowg3Pw3US6dJYA+x3QIq1XOlUQeXHCvZf0cSv MqhPjtZRM3FQrNgr86jGkGv8bM34SDM14Dklz9h9jYSDMcTF/Wggl47T5j6Yxh8aA3X/ wX3CoNjaUMgVCeCIpVX8RzMJqVpbdupCFl+5eQJs0k0hytopaUAUVo59yRz1SCZI9hEb nQoA== X-Gm-Message-State: APjAAAV2POAvaWXQfXwN3THg0SsS3EVK8TPBKoWyh7H3b+VrPK+BtsG7 uqM0SPxGb/ZKB27YjEMpuGwqREn0PT3YqyKx+Vs= X-Google-Smtp-Source: APXvYqxm3W+6s5fjmkYLfmoMGkArK6dy3cJZJ0PX7aaBP8t/xN0zGbunyrcIiUr3fFon4ZHv6naT155+3wDghba25cA= X-Received: by 2002:a67:f995:: with SMTP id b21mr5743932vsq.130.1569772964503; Sun, 29 Sep 2019 09:02:44 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:167710 Archived-At: --000000000000ed65740593b33fd4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It seems not unreasonable to me. On Sun, Sep 29, 2019 at 9:00 AM Stefan Kangas wrote: > Radon Rosborough writes: > > > I did not, sorry, and don't see it happening in the foreseeable future > given my current workload. > > I see that this text has changed a bit since this was last discussed. > Is the current text good, or is there still something missing? It > explains which variables should be put in the early init file. > > ----- > > 49.4.6 The Early Init File > -------------------------- > > Most customizations for Emacs should be put in the normal init file. > *Note Init File::. However, it is sometimes desirable to have > customizations that take effect during Emacs startup earlier than the > normal init file is processed. Such customizations can be put in the > early init file, =E2=80=98~/.config/emacs.d/early-init.el=E2=80=99 or > =E2=80=98~/.emacs.d/early-init.el=E2=80=99. This file is loaded before t= he package > system and GUI is initialized, so in it you can customize variables that > affect frame appearance as well as the package initialization process, > such as =E2=80=98package-enable-at-startup=E2=80=99, =E2=80=98package-loa= d-list=E2=80=99, and > =E2=80=98package-user-dir=E2=80=99. Note that variables like =E2=80=98pa= ckage-archives=E2=80=99 which > only affect the installation of new packages, and not the process of > making already-installed packages available, may be customized in the > regular init file. *Note Package Installation::. > > We do not recommend that you move into =E2=80=98early-init.el=E2=80=99= customizations > that can be left in the normal init files. That is because 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. By > contrast, the normal init files are read after the GUI is initialized. > If you must have customizations in the early init file that rely on GUI > features, make them run off hooks provided by the Emacs startup, such as > =E2=80=98window-setup-hook=E2=80=99 or =E2=80=98tty-setup-hook=E2=80=99. = *Note Hooks::. > > For more information on the early init file, *note (elisp)Init > File::. > > ----- > > Thanks in advance. > > Best regards, > Stefan Kangas > --000000000000ed65740593b33fd4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It seems not unreasonable to me.

On Sun, Sep 29, 2019= at 9:00 AM Stefan Kangas <stefan@m= arxist.se> wrote:
Radon Rosborough <radon.neon@gmail.com> writes:

> I did not, sorry, and don't see it happening in the foreseeable fu= ture given my current workload.

I see that this text has changed a bit since this was last discussed.
Is the current text good, or is there still something missing?=C2=A0 It
explains which variables should be put in the early init file.

-----

49.4.6 The Early Init File
--------------------------

Most customizations for Emacs should be put in the normal init file.
*Note Init File::.=C2=A0 However, it is sometimes desirable to have
customizations that take effect during Emacs startup earlier than the
normal init file is processed.=C2=A0 Such customizations can be put in the<= br> early init file, =E2=80=98~/.config/emacs.d/early-init.el=E2=80=99 or
=E2=80=98~/.emacs.d/early-init.el=E2=80=99.=C2=A0 This file is loaded befor= e 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,
such as =E2=80=98package-enable-at-startup=E2=80=99, =E2=80=98package-load-= list=E2=80=99, and
=E2=80=98package-user-dir=E2=80=99.=C2=A0 Note that variables like =E2=80= =98package-archives=E2=80=99 which
only affect the installation of new packages, and not the process of
making already-installed packages available, may be customized in the
regular init file.=C2=A0 *Note Package Installation::.

=C2=A0 =C2=A0We do not recommend that you move into =E2=80=98early-init.el= =E2=80=99 customizations
that can be left in the normal init files.=C2=A0 That is because the early<= br> 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.=C2=A0 By
contrast, the normal init files are read after the GUI is initialized.
If you must have customizations in the early init file that rely on GUI
features, make them run off hooks provided by the Emacs startup, such as =E2=80=98window-setup-hook=E2=80=99 or =E2=80=98tty-setup-hook=E2=80=99.=C2= =A0 *Note Hooks::.

=C2=A0 =C2=A0For more information on the early init file, *note (elisp)Init=
File::.

-----

Thanks in advance.

Best regards,
Stefan Kangas
--000000000000ed65740593b33fd4--