From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.devel Subject: Re: feature/native-comp, comp-deferred-compilation: no recompilation when .elc newer than .eln? Date: Wed, 10 Jun 2020 22:29:22 +0200 Message-ID: <87wo4epsv1.fsf@no.workgroup> References: <875zcxgx8f.fsf@no.workgroup> <877dxczwsy.fsf@no.workgroup> <87ftc0nqtv.fsf@no.workgroup> <87pna8rceq.fsf@no.workgroup> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="24321"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 10 22:33:13 2020 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 1jj7PN-0006D0-0I for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Jun 2020 22:33:13 +0200 Original-Received: from localhost ([::1]:59858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jj7PL-0001E6-SN for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Jun 2020 16:33:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jj7Lm-00073d-J6 for emacs-devel@gnu.org; Wed, 10 Jun 2020 16:29:30 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:60543) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jj7Ll-00060c-BB for emacs-devel@gnu.org; Wed, 10 Jun 2020 16:29:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1591820966; bh=WSrCehxrS/aJPFnf8GIU4NrhYZfWYWeUniksVbWp/VM=; h=X-UI-Sender-Class:From:To:Subject:In-Reply-To:References:Date; b=F0+kLa0msZR2ztAWNC4dt8WTlOeVL1vcyGpmto3GIrO7860sqA8Eq1ymO3e//YRM7 /Rjr8KFQCIfcLzGHy9bN9aFz26QP3WADwv6s4llUP8Q6B+1mpMI7YBXLR8apR+82ag 7qZlpMB2xps42FloNR6y6AGg+Nhc0CHDmWKDJtfU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from no.workgroup ([84.185.108.10]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MaJ81-1jNvrU44lZ-00WBXR; Wed, 10 Jun 2020 22:29:26 +0200 In-Reply-To: <87pna8rceq.fsf@no.workgroup> Mail-Followup-To: emacs-devel@gnu.org X-Provags-ID: V03:K1:jqzP5E4OMKjLWBsuLhKykQT5oe8SbE3Mz9J+i15IU3zpvYI7rwV xpz2IuK1SlMOg3Y6YnvhC4z/QwdSyc/jqk01kz55L9PyNmBICfBLnAKSyJmYWUZ5992oZTf om7o3PhXYPSqgiHv/OBl1Gp2Ss6XpKFstd3C+sEvj5rmUy3PYERYTcJniN/Oj2lz6RziiFj //a0cEwqelOpGFyWR4uSw== X-UI-Out-Filterresults: notjunk:1;V03:K0:uNFpY8O9ydA=:Ws6RBVt+A2ZtTsoGefwDpV OqOJ8KiHWwrgOpfA/Smcv4Js2vy6LF+vLQ9hfPmxVcNYQhVgovcmcbrgUeQkhXyQSBDZv7gWc sYW3dCT8c86e4fDdNkkSmJoNK4O5r5cxmy8Jzb3a33BVHbWtGyy5pKwHORxFzTOzaY5r1aTqJ u7NJChtlmHlhOcpFc9uyEnv26JxvrRuxAa6XUL+47nka6OmrsNrh+37ajpAswJUkV0MYUQHU6 evwImNNFn2c5C0N4MFXyDn8A/CETqmn7q3+va82D9DuVpIv0Vw69VCdlFuw4Su9BEK8Ea4ZVj iP+KpNGjiryTJf2iDAkAxtvMxpCx3LdzyoJfFwn9D3OUNxmPBfMJyXZraRc/IJ6w0IU0TO5JM 7xLNKN3cj+hjsgWfU5x3iWsHg2QiaZP7dBs20EaeHg5Mt7xBemwkZ0ko/AYYxLa2Md9y1nqFt 7YGTstQoWBG8Lir5f7Ceb+ysc3XcF/OQB1HjalzIX7ZlwVC8NA2YnYexb0sUKDH/kYGTu1dD/ MXQAwOOV4aMZsQwICXTDI0gcsqjP39LFpp7Z2rtvcL4qFJSvhhi1kPLpw8tyKdKXxDFCoIZMx DM8917zyDRAKZDFR2kbqgmnsGWMbDhcf72PB/Omo8FNQirLoe14dx6ZcPrsHJXRexgPWGd6lj laP6w+onilUHOp8+SorbFaL4YWaC6Fj2nGTTvXkJr4Q2R5LKc3IGwa0kfK6emBVAjJzZANykN OK465hdjSvXTgGWiMjvAP5hkFi2rtJZyNOUtKV55B9X2WImC6V+D4sOXeCRPB1pkQnH+0kRu Received-SPF: pass client-ip=212.227.17.22; envelope-from=telegraph@gmx.net; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/10 16:29:26 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -37 X-Spam_score: -3.8 X-Spam_bar: --- X-Spam_report: (-3.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:252091 Archived-At: Hi Andrea, * Gregor Zattler [2020-06-09; 08:17]: > * Andrea Corallo [2020-06-06; 21:51]: >> This issue should be fixed by Nico's patch e38678b268 "Reduce the numbe= r >> of files probed when finding a lisp file." >> >> Hope works for you, in case does not please complain :) > > I will test in the next days. it worked, but only after the 3rd invokation of emacs: 1. I recompiled emacs, checked out an old version of org mode with a certain bug, compiled that, used it with the new emacs, this produced an org.eln file with the specific bug. Which I experienced while using org-mode. 2. I killed emacs, checked out newest org-mode, compiled it, started emacs, used org-mode, org.el was not shown in the async compile buffer, and the bug was still present and the eln file was older than the el an elc files. 3. I killed emacs, started it again, used an org-file, now org.el showed up in the async compile buffer, but the eln file was as old as before and the bug was present. 4. I killed emacs. Had a look again for the org.el[cn]? files: now the eln file was newest, I used org-mode and the bug was gone. I understand, that a new elc file is used in emacs, the compilation to eln happens async and when finished the eln file is not loaded over the elc file. Therefore I have to restart emacs in order to actually use the eln file. I do not understand why my org-usage in step 2 didn't trigger the compilation of the eln file. Reloading the eln file instead of the already loaded elc in 3 would be cool, but not that important, since the elc file is feature-wise equivalent with the eln fiie. Ciao; Gregor =2D- -... --- .-. . -.. ..--.. ...-.-