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: master f8bb6cca33: Return the same file from locate-file in nativecomp and non Date: Mon, 14 Mar 2022 19:22:19 +0200 Message-ID: <838rtcjvp0.fsf@gnu.org> References: <164712074096.14747.18124931770043811100@vcs2.savannah.gnu.org> <20220312213221.451B3C01684@vcs2.savannah.gnu.org> <87fsnmyh4q.fsf@gnus.org> <87y21eviwn.fsf@gnus.org> <831qz6mlw0.fsf@gnu.org> <87bkyauecx.fsf@gnus.org> <83mthtlqo7.fsf@gnu.org> <83cziok3pl.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32050"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 14 18:23:08 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 1nToPT-0008A3-Tg for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Mar 2022 18:23:08 +0100 Original-Received: from localhost ([::1]:34900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nToPS-0004Rt-Fn for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Mar 2022 13:23:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nToOv-0003mq-Jm for emacs-devel@gnu.org; Mon, 14 Mar 2022 13:22:33 -0400 Original-Received: from [2001:470:142:3::e] (port=47270 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 1nToOu-0005pl-Q6; Mon, 14 Mar 2022 13:22:32 -0400 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=AG6tW++2AgxnAbqkB76ENjnycYbUxLXHAiNvT0sekUU=; b=EdZOWpt3rtWR 6FGsH2/Q1j1Xu7KlQmef8qDEaHYOe54yqcgDQnbVSLN50HQAQHOYn1JViv6atmqSl+Nf0qpFNpumX X2Ho2gqicFFoXox43e1zuep0WG60ed0yWjHpxQzG9X8pQ6LhuhsL8T7u3qCPgXi+xNO5412+MUJdx 67h5vqUOf4FLXNp6uCjPSR/v74GPvQapDHXmuNGkoMImfeInVBcilZ0kWyURKANxK2c7aZUS8UFuF GuaNfsMxWZWbtRbAEVEIrIIQQoBY0Eacc4lKcXgx+qQ9F9mkmumVjGtlNJ/2AmdHVBWN7zffcoIU/ 3WrOQ8og1PjCvZ2YtCvHLg==; Original-Received: from [87.69.77.57] (port=1081 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 1nToOu-0002WE-90; Mon, 14 Mar 2022 13:22:32 -0400 In-Reply-To: (message from Stefan Monnier on Mon, 14 Mar 2022 12:57:45 -0400) 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:287159 Archived-At: > From: Stefan Monnier > Cc: larsi@gnus.org, emacs-devel@gnu.org > Date: Mon, 14 Mar 2022 12:57:45 -0400 > > > E.g., is the result below expected, or is it a bug? > > > > (locate-file "simple" native-comp-eln-load-path '(".eln")) > > => nil > > I assume you don't have a `simple.eln` file in your > `native-comp-eln-load-path`, so nil seems correct. So you are saying that finding the .eln file produced from simple.el is not something we should support, like we do with the *.elc files? And/or that the tools which we use since day one for *.elc files should not be extended to support the *.eln files? > > Or what about load-history -- why does it only show the *.elc files > > loaded by the session, but not the *.eln files? > > To better preserve compatibility. Compatibility with what? The native-compilation feature explicitly _breaks_ compatibility, in that it introduces a new kind of "compiled Lisp" files, new places to look for them, and many other exciting incompatibilities. You cannot be compatible when such changes happen. Anyway, I will now bow out of this discussion, since it's abundantly clear we deeply disagree about quite a few of the involved aspects, starting with what is the role and the purpose of locate-file.