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.bugs Subject: bug#59658: native-compile-prune-cache deletes *.eln files in the build's native-lisp directories Date: Mon, 28 Nov 2022 16:46:32 +0200 Message-ID: <83bkornnlj.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2063"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59658@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 28 15:47:07 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ozfPX-0000HW-8n for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Nov 2022 15:47:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozfPU-0003Rr-K3; Mon, 28 Nov 2022 09:47:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozfPS-0003Mr-NM for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 09:47:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ozfPS-00034m-EN for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 09:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozfPS-000512-AV for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 09:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 14:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59658 X-GNU-PR-Package: emacs Original-Received: via spool by 59658-submit@debbugs.gnu.org id=B59658.166964678819273 (code B ref 59658); Mon, 28 Nov 2022 14:47:02 +0000 Original-Received: (at 59658) by debbugs.gnu.org; 28 Nov 2022 14:46:28 +0000 Original-Received: from localhost ([127.0.0.1]:48999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozfOt-00050n-Pd for submit@debbugs.gnu.org; Mon, 28 Nov 2022 09:46:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozfOs-00050h-AB for 59658@debbugs.gnu.org; Mon, 28 Nov 2022 09:46:26 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozfOm-00030X-TM; Mon, 28 Nov 2022 09:46:20 -0500 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=hYhXX0ajkGteCMbwFve9b0b3l8CT7W3NyvpAE3V8DK4=; b=AQTiaMARB2De CTWAUp0rWfqTHCM6LkKCWn7cU3vU0GBz8EOaqpcLbOfqAzSwoa4dxTo4X2nBpIODYqTbsQ3PMZsyY 6XW5SteAp1+5ycTLjbGoCvDXuTPN4vumqYyp9qulyWm7fwuUIwarN9EfQ/ahgQGfzH1PfA9VsBObm pg6Fw0aeOOlvpwuYWWBLF7A9aZGv3VhH5XLxZl+UNc9wNweUlJJ4clW8ONYwbD5hBzXNNElc8sqZV OP+q5+La7zN/nrjTRzfZuTaF74Q/Os3YHoPAFWXqjLR7ZZ6tMH2C6anFZvZrUl8JZ0vLnXeRylFHM QhDBqJwIbX/RPZeHlbzUIw==; Original-Received: from [87.69.77.57] (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 1ozfOU-0007r4-I8; Mon, 28 Nov 2022 09:46:20 -0500 In-Reply-To: (message from Juanma Barranquero on Mon, 28 Nov 2022 15:11:10 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249310 Archived-At: > From: Juanma Barranquero > Date: Mon, 28 Nov 2022 15:11:10 +0100 > > This is on Windows, and running Emacs in-place after building from trunk (no installation). > > If you have several VERSION-xxxxxxxx directories under native-lisp/ and do > > M-x native-compile-prune-cache > > this deletes any .eln files in the VERSION-xxxxxxxx directories of the stale caches. Their preloaded/ > subdirectories and content are not affected. > > Presumably this should skip the last entry in native-comp-eln-load-path, which is documented as being > "assumed to be the system one". Yes, I think it should skip the last entry. AFAIR, that was the intent with this command, in which case what it does now is an oversight of sorts.