From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: About early-init right use. Date: Tue, 2 Apr 2019 10:57:59 -0700 (PDT) Message-ID: References: <20190401235436.2cnhvuxzdj635hpn.ref@Ergus> <20190401235436.2cnhvuxzdj635hpn@Ergus> <20190402063900.GA24769@tuxteam.de> <421e6084-47e1-43d2-9436-1f82b406e730@default> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="45395"; mail-complaints-to="usenet@blaine.gmane.org" To: Stefan Monnier , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 02 19:58:38 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 1hBNgD-000BYY-T9 for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2019 19:58:38 +0200 Original-Received: from localhost ([127.0.0.1]:48557 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBNgC-000331-Uu for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2019 13:58:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBNfk-0002vH-Ju for help-gnu-emacs@gnu.org; Tue, 02 Apr 2019 13:58:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBNfj-0001C7-NB for help-gnu-emacs@gnu.org; Tue, 02 Apr 2019 13:58:08 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:39572) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hBNfj-00018n-Ag for help-gnu-emacs@gnu.org; Tue, 02 Apr 2019 13:58:07 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x32Hri6v183789; Tue, 2 Apr 2019 17:58:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=Vj2CeNBGwSHP56TD3pn6zlXhE458+sJsQJ7Qf6g656c=; b=Mcc12+xH2YYG1qzVFtp/skrbJIj3z90LiOCV7XnByVJAHAPvCVm8e+Dt4PDvy09ueaIy IUnjANAEbLrwaCZeSbO8nyR35e0uz6aNhvyGrPeFfFT0BVzEp2/gjewlmcDcjhezYPwq RcJKEdzPiq28SAD4dRdqYClqTcTXNonxYfPwn4zuJkt1A08Pew0f9JfDjpCjWrZ0VrRZ 4fak6oHzp+7iczNrg7RMPr7NVUDd/XncHn1j/631Lhnmt1tQZQTzxOjlMlWgHtKa3BMy Yb3Z/5eneh/bA0UnAOHO9lNMVmsxg650Acn4+iYsM4taakD1isyu8mbqt7agPjMTOp0E mw== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2120.oracle.com with ESMTP id 2rj0dnjn7k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 02 Apr 2019 17:58:03 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x32HvbjG053074; Tue, 2 Apr 2019 17:58:03 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3020.oracle.com with ESMTP id 2rm8f5n7y1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 02 Apr 2019 17:58:03 +0000 Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x32Hw0LY019902; Tue, 2 Apr 2019 17:58:01 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4822.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9215 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904020120 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9215 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904020119 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 141.146.126.78 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:119837 Archived-At: > > Seems a bit contradictory wrt "variables that affect frame > > appearance". What variables are we talking about, if they > > are not "related to GUI features"? >=20 > If you can improve the wording it would help. Indeed "related" is not > precise enough. >=20 > Since the GUI is initialized after loading the early-init.el, you can't > (yet) *ask* Emacs about the GUI (e.g. `window-system` will give you the > wrong info, frame sizes won't be right either, ...), but you can *tell* > Emacs about GUI-related settings like `(setq default-frame-alist ...)`. >=20 > You also can't use your installed packages from early-init.el because > they haven't been activated yet (tho you can manually activate them by > calling `package-activate-all`, of course). Maybe say that. If there is a good reason why you would define some "variables that affect frame appearance" in the early file then maybe provide that. It's not because one _can_ define variables there that one should do so, in general. But if there are particular cases where it might be _better_ to do it in the early file then maybe mention them. In general, it needs to be made clear why you might better put something in the early file (and perhaps give some examples), and state the general guideline that otherwise you should put everything in the "late" file.