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 00:04:30 -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> <83o829lrfi.fsf@gnu.org> <834k41kxtp.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="26625"; 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 05:08:50 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 1nTc0n-0006os-Uu for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Mar 2022 05:08:50 +0100 Original-Received: from localhost ([::1]:33720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTc0m-00057S-Ko for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Mar 2022 00:08:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTbwl-0003QP-0S for emacs-devel@gnu.org; Mon, 14 Mar 2022 00:04:39 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:23099) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTbwi-0007YL-5l; Mon, 14 Mar 2022 00:04:38 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id B7310441844; Mon, 14 Mar 2022 00:04:33 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 5A85A440F5E; Mon, 14 Mar 2022 00:04:32 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1647230672; bh=rrLz2UtFTNezWBIM3kUDwDIRAqxoic8A//Jf8PymShU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=IbV459gVouf7xnkXWYne0j6nx4vSA01LWEn1gWCoQdjBnhh3mIH1F4W/O0276XkZm 4B8ldIsy700akyRPZa/QDIrrICkGIsFccEW6Tsw7y9NjrRvhegdi0DZ8QvHcYld/mS vP8nU3Swm76HkbSKZeyxo0OGe2B9D2nEq5dZZZXRUMpPZ+JJlw6P1SnN9YT8ZrLqzl JUeH0Qm0Xjycus8dh8DY/pwH0S+Iy5DFZ1mm+BB5v19yjbGhUtxGEVaPyrXCMC+uEG K+ktoh/4RbGDip8L4vb9CuedQi/v9TnP3kj5IPJUCm5W1SXiLqsWjemORy8ydyjLpG m0jICRaK3ICjg== Original-Received: from ceviche (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2201C120208; Mon, 14 Mar 2022 00:04:32 -0400 (EDT) In-Reply-To: <834k41kxtp.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 14 Mar 2022 05:38:42 +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:287110 Archived-At: Eli Zaretskii [2022-03-14 05:38:42] wrote: >> From: Stefan Monnier >> Cc: Lars Ingebrigtsen , emacs-devel@gnu.org >> Date: Sun, 13 Mar 2022 22:57:48 -0400 >> > More generally, I'm not at all convinced that the problem, as >> > presented in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51308#14, >> > indeed needs a solution that makes locate-file behave the same as it >> > did in Emacs 27, because the *.eln files introduce new aspects into >> > the stuff that 'load' and 'load-history' intend to support. >> `load` does not use `locate-file-internal`, so it's not affected. > I don't see how this answers the concerns, sorry. My point is that whatever we may want to do with `.el`, `.eln`, and `.elc` files should be done without changing what `locate-file` does, because `locate-file` is a generic function that looks for files through a path, not a function that looks for ELisp-containing files. And AFAICT all uses of `locate-file-internal` share that same desire (more specifically I could only find 2 such uses: the one in `locate-file` and one in `with-editor.el` which looks weird because it seems it could just as well use `locate-file`). Stefan