From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: master f8bb6cca33: Return the same file from locate-file in nativecomp and non Date: Mon, 14 Mar 2022 14:09:23 -0400 Message-ID: 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> <838rtcjvp0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11385"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: larsi@gnus.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 14 19:13:48 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 1nTpCW-0002lR-AO for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Mar 2022 19:13:48 +0100 Original-Received: from localhost ([::1]:44090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTpCU-0001mr-Rh for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Mar 2022 14:13:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTp8Q-0005pQ-90 for emacs-devel@gnu.org; Mon, 14 Mar 2022 14:09:34 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:53761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTp8M-0004ck-Ik; Mon, 14 Mar 2022 14:09:33 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 5140244184C; Mon, 14 Mar 2022 14:09:26 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id DB4F144184E; Mon, 14 Mar 2022 14:09:24 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1647281364; bh=T6cAvZokrelv9U33xNUoDewfSCYD33JG5SYPKmjcS80=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=W0Zzv/q6BCpk1BOBdoOqZsXk3BBHAe2u03wIsxXJLCAnbFZNxvejq0MG/pCER1CBz 6q4Xb4zRXFo+ikb/Bo/PRRRgPHyu+ZTxpe1QPdhIRstww+STUYNbJOD/eqYEXOVnmT tgaXcsIU1++/qASPazyk4A+bQo70JLp+HNCsYgfNUbX89yMmYoqW9Nd5z2nSP23uWJ C2+QRhdyjjLkQqwtL0KkreLVxOOq0M4rDNHAd7EHJ4lXBZlwZ+E4dvClRnpZZXLTjd SKxmw2p0ESLYTCIDzfowcDRz2PAlRu9aUPlMLyuoH6Wur0+64lHBC7Exi2a4zRsOq2 mUyytMpzle54A== Original-Received: from ceviche (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 95FB71204F0; Mon, 14 Mar 2022 14:09:24 -0400 (EDT) In-Reply-To: <838rtcjvp0.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 14 Mar 2022 19:22:19 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:287161 Archived-At: >> 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? `locate-file` is a function that doesn't rely on external config variables. It should do its job based exclusively on the arguments it takes and the state of the file-system. If you're looking for a file named `simple-.eln` then you will have to pass that either in the first or the third arg. It can definitely be a useful building block to find a `.eln` file, but its job is not to find `.eln` files. Are you confusing it with `locate-library` maybe? >> > 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? I can't remember but I remember that Andrea first had the `.eln` file in there and then changed it to the `.elc` to fix some compatibility problems. Stefan