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#48108: Fwd: Wishlist: Command to remove redundant eln cache directories [native-comp] Date: Mon, 28 Nov 2022 09:59:06 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008f993c05ee8417d9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38941"; mail-complaints-to="usenet@ciao.gmane.io" To: 48108@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 28 10:00:16 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 1ozZzs-000A0b-Go for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Nov 2022 10:00:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozZzi-0005q7-3V; Mon, 28 Nov 2022 04:00:06 -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 1ozZzf-0005pU-8P for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 04:00:03 -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 1ozZze-0000Qi-Ua for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 04:00:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozZze-0003QT-Pn for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 04:00: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 09:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs Original-Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.166962599013125 (code B ref 48108); Mon, 28 Nov 2022 09:00:02 +0000 Original-Received: (at 48108) by debbugs.gnu.org; 28 Nov 2022 08:59:50 +0000 Original-Received: from localhost ([127.0.0.1]:47340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozZzS-0003Pd-77 for submit@debbugs.gnu.org; Mon, 28 Nov 2022 03:59:50 -0500 Original-Received: from mail-ed1-f45.google.com ([209.85.208.45]:35419) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozZzP-0003PX-Ve for 48108@debbugs.gnu.org; Mon, 28 Nov 2022 03:59:48 -0500 Original-Received: by mail-ed1-f45.google.com with SMTP id x2so14507385edd.2 for <48108@debbugs.gnu.org>; Mon, 28 Nov 2022 00:59:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=87r2XLwTtJ4ZzXTj3drJIH+e19FJoDpKC7cDq6Nb4aQ=; b=kMUE+dn/q7Iofm7kG60x4O0qtOqkR8tkEJPPh8VvUqVzbUlFei2lhYD0r59DBI96kG P2Xf828uaPsAlRc3rblrwZTWupxQb/nqaw61mBtyT9dxhL7P+jHV4TGKRA5WF6K2h3/0 H7ttsd3NupiEc202xKQKc0+I62IIXvwShIfIodrND8OihDTfs6e5JuSwJM+9P/c8Fduv n1RuiXF8l0pMa9Cf/8Jaz5WKGk9T08MuROT1DIEZbIJ8uPOlbhA2ysCNj63f+jTXBh59 a6MwKte1DWRalYuVSevkhh1oZDBgdUCzx5vS9Q2xaaIACUpIcpIMVHvtgbgDMlZReGJg 9eqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=87r2XLwTtJ4ZzXTj3drJIH+e19FJoDpKC7cDq6Nb4aQ=; b=Q+RhEIzCSOeCISKsBGnOrjw9tvtbDdyVu2dC4w9EAZn28H/B52oIkNTbQqTZ9y+sMR vi7YTKK4qkRCqDbe7xR+oH1eBlkqYKbNly0Zid1N0PGE7y6jm6oq/rjTKPbjcdHabhEE UDmPo7XP+BBKe4H9Rf/6TE/QFHUTe+QzuiXCAjQpQKaITfgO6fpQRYduefWxLXBeaqrD Oe7DcpAOpw4vgAHd2YQQj6Ne26Z++z+suDPNKWk2rbUPHndgX6zDMQOwho5FxgnhXpF7 1dwpSPSd+Vexn5QFPNKIgKV1LUpfJTZxeQlWG/LYSX5KTQIuqWz7kZ0YMRIuF/fVrE0j 9BGA== X-Gm-Message-State: ANoB5pmjrKKdGR/fzVrXngF1HctJGcbq7a+kkscGAuiE0jc3ZlQW2y9P Ag2uKgd3479qwoWUyPqkFS/Vwx8K3dKpBe76hY1m+Mk3 X-Google-Smtp-Source: AA0mqf7KSbZnDIENx7KM7XP/KyVCbhkKK7mMhjkyuM96dsToFVXAp6Zu8dRlv+yEwWU52nTClYHuHyYzKi4QhYab/LY= X-Received: by 2002:aa7:c607:0:b0:46a:eb22:15a9 with SMTP id h7-20020aa7c607000000b0046aeb2215a9mr9041436edq.194.1669625981932; Mon, 28 Nov 2022 00:59:41 -0800 (PST) In-Reply-To: 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:249273 Archived-At: --0000000000008f993c05ee8417d9 Content-Type: text/plain; charset="UTF-8" `native-compile-prune-cache' does not remove the preloaded/ subdir (or its contents) of the native-lisp/ directories, and consequently does not remove the directories themselves. For example, after running it I still have *.eln files in the following directories (comp-native-version-dir = "29.0.50-c0f9fe8e"): ~/.emacs.d/.eln-cache/29.0.50-c0f9fe8e D:\Devel\emacs\repo\trunk\native-lisp\29.0.50-57ea32b2\preloaded D:\Devel\emacs\repo\trunk\native-lisp\29.0.50-7c1dd663\preloaded D:\Devel\emacs\repo\trunk\native-lisp\29.0.50-a22e1c10\preloaded D:\Devel\emacs\repo\trunk\native-lisp\29.0.50-c0f9fe8e\preloaded which means the command deleted the stale cache in ~/.emacs.d/, but not the ones in the source tree. Is that intended? --0000000000008f993c05ee8417d9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

`native-compile-prun= e-cache' does not remove the preloaded/ subdir (or its contents) of the= native-lisp/ directories, and consequently does not remove the directories= themselves.

For example, after running it I still have *.eln files i= n the following directories (comp-native-version-dir =3D "29.0.50-c0f9= fe8e"):

~/.emacs.d/.eln-cache/29.0.50-c0f9fe8e
D:\Devel\emac= s\repo\trunk\native-lisp\29.0.50-57ea32b2\preloaded
D:\Devel\emacs\repo\= trunk\native-lisp\29.0.50-7c1dd663\preloaded
D:\Devel\emacs\repo\trunk\n= ative-lisp\29.0.50-a22e1c10\preloaded
D:\Devel\emacs\repo\trunk\native-l= isp\29.0.50-c0f9fe8e\preloaded

which means the command deleted the s= tale cache in ~/.emacs.d/, but not the ones in the source tree.

Is t= hat intended?
--0000000000008f993c05ee8417d9--