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: Sat, 12 Mar 2022 16:47:23 -0500 Message-ID: References: <164712074096.14747.18124931770043811100@vcs2.savannah.gnu.org> <20220312213221.451B3C01684@vcs2.savannah.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="14511"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Lars Ingebrigtsen To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 12 22:48:19 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 1nT9b0-0003Yh-U4 for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Mar 2022 22:48:19 +0100 Original-Received: from localhost ([::1]:37032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nT9az-0003Yu-Fu for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Mar 2022 16:48:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nT9aK-0002uC-AY for emacs-devel@gnu.org; Sat, 12 Mar 2022 16:47:36 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:3633) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nT9aH-0000ky-MV for emacs-devel@gnu.org; Sat, 12 Mar 2022 16:47:35 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 05EBF80642; Sat, 12 Mar 2022 16:47:32 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 9509680543; Sat, 12 Mar 2022 16:47:30 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1647121650; bh=zS7eJb6A0t7ZyQNorC/F7BKnJfUw4qMl8cedzxr+xMU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=RYdwz5YD5C3Z4hZj4yytEuoGWbm5OK+I9j0wlbBnNdAYqZ69fNc9PLUomzmnOOuEJ ZLEzIa6hUwSURQ5imhfC63Ly39xCjwe9rfIO9kvsee9nc6lm1O8pHim2Qh7XcDz/Uc lXl86v+FZLfhSPPbRhe9GkyDFDXcAtx4fHZFzW4rqnFBMrSKAUzz+weeAY0iuN5Gz+ Npq96RiNWNyPUyso4ZMakZkcnwjsFkWckSRSfViXHXybW6nvZr6FK9DP3h71n6hUt6 kVTlon/FPOqo1wY5iE74KoE+aBJRQzglwkFx0GgeIg5pIYIX3aWFyRCuCIyc6gRQpu 0WPsvaa1dvKEQ== Original-Received: from ceviche (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 6A2ED120208; Sat, 12 Mar 2022 16:47:30 -0500 (EST) In-Reply-To: <20220312213221.451B3C01684@vcs2.savannah.gnu.org> (Lars Ingebrigtsen's message of "Sat, 12 Mar 2022 16:32:21 -0500 (EST)") 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:287054 Archived-At: > * lisp/files.el (locate-file): Return the .elc file (if it exists) > in nativecomp, too, to mimic the behaviour from non-nativecomp > builds (bug#51308). Huh? `locate-file` should have nothing to do with the mapping between .elc and .eln files. It's used for all kinds of files not just for files containing ELisp code. IOW the patch above makes things closer to what they should be, but we should simply not need that because locate-file-internal should not magically replace `.elc` files with `.eln` files. Stefan