From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: native compilation sets user-init-file to .eln file Date: Thu, 17 Nov 2022 08:57:32 +0200 Message-ID: <83r0y2dq5f.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34062"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 17 07:57:58 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ovYqT-0008ZG-5I for ged-emacs-devel@m.gmane-mx.org; Thu, 17 Nov 2022 07:57:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovYq8-0002GR-EE; Thu, 17 Nov 2022 01:57:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovYq6-0002G1-Pt for emacs-devel@gnu.org; Thu, 17 Nov 2022 01:57:34 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovYq6-0008Ds-HE; Thu, 17 Nov 2022 01:57:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=LLKafX8N6yestFMwsNtWAF8Lr3UDTog+3ERnHRbymJ4=; b=m+mk5cawBFtA xQiZ2lNboKPEpwAmzdL1ThZeQ9UQ3AsTL00vesNC2MXmHgqSLe338Z+twaACChdW08OHWLKQZ8NdH rP2HxJJg1uI+b+P4g4fJv7YVDCx1OLpTzxWJVjm9gMM7q1qtMbZGUaAe0YTUPd4A3Es9XQqhsnT3Y /2zvaHWbvoyMJECCAE0IdxA+3iPcRFad/F+9WEl76LZWn8Pr7LWr8j+fW3t6ICNlPajhu/5LHoLDZ MRJQpLNYxMGGPdRh7cnvU+SUk/b0GygK9AQX+ja+SA2mX0RBxTiPmcZb8kaEKy+cyAgD/0z9bMo/G BGiEbAOK6BJBQ99h9Qu66A==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovYq3-0000jb-R6; Thu, 17 Nov 2022 01:57:34 -0500 In-Reply-To: (message from Juanma Barranquero on Thu, 17 Nov 2022 04:46:49 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300013 Archived-At: > From: Juanma Barranquero > Date: Thu, 17 Nov 2022 04:46:49 +0100 > > # byte-compile your init.el, then > emacs # init.el is compiled to native code, and user-init-file => init.el > C-x C-c > emacs # user-init-file => points to init-*-*.eln > > Which I imagine is unintended, as there are other places in the code (for example, custom) that expect > user-init-file to point to an .el. > > Note: The above recipe is entirely reproducible in my system, as long as running Emacs native-compiles > init.el. I add this caveat because I suppose there's some size/complexity threshold to trigger the native > compilation (a one-line init.el[c] is not native-compiled, for example). Thanks, but please always report issues with how Emacs behaves as bugs. That helps us to track these problems.