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: [External] : emacs-28 windows binaries available from alpha Date: Sat, 05 Feb 2022 09:43:13 +0200 Message-ID: <83zgn521ym.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28028"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dieter@duenenhof-wilhelm.de, drew.adams@oracle.com, emacs-devel@gnu.org To: Corwin Brust Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 05 08:49:21 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 1nGFov-00079h-8F for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Feb 2022 08:49:21 +0100 Original-Received: from localhost ([::1]:39896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGFot-0006uo-Ny for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Feb 2022 02:49:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGFjP-00060y-8E for emacs-devel@gnu.org; Sat, 05 Feb 2022 02:43:39 -0500 Original-Received: from [2001:470:142:3::e] (port=54578 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGFjM-000733-Mh; Sat, 05 Feb 2022 02:43:36 -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=I9R4HPvQY01dTm8QVONsQ5LfF8zkFqTNvNwzKoY7fGQ=; b=Rus3nPq+qvYm BCxj/+U0YSVzzhQbL29gxv4X41AjFuNU/297Y9dvCZolc3EQ4ZpAafj0x8UKEh+XfdCyVSbegdiH/ ENWL6vOK/9IHI1ayH2Y7fykFEA+fJlgwOh91Q2dQKHdZdZse249LkToy+WfgYkPChOyaRnMRI3gey 6SF3ADsGiGXrv3t3UnQoigcHceJ2RYzM3TKqf8UasB2A2VPLj8dXZ5K4vPb5u1xmGeugYUpUJry8v botuoNYF3JmCTSyRYosl/WsxfKexDNSObt9sgh2ZEVYzlyI3Oun+fU0gNSbMfM9hYR4TqWntfunMC +r50d/x+4swrngUpveAvow==; Original-Received: from [87.69.77.57] (port=4185 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 1nGFjI-0003Ak-VZ; Sat, 05 Feb 2022 02:43:34 -0500 In-Reply-To: (message from Corwin Brust on Fri, 4 Feb 2022 22:35:39 -0600) 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" Xref: news.gmane.io gmane.emacs.devel:285888 Archived-At: > From: Corwin Brust > Date: Fri, 4 Feb 2022 22:35:39 -0600 > Cc: "H. Dieter Wilhelm" , > Emacs developers > > > IOW, in the case of this small Elisp file, why would > > Emacs depend on using a *.elc if present, and simply > > give up if trying to use it raises an error. The > > source of truth is (should be) *.el, not *.elc. > > That sounds like a feature request to me: > > [wishlist] When an error occurs loading the ELC, attempt loading from > the EL file (given the EL file is present locally). Note, I didn't do > any research to see if this could already be supported There's no need for such a feature. Emacs should simply load the .elc file. The failure to load does not AFAIU mean that the .elc file is unusable. At least the Emacs 28 version built without native-compilation support has no problems loading it. IOW, the problem is NOT that this .elc file cannot be used, the problem is that we try to natively-compile a trampoline for it. Thus, there's no need to fall back on loading the .el file instead.