From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.ciao.gmane.org!not-for-mail From: Radon Rosborough Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Fix `early-init-file' value when file is missing Date: Tue, 22 Jan 2019 19:47:13 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="00000000000029e675058017f506" Injection-Info: ciao.gmane.org; posting-host="ciao.gmane.org:195.159.176.228"; logging-data="37418"; mail-complaints-to="usenet@ciao.gmane.org" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 23 04:48:06 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gm9WI-0009hH-Ay for ged-emacs-devel@m.gmane.org; Wed, 23 Jan 2019 04:48:06 +0100 Original-Received: from localhost ([127.0.0.1]:54548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm9WH-0005pX-Bs for ged-emacs-devel@m.gmane.org; Tue, 22 Jan 2019 22:48:05 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gm9W3-0005pP-UO for emacs-devel@gnu.org; Tue, 22 Jan 2019 22:47:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gm9W3-0003Jp-5d for emacs-devel@gnu.org; Tue, 22 Jan 2019 22:47:51 -0500 Original-Received: from mail-vs1-xe41.google.com ([2607:f8b0:4864:20::e41]:42609) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gm9W2-0003JU-US for emacs-devel@gnu.org; Tue, 22 Jan 2019 22:47:51 -0500 Original-Received: by mail-vs1-xe41.google.com with SMTP id b74so469968vsd.9 for ; Tue, 22 Jan 2019 19:47:50 -0800 (PST) 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; bh=4Qrq0c/SF1lp0XoOrCaNDIfpL7gJItQqStWyJc0HIjo=; b=TFNqBQLVeZyonoPuUhcBg8j1iJOnvE2LxpObpufmT4CpZs/92ebAwXcK4Nu0doYqAH xuOJNq2mXJHFsUyBPRCbvRHT/lHChMtUkV//OQGCKM3x+7YT8Zp8WWnbY6Ud5QKY3WYH xpjj0uBp2+0hh34iQSiiAjTwWrTRX/kk02S4UiEXNROOl5p5i0csOcT0252Q8erGIUGQ dj8L5X6vFOQO7iPreh1F0RGy+UwF/7bQl1XDjgcT4JPdskmLiUUUX5OvB9pD9YyOZ03U cJlu3OI3hRMWP6CxyBHDVnvhxz06vNjSLHo3uDhIHfdHaJh4xtsxZ0ePJtr/VifVe+7X mgBA== 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; bh=4Qrq0c/SF1lp0XoOrCaNDIfpL7gJItQqStWyJc0HIjo=; b=jCcoGenQr2aP96lj63IlWzQewInmqgfupGpXfw3NLtxMBpR5U+EugbGUkDi6L3ME+W 7mhLnQGy4JywL7Ly/v1M/fpraxSvwOrt4v6Xlb9J/uq4JhzjxDlQKfx6mKk8EbRnXrME uEzhipJRxU451V1f3+IwKnMMygFUSiBE5x3d8RWkn6qgzrlWF3Plp9v4661reNS+NFy/ 0YayovNw3roT6pU5GahNZePZRLQm5qk/m0pro5KlG69UutwkJaavGqNT/JHdZkSJy72I nRtafW32FSDDaGL2CO83Ld25D0uQn0p2w6XZqc1dKKtP/GnkJ1eNUxfzhLn26RG70m5+ KkTw== X-Gm-Message-State: AJcUukcWGwsDQNTVm0zM3ugOYrG7JSM0TpmJa2y/FDU8YvyI/QEiNv9G +ovUjYgrvJxCLc9q5hMFrD8TBg+G6fjixJjWLdKuVg== X-Google-Smtp-Source: ALg8bN4HTuV6079SmHJWJMbnCgeHi/n+gqTl9N3/sBIgG8u7qHnSQ3Kwk/2k9Xe3SBbQefEMl2UVr/Ea/onKt7QDjCs= X-Received: by 2002:a67:c31d:: with SMTP id r29mr235559vsj.130.1548215269311; Tue, 22 Jan 2019 19:47:49 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::e41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:232621 Archived-At: --00000000000029e675058017f506 Content-Type: multipart/alternative; boundary="00000000000029e672058017f504" --00000000000029e672058017f504 Content-Type: text/plain; charset="UTF-8" > In Emacs 27, when Emacs starts up without an early init-file (located > by default at ~/.emacs.d/early-init.el), the value of > `early-init-file' is set to ~/.emacs.d/early-init (note the missing > file extension). When the early init-file does exist, the variable is > set to the correct value. I have attached a patch which fixes this > bug. > > Feedback is welcome. Please copy me on replies, since I am not > subscribed to emacs-devel. I am following up on this message since it has been one week with no reply, and I would like to see the patch either merged or discussed. Thanks, Radon --00000000000029e672058017f504 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> In Emacs 27, when Emacs starts up without an ear= ly init-file (located
> by default at ~/.emacs.d/early-init.el= ), the value of
> `early-init-file' is set to ~/.emacs.d/e= arly-init (note the missing
> file extension). When the early = init-file does exist, the variable is
> set to the correct val= ue. I have attached a patch which fixes this
> bug.
= >
> Feedback is welcome. Please copy me on replies, since = I am not
> subscribed to emacs-devel.

I am follo= wing up on this message since it has been one week with no
reply,= and I would like to see the patch either merged or discussed.

Thanks,
Radon

--00000000000029e672058017f504-- --00000000000029e675058017f506 Content-Type: application/octet-stream; name="0001-Fix-early-init-file-value-when-file-is-missing.patch" Content-Disposition: attachment; filename="0001-Fix-early-init-file-value-when-file-is-missing.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jr8ndbky0 RnJvbSBjY2E4MjM5ODY5YWNmMGRlMzdjZDVhZTBiODFhNmExMDNiZTM1NGYwIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBSYWRvbiBSb3Nib3JvdWdoIDxyYWRvbi5uZW9uQGdtYWlsLmNv bT4KRGF0ZTogU3VuLCAxMyBKYW4gMjAxOSAyMTo1NTo0MiAtMDcwMApTdWJqZWN0OiBbUEFUQ0hd IEZpeCBgZWFybHktaW5pdC1maWxlJyB2YWx1ZSB3aGVuIGZpbGUgaXMgbWlzc2luZwoKUHJldmlv dXNseSwgaWYgbm8gZWFybHkgaW5pdC1maWxlIGV4aXN0ZWQgaW4gYHVzZXItZW1hY3MtZGlyZWN0 b3J5JywKdGhlbiB0aGUgdmFsdWUgb2YgYGVhcmx5LWluaXQtZmlsZScgYWZ0ZXIgc3RhcnR1cCB3 b3VsZCBiZQp+Ly5lbWFjcy5kL2Vhcmx5LWluaXQgKG5vdGUgdGhlIG1pc3NpbmcgZXh0ZW5zaW9u KS4gIFRoaXMgY29tbWl0CmFkanVzdHMgdGhhdCB2YWx1ZSB0byB+Ly5lbWFjcy5kL2Vhcmx5LWlu aXQuZWwgYXMgZGVzaXJlZCwgd2hpbGUgbm90CmNoYW5naW5nIG90aGVyIGJlaGF2aW9yLiAgTm90 ZSB0aGF0IHdoZW4gdGhlIGVhcmx5IGluaXQtZmlsZSBkaWQKZXhpc3QsIHRoZW4gdGhlIHZhbHVl IG9mIGBlYXJseS1pbml0LWZpbGUnIGFmdGVyIHN0YXJ0dXAgd2FzIGFscmVhZHkKY29ycmVjdDsg dGhpcyBjb21taXQgZml4ZXMgYSBidWcgdGhhd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sbCBiZSBzZXQgdG8gdGhlIHZhbHVlCisgICAgICAgICAgICAgICAgICAgICAgOzsgImVh cmx5LWluaXQuZWwiIHJhdGhlciB0aGFuIHRoZSBtb3JlCisgICAgICAgICAgICAgICAgICAgICAg OzsgY29uZnVzaW5nIHZhbHVlICJlYXJseS1pbml0IiBkdXJpbmcgc3RhcnR1cAorICAgICAgICAg ICAgICAgICAgICAgIDs7IGlmIHRoZSBmaWxlIGRvZXMgbm90IGV4aXN0LikKKyAgICAgICAgICAg ICAgICAgICAgICAoY29uY2F0CisgICAgICAgICAgICAgICAgICAgICAgIChmaWxlLW5hbWUtc2Fu cy1leHRlbnNpb24gaW5pdC1maWxlLW5hbWUpCisgICAgICAgICAgICAgICAgICAgICAgICIuZWwi KSkpKQogCiAgICAgICAgICAgICA7OyBJZiB3ZSBsb2FkZWQgYSBjb21waWxlZCBmaWxlLCBzZXQg YHVzZXItaW5pdC1maWxlJyB0bwogICAgICAgICAgICAgOzsgdGhlIHNvdXJjZSB2ZXJzaW9uIGlm IHRoYXQgZXhpc3RzLgotLSAKMi4yMC4xCgo= --00000000000029e675058017f506--