From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juanma Barranquero 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 15:11:10 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000aafc5705ee88735e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20931"; mail-complaints-to="usenet@ciao.gmane.io" To: 59658@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 28 15:12:25 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 1ozerw-0005IQ-U0 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Nov 2022 15:12:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozerf-0006Xu-4i; Mon, 28 Nov 2022 09:12:07 -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 1ozerc-0006Wv-Az for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 09:12:04 -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 1ozera-0004OJ-VQ for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 09:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozera-0004jN-G5 for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 09:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 14:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59658 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Bug-Gnu-Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.166964471518177 (code B ref -1); Mon, 28 Nov 2022 14:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Nov 2022 14:11:55 +0000 Original-Received: from localhost ([127.0.0.1]:48832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozerT-0004j7-78 for submit@debbugs.gnu.org; Mon, 28 Nov 2022 09:11:55 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:46662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozerQ-0004iz-D0 for submit@debbugs.gnu.org; Mon, 28 Nov 2022 09:11:54 -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 1ozerQ-0006V8-3y for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 09:11:52 -0500 Original-Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ozerO-0004Kf-Iv for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 09:11:51 -0500 Original-Received: by mail-ej1-x635.google.com with SMTP id ha10so26154447ejb.3 for ; Mon, 28 Nov 2022 06:11:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=AbAumf46Fnxola8zEpPMgp5pP4+GEfU8x283Lr3Ef4Y=; b=qVu2wQy8wXHWSoC7vcWFV+BTSfpHfLk/R+FhNPWPjgNU07JvuoZbzP3yGY3QI1U7ox dJ4HQbdwIy/FiRFw0JvINcr4atyYFsr7RPaf4zG7b5dSVHb/nkzl2T+Vpa8yD3KnDqZQ 2aohkS+lb2YfPMAJIAoLSR3ne1bjdD8UNuQkrwV8rrg55dR6Qu6yxNgzEhUyI/By22aE /jv8qqzHLKyWTav851sASxnRix9eWLa7hnmTQDpBHk8c7hnHncUGB8UBazhRqp29TxNd kRF0CWq+kdhVIk5nIlNTaujuAz1gZpyyEVH6kjrxW6+uKmawz10YZJgErKQFAC22w/mg oCFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=AbAumf46Fnxola8zEpPMgp5pP4+GEfU8x283Lr3Ef4Y=; b=JQB4PUh+M7EGzVKmlgy8hYI/XndcQ44vXfZOGCmkxytnOGfLjHlx06jlWXOMVBSEK2 xxIE/EDDyj+4IXFDF7P1vDXt1YkpkYZrh9PgtgI2Y7yM/2wRenTP6FRXERyH8yv2gYHa 6CG8d7SlYqkUTcz2HaFiZnPyJ+LRmiotWbeQHI1cyChcnUuw0ZhhzdB2gwZ8ElfJv2VF 3aeJKQ7b8liUvLEIN6LhaUJA+xNEaED2zJR3ytB4ZWxD07TXzb3GYf9iV4b7nqkeY50g 5fooXY0I4ZtbetiWGv5icwW3Q8NOiz5u9LmwWhXomzj4lx7UXklHtg977xXcAUiTOpDw djqw== X-Gm-Message-State: ANoB5pknZgBey0iwLNyUJ0KGubFmyhTUaGqM7TROAHcezh6iaOCzCWWc sHdMDWHFKy5HwE21T1pj9/ZIeQEWrNPA0pFCZ/fJK4ESbZo= X-Google-Smtp-Source: AA0mqf5jVo5vb7GZBiBU/wB7UTWk9L+u160Jn3sTsgNG66BsmSdUiRt7hW5Twu2uNOxKjKhOjYTPFbK+RKIfpUwIcg4= X-Received: by 2002:a17:906:6dc9:b0:7bc:5700:490 with SMTP id j9-20020a1709066dc900b007bc57000490mr13844485ejt.592.1669644707100; Mon, 28 Nov 2022 06:11:47 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=lekktu@gmail.com; helo=mail-ej1-x635.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:249302 Archived-At: --000000000000aafc5705ee88735e Content-Type: text/plain; charset="UTF-8" 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". --000000000000aafc5705ee88735e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This is on Windows, and running Emacs in-place after building fro= m trunk (no installation).

If you have several VERSION-xxxxxxxx dire= ctories under native-lisp/ and do=C2=A0

M-x native-compile-prune-cache &l= t;RET>

this deletes any .eln files in the VERSION-xxxxxxxx director= ies of the stale caches. Their preloaded/ subdirectories and content are no= t affected.

Presumably this should skip the last entry in native-com= p-eln-load-path, which is documented as being "assumed to be the syste= m one".

--000000000000aafc5705ee88735e--