From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: akrl@sdf.org, bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Apr 2021 22:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 48108@debbugs.gnu.org Cc: Andrea Corallo X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Andrea Corallo Received: via spool by submit@debbugs.gnu.org id=B.161973359011341 (code B ref -1); Thu, 29 Apr 2021 22:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Apr 2021 21:59:50 +0000 Received: from localhost ([127.0.0.1]:56986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcEhK-0002wr-4T for submit@debbugs.gnu.org; Thu, 29 Apr 2021 17:59:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:45870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcEhI-0002wi-Cj for submit@debbugs.gnu.org; Thu, 29 Apr 2021 17:59:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcEhI-0000ut-4L for bug-gnu-emacs@gnu.org; Thu, 29 Apr 2021 17:59:48 -0400 Received: from mail-pl1-f178.google.com ([209.85.214.178]:46757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcEhG-0004Cg-FM for bug-gnu-emacs@gnu.org; Thu, 29 Apr 2021 17:59:47 -0400 Received: by mail-pl1-f178.google.com with SMTP id s20so19683510plr.13 for ; Thu, 29 Apr 2021 14:59:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=s9uLCgk4FwcK5zCV6CVKyQiGBo3c4g/mrQW6h7daWkY=; b=BLgfGKw85j/4M00EcIe8Th6S9wEE+3luUgdmbNjhd+GFpld6vcmuigSywo7YYqX7MX yrYGX9J6pATd2pOs0/9LEG2dYJlorea2e2oz7xxxH9Pf9qFr4Ai8WcnzqQr1TbqPWaQ6 qETX6jDiB8uRhnGYbygAo5wPh6oywuC8wcE9+0+AnRn1ja/aajaiBp+mecGpyaq/X8uU AVWQz2n5Moc81vuU+zEp6DRs3Rooy3y/9tsrq6tWjvEjJoWt5Twg5SMP61bvH3CjvFhz 3VCxXERfErGbO51BvEL+n6Gxsbt/ZZJZvIVhhAnYsumhh9hOagpmZyWMkpxIQ6NS8QLC sT5w== X-Gm-Message-State: AOAM531L3NE4Lz5P7zoko5KEcotE6UH86duH/U4N3Gdhwj4Q65yVmFEp YM/fhB0fMc4vCahTTgA8pG/ha2y8ShiIfZ2os9y6SiHb X-Google-Smtp-Source: ABdhPJyaoDloSAWoWizT71nYIo2EIfaw9BiBfh8ZEf3Zye2bMyYTrWcK/zauFmFeenVJmueq4CfPNUAEMYf4fdRoN+c= X-Received: by 2002:a17:902:b902:b029:ed:82aa:7cbc with SMTP id bf2-20020a170902b902b02900ed82aa7cbcmr1873191plb.39.1619733585002; Thu, 29 Apr 2021 14:59:45 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 29 Apr 2021 16:59:44 -0500 From: Stefan Kangas MIME-Version: 1.0 Date: Thu, 29 Apr 2021 16:59:44 -0500 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=209.85.214.178; envelope-from=stefankangas@gmail.com; helo=mail-pl1-f178.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Severity: wishlist Please consider adding a function and/or command to clear the eln cache of redundant eln cache directories. The exact details of this would of course need to be discussed, but as a starting point perhaps we could imagine two modes of operation: 1. Remove cache directories for versions older than the version specified by a new user option that defaults to (- emacs-major-version 2) or something. Remove cache directories for the same version as the current one but with a different hash. Remove duplicate directories for any given version, except the most recently added one. 2. Remove all eln cache directories except the one currently in use. I imagine that casual users only ever use one version of Emacs at the same time (i.e. because they simply install Emacs using their package manager), so perhaps the first one could be the default mode of operation. We could add a number of options to ensure a user can tweak this to their own liking. One idea for a command name is `native-compile-cache-clear'. From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Apr 2021 08:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 48108@debbugs.gnu.org, akrl@sdf.org Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.161976959417990 (code B ref 48108); Fri, 30 Apr 2021 08:00:02 +0000 Received: (at 48108) by debbugs.gnu.org; 30 Apr 2021 07:59:54 +0000 Received: from localhost ([127.0.0.1]:57414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcO42-0004g5-Im for submit@debbugs.gnu.org; Fri, 30 Apr 2021 03:59:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcO40-0004ft-Dd for 48108@debbugs.gnu.org; Fri, 30 Apr 2021 03:59:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58735) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcO3u-0003Pj-Nw; Fri, 30 Apr 2021 03:59:46 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1143 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lcO3t-0005LU-6K; Fri, 30 Apr 2021 03:59:45 -0400 Date: Fri, 30 Apr 2021 10:59:37 +0300 Message-Id: <838s50cidy.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Kangas on Thu, 29 Apr 2021 16:59:44 -0500) References: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Thu, 29 Apr 2021 16:59:44 -0500 > Cc: Andrea Corallo > > 1. Remove cache directories for versions older than the version > specified by a new user option that defaults to > (- emacs-major-version 2) or something. > > Remove cache directories for the same version as the current one > but with a different hash. > > Remove duplicate directories for any given version, except the > most recently added one. > > 2. Remove all eln cache directories except the one currently in use. This is somewhat tricky, so I suggest that you (or someone else) comes up with a convenient UI for such a feature and describes it in enough detail to see whether it's feasible. Namely, how would the user indicate which *.eln files can be deleted and which should stay? Some thought points: . the .eln hashes depend not only on the version but also on other internal details, like the ABI version and more . it isn't clear how the user will be able to come up with "the hash" (especially since there are several hashes involved, not just one) > I imagine that casual users only ever use one version of Emacs at the > same time (i.e. because they simply install Emacs using their package > manager), so perhaps the first one could be the default mode of > operation. I don't know what you mean by "casual users", but I generally have all the versions since Emacs 21 installed on my machines. Btw, we might go look what others do with similar caches, for example Guile. Do they even bother to clean these caches up? From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Jul 2022 11:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 48108@debbugs.gnu.org, Andrea Corallo Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.165667387831790 (code B ref 48108); Fri, 01 Jul 2022 11:12:02 +0000 Received: (at 48108) by debbugs.gnu.org; 1 Jul 2022 11:11:18 +0000 Received: from localhost ([127.0.0.1]:36388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7EYQ-0008Gf-GG for submit@debbugs.gnu.org; Fri, 01 Jul 2022 07:11:18 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7EYM-0008GM-0e for 48108@debbugs.gnu.org; Fri, 01 Jul 2022 07:11:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1KcrRTpWm3FpPNc6S4o8kdo4HyevbEVcex36T2QewNw=; b=umiHVDw9z457Kpyfq+VgUuEP4I 9REKMELgv8n4Ww+DuYv7w8P0ROqpKfgRG8DvafUqCOLDSBPR8Gg8Mul0n51J4s8WbyDoIsPELw1M3 yvEbYdFTRLMYmr5KT0TI4iNVxUkwGuFMnbdNQU8Yba7hwTvjdUkmweOgiPXHbcC42SMY=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7EYC-0006AB-9U; Fri, 01 Jul 2022 13:11:06 +0200 From: Lars Ingebrigtsen In-Reply-To: (Stefan Kangas's message of "Thu, 29 Apr 2021 16:59:44 -0500") References: X-Now-Playing: Joan as Police Woman's _Enter The Dragon_: "Perfect Shade Of Blue" Date: Fri, 01 Jul 2022 13:11:03 +0200 Message-ID: <87czep84vs.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Kangas writes: > The exact details of this would of course need to be discussed, but as > a starting point perhaps we could imagine two modes of operation: [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Kangas writes: > The exact details of this would of course need to be discussed, but as > a starting point perhaps we could imagine two modes of operation: [...] > 2. Remove all eln cache directories except the one currently in use. > > I imagine that casual users only ever use one version of Emacs at the > same time (i.e. because they simply install Emacs using their package > manager), so perhaps the first one could be the default mode of > operation. > > We could add a number of options to ensure a user can tweak this to > their own liking. > > One idea for a command name is `native-compile-cache-clear'. I think 2) would be sufficient for most people, and, yes, having a command for this would be nice. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Jul 2022 11:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 48108@debbugs.gnu.org, stefan@marxist.se, akrl@sdf.org Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.165667537919289 (code B ref 48108); Fri, 01 Jul 2022 11:37:01 +0000 Received: (at 48108) by debbugs.gnu.org; 1 Jul 2022 11:36:19 +0000 Received: from localhost ([127.0.0.1]:36455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7Ewc-000513-NC for submit@debbugs.gnu.org; Fri, 01 Jul 2022 07:36:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7EwY-00050n-1q for 48108@debbugs.gnu.org; Fri, 01 Jul 2022 07:36:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35602) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7EwR-00075U-Ry; Fri, 01 Jul 2022 07:36:08 -0400 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=d9Ua0IEBasGF7IRsZcN1QAhYemtZf/Slnfcd5cTnzP0=; b=r/aVG626d+10 ekqXP8c2KWeGfqqyD9w7ozsDEjehGGkpABWS3ZdrYd4IAdtps7oYWx9L+mv19Vtu1fxTSyV8VvJD1 kpFZkclZ476worGtS9fl1Gywo8cIAnkiFzMRiwMVvgp0zA7uMeYVSBAoVWTBmrLznft7U3D/TL5cG TYW+VPY+Cgexja8EojRmcrcq90EHUyBMtDfLHG4ZQfJi2tlV2XRqKtLRQWGMKv72Sl3j5cnq2fhb5 jaDMaXxhleMx2smTqnQd3n9gwO6UQWiEEPkWwnNf5xi+xbzujiKQsPhSUWHvFw1PnWxlOackVDb87 RHPKsXl8H59tKhGVjrODNg==; Received: from [87.69.77.57] (port=4016 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 1o7EwE-0005mk-Az; Fri, 01 Jul 2022 07:36:01 -0400 Date: Fri, 01 Jul 2022 14:36:04 +0300 Message-Id: <83mtdtdpzv.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87czep84vs.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 01 Jul 2022 13:11:03 +0200) References: <87czep84vs.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 48108@debbugs.gnu.org, Andrea Corallo > From: Lars Ingebrigtsen > Date: Fri, 01 Jul 2022 13:11:03 +0200 > > Stefan Kangas writes: > > > The exact details of this would of course need to be discussed, but as > > a starting point perhaps we could imagine two modes of operation: > > [...] > > > 2. Remove all eln cache directories except the one currently in use. > > > > I imagine that casual users only ever use one version of Emacs at the > > same time (i.e. because they simply install Emacs using their package > > manager), so perhaps the first one could be the default mode of > > operation. > > > > We could add a number of options to ensure a user can tweak this to > > their own liking. > > > > One idea for a command name is `native-compile-cache-clear'. > > I think 2) would be sufficient for most people, and, yes, having a > command for this would be nice. It shouldn't be hard to implement, but do we want to delete such a directory only under ~/.emacs.d/eln-cache/, or under all the directories in native-comp-eln-load-path? From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] In-Reply-To: Resent-From: Rudolf Schlatte Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Jul 2022 16:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 48108@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165669231229214 (code B ref -1); Fri, 01 Jul 2022 16:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jul 2022 16:18:32 +0000 Received: from localhost ([127.0.0.1]:39043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7JLj-0007b8-MX for submit@debbugs.gnu.org; Fri, 01 Jul 2022 12:18:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:53532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7JLh-0007av-1c for submit@debbugs.gnu.org; Fri, 01 Jul 2022 12:18:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7JLg-0002qs-Sy for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 12:18:28 -0400 Received: from ciao.gmane.io ([116.202.254.214]:37110) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7JLd-0003xY-0E for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 12:18:27 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1o7JLZ-0007UR-JT for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 18:18:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ From: Rudolf Schlatte Date: Fri, 01 Jul 2022 18:18:16 +0200 Message-ID: References: <87czep84vs.fsf@gnus.org> <83mtdtdpzv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin) Cancel-Lock: sha1:wJWG9aU7oaDwgwI60TR/oI7Ec8E= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Eli Zaretskii writes: >> Cc: 48108@debbugs.gnu.org, Andrea Corallo >> From: Lars Ingebrigtsen >> Date: Fri, 01 Jul 2022 13:11:03 +0200 >> >> Stefan Kangas writes: >> >> > The exact details of this would of course need to be discussed, but as >> > a starting point perhaps we could imagine two modes of operation: >> >> [...] >> >> > 2. Remove all eln cache directories except the one currently in use. >> > >> > I imagine that casual users only ever use one version of Emacs at the >> > same time (i.e. because they simply install Emacs using their package >> > manager), so perhaps the first one could be the default mode of >> > operation. >> > >> > We could add a number of options to ensure a user can tweak this to >> > their own liking. >> > >> > One idea for a command name is `native-compile-cache-clear'. >> >> I think 2) would be sufficient for most people, and, yes, having a >> command for this would be nice. > > It shouldn't be hard to implement, but do we want to delete such a > directory only under ~/.emacs.d/eln-cache/, or under all the > directories in native-comp-eln-load-path? How about only deleting .eln files below these directories, and removing the directories only when they are empty afterwards? I'm suddenly imagining users who put other files into such directories, or add their home directory to native-comp-eln-load-path, or ... From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Jul 2022 18:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Rudolf Schlatte Cc: 48108@debbugs.gnu.org Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.16566992048909 (code B ref 48108); Fri, 01 Jul 2022 18:14:01 +0000 Received: (at 48108) by debbugs.gnu.org; 1 Jul 2022 18:13:24 +0000 Received: from localhost ([127.0.0.1]:39140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7L8t-0002Jd-UJ for submit@debbugs.gnu.org; Fri, 01 Jul 2022 14:13:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7L8s-0002JP-EJ for 48108@debbugs.gnu.org; Fri, 01 Jul 2022 14:13:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7L8n-0003gT-0d; Fri, 01 Jul 2022 14:13:17 -0400 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=iHIYhDRVHGnuWTpSc3BONvcOxKL/sCZn3f07O/Tkfrs=; b=NDx0V5kCLOze 6QM4dyvhN4M7T5wYPh78zKL6PNFuTJE6ccsbzg9JUDwbKIwTU6703ibZt5RBSajpEF7K4/dAnK+hR nwP1OU6Z8utPjVHWvqruv3fQxIxewsNwlP+3fqlTuL1f9guuWXfprA3D1Qu07/GES3uihSsLxuv4X aAwjF9udp/r6BkJp3uzlM+1MJKy51deoUMuFDCTaGIxsDTpRSwJd/W+4HKHcd5qm7YW4wIax8RoZy jzZZTm6WhOqWoLrPG9wwG3hXut0Y5qC2IABxh6Fxr0bubYCnG7iRpVE7HU11gBUCJGV7N+iyL9j59 s/+GSeYy7gCKq91z89UzYg==; Received: from [87.69.77.57] (port=4632 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 1o7L8m-0003US-Fx; Fri, 01 Jul 2022 14:13:16 -0400 Date: Fri, 01 Jul 2022 21:13:28 +0300 Message-Id: <83y1xcd7lj.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Rudolf Schlatte on Fri, 01 Jul 2022 18:18:16 +0200) References: <87czep84vs.fsf@gnus.org> <83mtdtdpzv.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Rudolf Schlatte > Date: Fri, 01 Jul 2022 18:18:16 +0200 > > Eli Zaretskii writes: > > > It shouldn't be hard to implement, but do we want to delete such a > > directory only under ~/.emacs.d/eln-cache/, or under all the > > directories in native-comp-eln-load-path? > > How about only deleting .eln files below these directories, and removing > the directories only when they are empty afterwards? I'm suddenly > imagining users who put other files into such directories, or add their > home directory to native-comp-eln-load-path, or ... IMO, that makes no sense. These directories are for the *.eln files only. From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jul 2022 10:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 48108@debbugs.gnu.org, stefan@marxist.se, akrl@sdf.org Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.165675842115638 (code B ref 48108); Sat, 02 Jul 2022 10:41:02 +0000 Received: (at 48108) by debbugs.gnu.org; 2 Jul 2022 10:40:21 +0000 Received: from localhost ([127.0.0.1]:39877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7aY0-00044A-T4 for submit@debbugs.gnu.org; Sat, 02 Jul 2022 06:40:21 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7aXw-00043p-Jd for 48108@debbugs.gnu.org; Sat, 02 Jul 2022 06:40:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=EWDZAo1ITkx21PD/tAmwtJ2POnlUaOlq+99ksQ5cAB8=; b=u85pE7XXZ4P2pH18sYHOcOJ1xt j8G/KwTiAurVDOsAYb50gdzIZzR8BF6Zxt7cJfjYEKsPZJ71kkd4vAvqVTSjngXThDERagRzd/SZE 7MNYm+UVlHomXRuHOomsRK07omzL74LDT5xxSnD9isZQvGvJ63wUmvJV+GqciE7uvGKo=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7aXl-0001FK-JM; Sat, 02 Jul 2022 12:40:08 +0200 From: Lars Ingebrigtsen In-Reply-To: <83mtdtdpzv.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 01 Jul 2022 14:36:04 +0300") References: <87czep84vs.fsf@gnus.org> <83mtdtdpzv.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEUTBgZdJiewdjL/ //8rHmheAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YHAgolB2/ghjYAAAFVSURBVCjPRZK9asMwEMdP QRJtJhtkSDR1KIXmKRSIO0uQ85Apgw2tn8KBdk+XQDt1cEqtp+xJiu0bJP38v5PuwwA3yzLLQeXo RF4i2R6y3LnC4bZ0ARytOZZREYjKUsgeBQfpYbalNzM0l36GdWVnmGOyCRQAeYhrhFXGOtqOSVEL WlkEUSt1C2XA/kawDMTQ2vRZMSO875KiopJgT8CGTUrRbkoDj+0tX41bWuj+kJPKjThJyiy9Y14+ 4Dkp9wCf71wDjyXt2NlybVYBnk5m9QBLeI31dXYtrPaxfrkDLezG/4QrqgYOsjtQm5YAv0fQA6eG hpcuNWvPd3QOl/t+4Tv+lnJre0nVJGBVL51hEYRtagDD6uRWUC9MyoyA5HEUBRoozHiuzKQgfnfF BJW/tjjOh2wox5l6f/3C5KaDYLFmoVURwg9hqOshpKd9cpvmLXE+/wPSrVmCZ8bLHQAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMi0wNy0wMlQxMDozNzowNiswMDowMGqzqG4AAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjItMDctMDJUMTA6Mzc6MDYrMDA6MDAb7hDSAAAAAElFTkSuQmCC X-Now-Playing: Cirkus Modern's =?UTF-8?Q?=5FTr=C3=B8st=5F:?= "Barn av =?UTF-8?Q?v=C3=A5r?= tid har ingen hender" Date: Sat, 02 Jul 2022 12:40:05 +0200 Message-ID: <875ykf4x2y.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > It shouldn't be hard to implement, but do we want to delete such a > directory only under ~/.emacs.d/eln-cache/, or under all the > directories in native-comp-eln-load-path? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > It shouldn't be hard to implement, but do we want to delete such a > directory only under ~/.emacs.d/eln-cache/, or under all the > directories in native-comp-eln-load-path? The last element in that variable is supposed to be the system directory... but perhaps it'd make sense for this command to prune .eln directories in all directories in native-comp-eln-load-path where the user has write access? (That will normally, by default, just be ~/.emacs.d/eln-cache/.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jul 2022 10:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 48108@debbugs.gnu.org, stefan@marxist.se, akrl@sdf.org Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.165675892116636 (code B ref 48108); Sat, 02 Jul 2022 10:49:01 +0000 Received: (at 48108) by debbugs.gnu.org; 2 Jul 2022 10:48:41 +0000 Received: from localhost ([127.0.0.1]:39901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7ag4-0004KG-UG for submit@debbugs.gnu.org; Sat, 02 Jul 2022 06:48:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7ag1-0004K2-Tx for 48108@debbugs.gnu.org; Sat, 02 Jul 2022 06:48:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47188) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7afw-0003GE-Dw; Sat, 02 Jul 2022 06:48:32 -0400 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=8GliW1+9peBVxVYHMn1Exx7DRDshjYXg6bZFNdcrM7A=; b=NmOCyGwc+JTA X7dTf2wSZ7GeE4Bg2qL0cm1w+cXy4hTZOGoVAHY15g6EVSoCdbi4zVRSaNjT4Bz4x0BRRmp15g2qV InBz1yVL+6O+CLkyvzMAQQZpV1JMKa1ifusGRqmJEgoTBt8OGiFgJzXGM4ueLK5Su7O17Z/3PwA+F ZnzWKSDUvlo/M/40uU0wl+cOYHmmk5B6nSty53Z8lSikEIBMPM6R+YmkB4/K5xBoy8WFP02z1H+Yi dhtDYRvQA1relU2dPMioorzpPunyIlRIxPKzBmEIIp8e8GR2nVf7MjacOHKsl6VEH9e7AJxwU9/Zx lkxw5H6KgISBIV6ooZtbdg==; Received: from [87.69.77.57] (port=1958 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 1o7afu-0008PD-Rn; Sat, 02 Jul 2022 06:48:31 -0400 Date: Sat, 02 Jul 2022 13:48:24 +0300 Message-Id: <83zghrbxjb.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <875ykf4x2y.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 02 Jul 2022 12:40:05 +0200) References: <87czep84vs.fsf@gnus.org> <83mtdtdpzv.fsf@gnu.org> <875ykf4x2y.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: stefan@marxist.se, 48108@debbugs.gnu.org, akrl@sdf.org > Date: Sat, 02 Jul 2022 12:40:05 +0200 > > Eli Zaretskii writes: > > > It shouldn't be hard to implement, but do we want to delete such a > > directory only under ~/.emacs.d/eln-cache/, or under all the > > directories in native-comp-eln-load-path? > > The last element in that variable is supposed to be the system > directory... but perhaps it'd make sense for this command to prune .eln > directories in all directories in native-comp-eln-load-path where the > user has write access? That's what I'm asking, basically. From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jul 2022 11:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 48108@debbugs.gnu.org, stefan@marxist.se, akrl@sdf.org Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.165675970117978 (code B ref 48108); Sat, 02 Jul 2022 11:02:02 +0000 Received: (at 48108) by debbugs.gnu.org; 2 Jul 2022 11:01:41 +0000 Received: from localhost ([127.0.0.1]:39919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7asf-0004fs-5e for submit@debbugs.gnu.org; Sat, 02 Jul 2022 07:01:41 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7asc-0004fa-MF for 48108@debbugs.gnu.org; Sat, 02 Jul 2022 07:01:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8vfuB8aNXdPpinf2dSqivU/mVZpYv2b0lAJQoBT3pNM=; b=FKuqaE0GF4lg0Jp1S4THAwDkf3 L83e/UPYFLAJ2OI225K2M8b+1d0aeELGkQdvcEEgpyQOvfPrTlUKuluK7Fs2+zK2VM52u9SUwmfrA g0xRqRS3xeBOUDheHa6iDUF5ZXisd3DJoZdzbJ4p3uovX8TYGsyNDJ+w9DmpYJkTnkbg=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7asR-0001Nu-Im; Sat, 02 Jul 2022 13:01:30 +0200 From: Lars Ingebrigtsen In-Reply-To: <83zghrbxjb.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 02 Jul 2022 13:48:24 +0300") References: <87czep84vs.fsf@gnus.org> <83mtdtdpzv.fsf@gnu.org> <875ykf4x2y.fsf@gnus.org> <83zghrbxjb.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEUTBgZdJiewdjL/ //8rHmheAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YHAgolB2/ghjYAAAFVSURBVCjPRZK9asMwEMdP QRJtJhtkSDR1KIXmKRSIO0uQ85Apgw2tn8KBdk+XQDt1cEqtp+xJiu0bJP38v5PuwwA3yzLLQeXo RF4i2R6y3LnC4bZ0ARytOZZREYjKUsgeBQfpYbalNzM0l36GdWVnmGOyCRQAeYhrhFXGOtqOSVEL WlkEUSt1C2XA/kawDMTQ2vRZMSO875KiopJgT8CGTUrRbkoDj+0tX41bWuj+kJPKjThJyiy9Y14+ 4Dkp9wCf71wDjyXt2NlybVYBnk5m9QBLeI31dXYtrPaxfrkDLezG/4QrqgYOsjtQm5YAv0fQA6eG hpcuNWvPd3QOl/t+4Tv+lnJre0nVJGBVL51hEYRtagDD6uRWUC9MyoyA5HEUBRoozHiuzKQgfnfF BJW/tjjOh2wox5l6f/3C5KaDYLFmoVURwg9hqOshpKd9cpvmLXE+/wPSrVmCZ8bLHQAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMi0wNy0wMlQxMDozNzowNiswMDowMGqzqG4AAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjItMDctMDJUMTA6Mzc6MDYrMDA6MDAb7hDSAAAAAElFTkSuQmCC X-Now-Playing: Cirkus Modern's =?UTF-8?Q?=5FTr=C3=B8st=5F:?= "Bm. samliv (Det er =?UTF-8?Q?p=C3=A5?= tide =?UTF-8?Q?=C3=A5?= drikke seg full)" Date: Sat, 02 Jul 2022 13:01:26 +0200 Message-ID: <871qv34w3d.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> The last element in that variable is supposed to be the system >> directory... but perhaps it'd make sense for this command to prune .eln >> directories in all directories in native-comp-eln-load-p [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> The last element in that variable is supposed to be the system >> directory... but perhaps it'd make sense for this command to prune .eln >> directories in all directories in native-comp-eln-load-path where the >> user has write access? > > That's what I'm asking, basically. I've now added this to Emacs 29 under the name `native-compile-prune-cache'. (Feel free to adjust the name -- I felt that -clear-cache was misleading, since we're not removing the cache for the current invocation.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 02 07:01:46 2022 Received: (at control) by debbugs.gnu.org; 2 Jul 2022 11:01:46 +0000 Received: from localhost ([127.0.0.1]:39922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7ask-0004gA-Dz for submit@debbugs.gnu.org; Sat, 02 Jul 2022 07:01:46 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7asj-0004fr-En for control@debbugs.gnu.org; Sat, 02 Jul 2022 07:01:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HfnMY+SzZUaaqXrWtJxoRD+Hk3justvLBND2N2FfKSU=; b=ZGgsbXbsedYcoWjNoqmfpecoGE CmjMw0XO+6fXJBZdhI7IKrdIU9Aa1RlncDQKUcnuAwVbO246iD8Yoo3kelg0DxW6j4yenoRLgKrek Wm0zF/FfNti9nQhEyWCi4VILvXYD9kMF9kiMdHiRfOrVZp+bxNrVFHbLFtJBiscYoPVY=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7asb-0001O1-Ht for control@debbugs.gnu.org; Sat, 02 Jul 2022 13:01:39 +0200 Date: Sat, 02 Jul 2022 13:01:37 +0200 Message-Id: <87zghr3him.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48108 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 48108 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 48108 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 28 03:57:51 2022 Received: (at control) by debbugs.gnu.org; 28 Nov 2022 08:57:51 +0000 Received: from localhost ([127.0.0.1]:47313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozZxW-0003NF-RN for submit@debbugs.gnu.org; Mon, 28 Nov 2022 03:57:51 -0500 Received: from mail-ej1-f44.google.com ([209.85.218.44]:42885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozZxV-0003N9-5K for control@debbugs.gnu.org; Mon, 28 Nov 2022 03:57:49 -0500 Received: by mail-ej1-f44.google.com with SMTP id n21so24001187ejb.9 for ; Mon, 28 Nov 2022 00:57: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=w6m5RlwKTS2efW9V+dh9f0cmUWYftnWmwIkNy7dvm7U=; b=VzPan7RxUWEX9+Et7E7p/AklZeOXXmdu9BspE1Yamqig2cSh15Fs7S7PmJnPY+jD+W 4MlW77z3ri6cFIdfjqPd2y8mqDbOJTmOCQpGo6bGUv0lOPDdvpn0SL7LedTV+gfHujzJ z1yPYaNAhbAGoXmoubNUbpEf1fgAYMNzpDEkGDHG4DAAR4lSyzUpd+pl/E96fqTIeAXp crfwhF4RAPXOZAds9JfTllRg00qNriXM363+cHh+6StcBe1JzdmbYdbCN9DPOqDOViAt 0Z161gXcdESvu8C3fWOuKP+pd4NU4Xb3R5qWgCJwhXzj4OvFO/Gz5ZY9Zr73hHJRcJrd f6IQ== 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=w6m5RlwKTS2efW9V+dh9f0cmUWYftnWmwIkNy7dvm7U=; b=xLZ+vA555QoHvCk1xvMJZk4ibPJM2qjy/E6ZXBjP0+qor1GATF+TtVMfRKtNRW/QwH qkbn0G7rtJ+LGthQMCKNZJtDeOif7ucgJNxcubhdyvNKqPfe0qEFdk6YfV/RcjdX3A1X MGb211g08hph3PcgTyN3HvbgvA8HHJ1n9LBd7E0g29jTaPsqqS5quqk7nDJowjaUXVig X2Hf/j43tb9xarz+1z3A6MYcgIP08/bXS4vdX8HX9OiHQOR8qu4f9q8uCiYrOkV2sOiA 0A+EVaBFXtNCFFN9S9ShT35+aTkojazwf7Pv2F5qwaca+ZM6I6hyBUE67NwEf1F5BWeB TG3g== X-Gm-Message-State: ANoB5pmCi6tJQyYhv8J8rCYk9UG261qNd72IsxnmR+X+47rnGX9NPm+Y +pdswjSA88IQPeiPwCMZ5dlex7PrVS7gZEQ5iC/4TmbL5VA= X-Google-Smtp-Source: AA0mqf4bnq/Z5pfQZvvsfBfO0d77ifrNrnX/3Qm3WpnamJGiPKDDn5+SAO6uH+ypxhaDKx7AFQVG6vyoWJi4Xr03mGg= X-Received: by 2002:a17:906:6dc9:b0:7bc:5700:490 with SMTP id j9-20020a1709066dc900b007bc57000490mr12684056ejt.592.1669625862923; Mon, 28 Nov 2022 00:57:42 -0800 (PST) MIME-Version: 1.0 From: Juanma Barranquero Date: Mon, 28 Nov 2022 09:57:07 +0100 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: multipart/alternative; boundary="00000000000077a97005ee8410b4" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: unarchive 48108 quit unarchive 48108 quit Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.218.44 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (lekktu[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 HTML_MESSAGE BODY: HTML included in message -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.218.44 listed in wl.mailspike.net] 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --00000000000077a97005ee8410b4 Content-Type: text/plain; charset="UTF-8" unarchive 48108 quit --00000000000077a97005ee8410b4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
unarchive = 48108
quit<= /span>
--00000000000077a97005ee8410b4-- From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Fwd: Wishlist: Command to remove redundant eln cache directories [native-comp] 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 X-GNU-PR-Keywords: To: 48108@debbugs.gnu.org Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.166962599013125 (code B ref 48108); Mon, 28 Nov 2022 09:00:02 +0000 Received: (at 48108) by debbugs.gnu.org; 28 Nov 2022 08:59:50 +0000 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 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 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) MIME-Version: 1.0 References: In-Reply-To: From: Juanma Barranquero Date: Mon, 28 Nov 2022 09:59:06 +0100 Message-ID: Content-Type: multipart/alternative; boundary="0000000000008f993c05ee8417d9" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --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-- From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 12:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juanma Barranquero Cc: larsi@gnus.org, 48108@debbugs.gnu.org, stefankangas@gmail.com Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.166963946415217 (code B ref 48108); Mon, 28 Nov 2022 12:45:02 +0000 Received: (at 48108) by debbugs.gnu.org; 28 Nov 2022 12:44:24 +0000 Received: from localhost ([127.0.0.1]:48390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozdUm-0003xM-C5 for submit@debbugs.gnu.org; Mon, 28 Nov 2022 07:44:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozdUl-0003xG-4G for 48108@debbugs.gnu.org; Mon, 28 Nov 2022 07:44:23 -0500 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 1ozdUf-0004OK-Mz; Mon, 28 Nov 2022 07:44:17 -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=Dve+9GwuzeSa0Q63PVFmmcKbRSE+5lnYiBMI4lvFTw4=; b=CE9kUiz2EeIr PogrHYDe+lYEfbTIX8zClKM5BfDJMx/Czx21OZOsUrG4BnkQgaaK+9WsqFMRafj61oQwNCiY3h0Gs 9mmMNkTCnNo6uzsGkbhOs3OnAC9tqL+4SdAB9s3WSVgvkVv260cPgpbNo7ew6GBZymJZYbSIw+nPg fWYjHeDih+1/ARdhDdWA8iveZwwhWhLsAjjZ10fzXqp/IzPRHCUaPXIqhRQCjrX68S/QQzznYly43 QYznnL1BfXS1ieR4hnmGHPFYfQEQT2nD/m6WGVwM4afQqEgca1H379prx4kZN/ryekOlMdAQCh+JC T1k/4NEf73ScVwlE76n+eg==; 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 1ozdUe-000542-T4; Mon, 28 Nov 2022 07:44:17 -0500 Date: Mon, 28 Nov 2022 14:44:47 +0200 Message-Id: <83sfi3nt8g.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Juanma Barranquero on Mon, 28 Nov 2022 09:39:14 +0100) References: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Juanma Barranquero > Date: Mon, 28 Nov 2022 09:39:14 +0100 > Cc: Eli Zaretskii , Stefan Kangas , > Lars Ingebrigtsen > > `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? AFAIR, yes. The command is intended to help users to clean up the eln-cache of files _they_ compile, but it isn't supposed to touch *.eln files installed as part of Emacs. That's for sysadmins. And besides, on many systems the preloaded *.eln files are not writable by "normal" users. See bug#48108, where this was discussed. From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 13:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: larsi@gnus.org, 48108@debbugs.gnu.org, stefankangas@gmail.com Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.166964102516139 (code B ref 48108); Mon, 28 Nov 2022 13:11:01 +0000 Received: (at 48108) by debbugs.gnu.org; 28 Nov 2022 13:10:25 +0000 Received: from localhost ([127.0.0.1]:48527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozdtx-0004CF-I6 for submit@debbugs.gnu.org; Mon, 28 Nov 2022 08:10:25 -0500 Received: from mail-ed1-f44.google.com ([209.85.208.44]:37685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozdtw-0004C7-4K for 48108@debbugs.gnu.org; Mon, 28 Nov 2022 08:10:24 -0500 Received: by mail-ed1-f44.google.com with SMTP id l11so15351552edb.4 for <48108@debbugs.gnu.org>; Mon, 28 Nov 2022 05:10:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=PPzqU+dAJTeNdPH7iPK8SiDQF5NLEmecNI28ZbTFgK0=; b=cbAEE2JmC9do6o8aRcxd5yWRsNx7mGiAHbJ0ffSBG9vV2PptGCMrvKaWzVS+S593wt YhfzyLQGaqiUtnn2RvPZmzVw7b/1YixR9fWoS6JkQl7FSNgOfvcB/ilkxZkAiEW1aCPC lIJaNMkfAU5lvYeoR6kDETzXWjppHLcmJWEeEP0DNcWCDbZ81mHcA+tAsBlNHWOwOuFB 3KgAvSIPb004lLYR95e1Y2PsdDLNCYlGFOYvJXEzeY7fpboh6o5QzAaMRMV+g5uD6e4N 6DUb5lj/ktoPjZiz7yMss7hfkkVmdHDSvSGXQ9Wa8Y+Uw4jZ/5tJfllMXuGyZhGuXrvy IKaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc: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=PPzqU+dAJTeNdPH7iPK8SiDQF5NLEmecNI28ZbTFgK0=; b=vT8NiQgqTHDX3LvVwSKZc0ZetM7pkPFurQUrJAeOQVgT4cMuaRDayi9EjJ2K9S5Fq7 l/rufKkGb9+qDCZRSxkhXRW9r8CPShRirKQEv2l0TC8pEHNDyjaDndxeJbCANfTJTsrJ Rum1MxHMdXR+/nBeEoGNTEr6NPTMKnMs4x2NQNL5icmx8qE15ZKW2r+HyTeZo04/tXRK iCA0z/lTKiCuhyYgHrX/F6ZaLSU5+GxzNiG6/Z7Au3/BbSjcH48Nd8YgV0ZCu2IBtNw0 1ajnFg/fSPHi4gxrsHia6jP/GBYRy9TS9cgFQMCgUgGjSgo3MKZBlPcjidtV1MZ8DL9P Nfrg== X-Gm-Message-State: ANoB5pllcXPB8NuHrtvH/Bz38pOUyA86Ij1aycmJpXrC+uv+uZCpwYGT yAv4v4LiS1ijypkaJaVWytQwBpYu8+YKl50bf/A= X-Google-Smtp-Source: AA0mqf6jZithR/jsYWiXJszxGJSZUJG8Mlxqag2B9XwKrL3yTG4FDAfP2ndRjlQx3Vi4XEy936EZQBY3HS5icZfxpp4= X-Received: by 2002:a05:6402:444c:b0:462:2e27:3bf2 with SMTP id o12-20020a056402444c00b004622e273bf2mr47400645edb.13.1669641018135; Mon, 28 Nov 2022 05:10:18 -0800 (PST) MIME-Version: 1.0 References: <83sfi3nt8g.fsf@gnu.org> In-Reply-To: <83sfi3nt8g.fsf@gnu.org> From: Juanma Barranquero Date: Mon, 28 Nov 2022 14:09:42 +0100 Message-ID: Content-Type: multipart/alternative; boundary="000000000000c9dc0505ee8797bc" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000c9dc0505ee8797bc Content-Type: text/plain; charset="UTF-8" Some of the weird things I see are perhaps the consequence of running Emacs in place from the build tree. It is assumed that normal users have write access to native-lisp/VERSION-xxxxxxxx/, but not to native-lisp/VERSION-xxxxxxx/preloaded? The function already deletes any *.eln file in a stale native VERSION-xxxxxxx directory, just not the ones in preload/ --000000000000c9dc0505ee8797bc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Some of the weird things I see are perhaps the consequence of run= ning Emacs in place from the build tree.

It is assumed that normal u= sers have write access to native-lisp/VERSION-xxxxxxxx/, but not to native-= lisp/VERSION-xxxxxxx/preloaded?

The function already deletes any *.e= ln file in a stale native VERSION-xxxxxxx directory, just not the ones in p= reload/


--000000000000c9dc0505ee8797bc-- From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 13:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: larsi@gnus.org, 48108@debbugs.gnu.org, stefankangas@gmail.com Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.166964176916482 (code B ref 48108); Mon, 28 Nov 2022 13:23:02 +0000 Received: (at 48108) by debbugs.gnu.org; 28 Nov 2022 13:22:49 +0000 Received: from localhost ([127.0.0.1]:48578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oze5w-0004Hh-S9 for submit@debbugs.gnu.org; Mon, 28 Nov 2022 08:22:49 -0500 Received: from mail-ej1-f44.google.com ([209.85.218.44]:43998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oze5u-0004HZ-Lg for 48108@debbugs.gnu.org; Mon, 28 Nov 2022 08:22:47 -0500 Received: by mail-ej1-f44.google.com with SMTP id gu23so7522621ejb.10 for <48108@debbugs.gnu.org>; Mon, 28 Nov 2022 05:22:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Rkvo8MWLKoBU5iwZQziiYU1HLeWvsPMV+K2flxN1NGU=; b=M/1YP1aaPtsB5F4d6oFv8cMDxA7l25/E4Rf1lS9fhTnnZY+1Z9cDtQtjO9+zBX+95J KKNuNsm2wuDDJWaMgVQ3ImlXD2KJYVtxvkWO3VQikQBWGLIFj28XMP4qr4rBDVI37zvx FiIokD7nZpIA+XPYCm4eZ93qAcIRm4X3Y37M4PXIjhOlVk/YCfkYfEeiwbNNqCGn5g9c QF642W6Wexsnagyybtrw1UJPbuEB2bELQHnzi0wXTCHVIK+iVfWyzQMgewOPajwD/2cE MNpM/NicAMqfA1RkNDm17SH/UDKyacS72rmAdN58oDl1hlaPnMHB860KViEGa1I0Os8t Fzdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc: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=Rkvo8MWLKoBU5iwZQziiYU1HLeWvsPMV+K2flxN1NGU=; b=NlgpGlZWkh3KvQ5JFSBagYu7JBT44pTVmOk/oSEgv120VDSiSsSxSyAOsOkOYliLWu ACpbARDF93EomDJBdf01FSLq4QjNx9P3OehCNunNgYSXy209+NKDvhxez7kem21gdqzr Xis1+DpZ68iPYqj1qgX3qYY5D+njQKPC3HS19+1rawO+8bgKJukoJwGG3aL4XHehp3/e nol1mZyGwHuB6dlF3AwQzMszhCUraFDbc920FSjVr7Iq5jj3lFzhLuqyyAxZWwHzmyD5 ZqFDP9VM3uBs8ojK5OHl2d1wF4IRDcVJI6oX6o+J9LeuTGGUjppFqcVpxi2R/3Tc1rB/ s0MA== X-Gm-Message-State: ANoB5pk7F/szzifHxYfQyT9UvnHHqtgx7eTOrqPpUXTo89bvkk9YGxuB cLsBGZdkCwkXGpK3KQMpSiqbGf1yKUs01hRL2c8= X-Google-Smtp-Source: AA0mqf5ujCJ6PpGM2mE9wU6iFnYDY8DRNorEHiQGA0m+pEyUgqWvkz7BsitZiucPpGP7SnGqPKXxmiP90jASuL0jWd4= X-Received: by 2002:a17:906:4bcc:b0:7be:6ab8:4ccc with SMTP id x12-20020a1709064bcc00b007be6ab84cccmr7674518ejv.713.1669641760635; Mon, 28 Nov 2022 05:22:40 -0800 (PST) MIME-Version: 1.0 References: <83sfi3nt8g.fsf@gnu.org> In-Reply-To: From: Juanma Barranquero Date: Mon, 28 Nov 2022 14:22:05 +0100 Message-ID: Content-Type: multipart/alternative; boundary="0000000000000b80f105ee87c438" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000000b80f105ee87c438 Content-Type: text/plain; charset="UTF-8" Also, if you set a relative path in native-comp-eln-load-path (directly, not via `startup-redirect-eln-cache'), it defaults to `invocation-directory', which is (in an in-place run) the src/ subdir. Which is weird: (push "./test-native" native-comp-eln-load-path) and then the test-native/ subdir is created both under `user-emacs-directory' and `invocation-directory' (the .eln files go to the second one). --0000000000000b80f105ee87c438 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Also, if you set a relative path in native-comp-eln-load-path (di= rectly, not via `startup-redirect-eln-cache'), it defaults to `invocati= on-directory', which=C2=A0is (in an in-place run) the src/ subdir.=C2= =A0

Which is weird:

(push "./test-native" native-co= mp-eln-load-path)

and then the test-native/ subdir is created both u= nder `user-emacs-directory' and `invocation-directory' (the .eln fi= les go to the second one).


--0000000000000b80f105ee87c438-- From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 13:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juanma Barranquero Cc: larsi@gnus.org, 48108@debbugs.gnu.org, stefankangas@gmail.com Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.166964269017022 (code B ref 48108); Mon, 28 Nov 2022 13:39:02 +0000 Received: (at 48108) by debbugs.gnu.org; 28 Nov 2022 13:38:10 +0000 Received: from localhost ([127.0.0.1]:48649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozeKo-0004QU-CT for submit@debbugs.gnu.org; Mon, 28 Nov 2022 08:38:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozeKn-0004QN-6N for 48108@debbugs.gnu.org; Mon, 28 Nov 2022 08:38:09 -0500 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 1ozeKh-0006Wy-TF; Mon, 28 Nov 2022 08:38:03 -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=2hU1jMKvjidbU4+jBlCpEzFcGBfcEHebuzb1xlRawx4=; b=beEBDzi6PUba oZzDzoPEx1artcEqK+372FHmi7H19Aeo9KA3WYIFPPQ8288spITralXniQgwVtcwPEbhpYklTMR+I hX5OyL3nY5fgLRarffbk2FIt4jSHvXy8k02esTTSNieT5RpmJMvM0IIUmR2CVOems740zJ7WTG+iz B+9tq9qh5X5rkAgCBcFCKWHYbl71erxS/9lwTRJEgG5ayblDjXd0saHXEv+Bry9YFqmESevlqVB6y ZpfsubGRnb2UkRvYMU1Fuz9NiFPAp9gHuDxEfdfnCkbms3CdX7/ROO3XcupMfOoZkOXqkIEzl5O0t PrX8sGs9txv4iX7JZKFjjw==; 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 1ozeKh-0005od-4x; Mon, 28 Nov 2022 08:38:03 -0500 Date: Mon, 28 Nov 2022 15:38:33 +0200 Message-Id: <83h6yjnqqu.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Juanma Barranquero on Mon, 28 Nov 2022 14:09:42 +0100) References: <83sfi3nt8g.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Juanma Barranquero > Date: Mon, 28 Nov 2022 14:09:42 +0100 > Cc: larsi@gnus.org, 48108@debbugs.gnu.org, stefankangas@gmail.com > > Some of the weird things I see are perhaps the consequence of running Emacs in place from the build tree. > > It is assumed that normal users have write access to native-lisp/VERSION-xxxxxxxx/, but not to > native-lisp/VERSION-xxxxxxx/preloaded? No, to both. > The function already deletes any *.eln file in a stale native VERSION-xxxxxxx directory, just not the ones in > preload/ That's a bug, IMO. The last directory in native-comp-eln-load-path should not be emptied. On a multi-user system, some other user could run an Emacs that uses the files in the native-lisp/VERSION-xxxxxxx/ directory. From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 13:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juanma Barranquero Cc: larsi@gnus.org, 48108@debbugs.gnu.org, stefankangas@gmail.com Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.166964295817189 (code B ref 48108); Mon, 28 Nov 2022 13:43:02 +0000 Received: (at 48108) by debbugs.gnu.org; 28 Nov 2022 13:42:38 +0000 Received: from localhost ([127.0.0.1]:48688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozeP8-0004TB-Cw for submit@debbugs.gnu.org; Mon, 28 Nov 2022 08:42:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozeP7-0004T5-64 for 48108@debbugs.gnu.org; Mon, 28 Nov 2022 08:42:37 -0500 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 1ozeP1-0007dF-K0; Mon, 28 Nov 2022 08:42:31 -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=Y0vaIEw9dVLyKOncKZ3HRfSnCHdjDHbc1/W2lGQyaBM=; b=dfaEoT52EDiE BltHxvqsNFc/2hxrkL+86/4EJJgywnSSXe1nxMbRBIa5k36cRLlK43nqs215TpACGZseTQ2i9H+Vs PFIjVKyJpXzyvvf/wx+8+0iNyuK1Ncy+QP/r5hG7ctF8jj1/wHtEswGGNdeDGu0b5McpgZILM0vSx 68oYbwwpBWGePhl+QZaLvzgtz3uMn4TTxNCWTWwJWZGcMhiut9fEp9ffbQRg0iE1YPhnHizlwzh6D XD4t1FyJSItp1wbN9ZGcitU5rublrPOFgwVFafYcuzi1B72k5rxUskyiJvsBfby/jpSusE6oS6L98 sodWed2mcf+qAHxX9Hf2Qw==; 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 1ozeP0-0006TB-0B; Mon, 28 Nov 2022 08:42:30 -0500 Date: Mon, 28 Nov 2022 15:43:00 +0200 Message-Id: <83fse3nqjf.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Juanma Barranquero on Mon, 28 Nov 2022 14:22:05 +0100) References: <83sfi3nt8g.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Juanma Barranquero > Date: Mon, 28 Nov 2022 14:22:05 +0100 > Cc: larsi@gnus.org, 48108@debbugs.gnu.org, stefankangas@gmail.com > > Also, if you set a relative path in native-comp-eln-load-path (directly, not via `startup-redirect-eln-cache'), it > defaults to `invocation-directory', which is (in an in-place run) the src/ subdir. > > Which is weird: > > (push "./test-native" native-comp-eln-load-path) > > and then the test-native/ subdir is created both under `user-emacs-directory' and `invocation-directory' (the > .eln files go to the second one). Why is this weird? These files are needed early at startup, when Emacs is still unable to do anything fancy, so how is it "weird" that relative file names are interpreted as relative to where Emacs runs? Are you aware of any other programs that interpret relative file names differently? If the effect surprises you, don't add relative file names to the variable. You aren't supposed to anyway; AFAIR this option is only used during the build, if at all. From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 13:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: larsi@gnus.org, 48108@debbugs.gnu.org, stefankangas@gmail.com Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.166964332917394 (code B ref 48108); Mon, 28 Nov 2022 13:49:01 +0000 Received: (at 48108) by debbugs.gnu.org; 28 Nov 2022 13:48:49 +0000 Received: from localhost ([127.0.0.1]:48719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozeV7-0004WU-G2 for submit@debbugs.gnu.org; Mon, 28 Nov 2022 08:48:49 -0500 Received: from mail-ed1-f50.google.com ([209.85.208.50]:42496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozeV5-0004WO-BI for 48108@debbugs.gnu.org; Mon, 28 Nov 2022 08:48:47 -0500 Received: by mail-ed1-f50.google.com with SMTP id z18so15460467edb.9 for <48108@debbugs.gnu.org>; Mon, 28 Nov 2022 05:48:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=INkiojxMmKnP8gvlBd5i012nd2R7k+2WaDz+q3ng3PM=; b=N4o7eiTOIhq3hgVPlZzzQcuQZLzHo/qdWKXnZvcs4ofXFrRk4a+mA/cvww4rSHUjAA V6wZi7vUsvZp/xeqWNLFM/eup+mo8SdjIj/vvXfVV25stecIVmtl5U6KAdrGIvMMImTi 5azftLmEVMNn5irf2Q5k2BbhXbW9DOqipqbTfw1a1hgMXdxUJZka7eSKh+bbvQ7vgQN5 AdsAyhZb9Ws29ftETCVvthCJ2lKCqnuTdCXFZknSuej9L73DACEVrjbkHRaWwYmBMv/P aLOVUZtzPdcx4Bxkz4gBHvyXN0hJImb2HAzlCq4nx+Vix8KstYT9AcjUQbvT+GpC8umk iBiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc: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=INkiojxMmKnP8gvlBd5i012nd2R7k+2WaDz+q3ng3PM=; b=v2nghwrrfnKL9NzrmG6UjaQeuzapMMw/OUhbRIjroFEdhFEBMA7/juqSRTxn+KaMhM UGNPnwq+TNN4Ke3VWH9Buos2ACH5jg6jQbgElc6fzYnjEFrf1qS+LHbjoAXOzyxoH1Z8 mVK1SPm68wicycx3KNiggAy1tbmPYjBYpv+qCCXzglRI7WjbYQm787oejnwI78+0Anuc JfLbx5qoKBKEfGim4Y8wh8qYPW3eDzGq0sEV+ddtTQ/VP4fcMMjF+v1YoYzNoflsedVn hQoZcG8F8IyPku2FA1hJhFaSvmBtugDaHHGPFn68SzDcyzfgKyVKCEcjGsZUQkaIKpY5 d2xA== X-Gm-Message-State: ANoB5plHIplriI1yaDZR7fdTBq/ngupwVIOUox0MCzqAi6LxN9j/n1DK d0lPi9nt3mvChYCDv27qtWllaOXWJlucHpAAYbE= X-Google-Smtp-Source: AA0mqf7HsaRwyzZ8QJeEqouB5ey9LB7Q12WTAUcc2MhjsMAlYyTT8t2CZb9ry2BT2TXKixtzAaBwA7nHKc2zWcLwiAE= X-Received: by 2002:a05:6402:f01:b0:459:9dd3:2217 with SMTP id i1-20020a0564020f0100b004599dd32217mr38151147eda.163.1669643321455; Mon, 28 Nov 2022 05:48:41 -0800 (PST) MIME-Version: 1.0 References: <83sfi3nt8g.fsf@gnu.org> <83h6yjnqqu.fsf@gnu.org> In-Reply-To: <83h6yjnqqu.fsf@gnu.org> From: Juanma Barranquero Date: Mon, 28 Nov 2022 14:48:06 +0100 Message-ID: Content-Type: multipart/alternative; boundary="00000000000013b8fc05ee882116" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000013b8fc05ee882116 Content-Type: text/plain; charset="UTF-8" On Mon, Nov 28, 2022 at 2:38 PM Eli Zaretskii wrote: That's a bug, IMO. The last directory in native-comp-eln-load-path should > not be emptied. On a multi-user system, some other user could run an Emacs > that uses the files in the native-lisp/VERSION-xxxxxxx/ directory. > I'll create a bug report for that, then. --00000000000013b8fc05ee882116 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Mon, Nov 28, 2022 at 2:38 PM Eli Zarets= kii <eliz@gnu.org> wrote:

That's a bug, IMO.=C2=A0 The last directory in= native-comp-eln-load-path should
not be emptied.=C2=A0 On a multi-user system, some other user could run an = Emacs
that uses the files in the native-lisp/VERSION-xxxxxxx/ directory.

I'll create a bug report for that, then.
--00000000000013b8fc05ee882116-- From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 13:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: larsi@gnus.org, 48108@debbugs.gnu.org, stefankangas@gmail.com Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.166964371417583 (code B ref 48108); Mon, 28 Nov 2022 13:56:01 +0000 Received: (at 48108) by debbugs.gnu.org; 28 Nov 2022 13:55:14 +0000 Received: from localhost ([127.0.0.1]:48748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozebK-0004ZX-9g for submit@debbugs.gnu.org; Mon, 28 Nov 2022 08:55:14 -0500 Received: from mail-ed1-f42.google.com ([209.85.208.42]:34758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozebJ-0004ZH-8h for 48108@debbugs.gnu.org; Mon, 28 Nov 2022 08:55:13 -0500 Received: by mail-ed1-f42.google.com with SMTP id z92so5053670ede.1 for <48108@debbugs.gnu.org>; Mon, 28 Nov 2022 05:55:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=u3HJlIr9eSHNnzHqPKbpa+a4EOHEeKDlO0aSJh+bGD8=; b=eCgkK59knTSnZKLBNnA0SoCI26pLbNs3gkUPanJUtr/Td6FwNZSl4gk5jG0knRVNKK yw2XMzMCb1h3zczMyZHHyg4nI+WhmsUMryFG15eanljV5UetakMJFiMvaNzt10rLemWG h7rGarivoVbTBTMhTTJAsfRs/Gkxog5UKnwU4Hppy0XhLdm3ZOX3Bm3W3yEdDXoXnXfa 7eVtRSunGs4hVkCaotJnOME+5dTf3dl7/MQkjElhSlQjArZWGo8yLnn5Jl+M8VBR+KBY KTx6X4YuQiDaFGMs3ukt1341OG17aQljiezd8ejFZYNbg19l4ygJjhVAVMZWMSLSMhh9 b+1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc: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=u3HJlIr9eSHNnzHqPKbpa+a4EOHEeKDlO0aSJh+bGD8=; b=lkFbyMIZx5ITCnhRXrfXoCKLysfVeXzj3K9Y7oP3B/d+M/UFSDiATWQbmm5kyRWS4e fSB8XcVRC+jdo0v7w0BZwE/WwITjy7qAw5y/rAuGHom3ujQBUCV3yASN20kwFDAxfT+S Vi0XEPQtysBTY3vDF+HmKqoQ+YL4daUXdkoByy82sgivRxy+f8AoZ7ZDp8LjNz/NbZPg W/2xdooZA11Gi51/PiPPq+KVPXL3EDn661YTf/PI0Azm7N32Nrp82fqo0yg8rYdF3kN0 HMJnd5f84WXQ7NnQzs+xUY+3chJLFwiK73ueo6HCkV64bTuG+PcXw3uteDm74l1GJHlZ /ecQ== X-Gm-Message-State: ANoB5plJQlp+BWFdls4PO9bT2s5lF8jil50Z7oTAXAaH60GU8DFHNo4Q c97Xf0Xmxw+tEVUZj3xwQkotJlgJfd4tV37SRas= X-Google-Smtp-Source: AA0mqf6+5SIfqcNOIe2GCKIT3SmuqFEqBYX6Xt4Zb2SWNn8in2KWeLshT6Rz2VTaAal5gXdXDLN/OfAohlhFvC+e0sg= X-Received: by 2002:aa7:c055:0:b0:45a:1af2:ed6d with SMTP id k21-20020aa7c055000000b0045a1af2ed6dmr32303599edo.364.1669643707392; Mon, 28 Nov 2022 05:55:07 -0800 (PST) MIME-Version: 1.0 References: <83sfi3nt8g.fsf@gnu.org> <83fse3nqjf.fsf@gnu.org> In-Reply-To: <83fse3nqjf.fsf@gnu.org> From: Juanma Barranquero Date: Mon, 28 Nov 2022 14:54:32 +0100 Message-ID: Content-Type: multipart/alternative; boundary="00000000000014a79305ee8838c3" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000014a79305ee8838c3 Content-Type: text/plain; charset="UTF-8" On Mon, Nov 28, 2022 at 2:42 PM Eli Zaretskii wrote: Why is this weird? These files are needed early at startup, when Emacs is > still unable to do anything fancy, so how is it "weird" that relative file > names are interpreted as relative to where Emacs runs? Are you aware of > any > other programs that interpret relative file names differently? > It is used also for files that are not required early at startup (unless you consider "early at startup" native-compiling the .el/.elc files required or loaded in init.el). If the effect surprises you, don't add relative file names to the variable. > For sure. > You aren't supposed to anyway; AFAIR this option is only used during the > build, if at all. > I don't disagree, but that's not evident reading native-comp-eln-load-path's docstring. Anyway, the fact that if you set a relative dir ./test-compile in that variable both ~/.emacs.d/test-compile and src/test-compile directories are created is also a bug. --00000000000014a79305ee8838c3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Mon, Nov 28, 2022 at 2:42 PM Eli Zarets= kii <eliz@gnu.org> wrote:

=
Why is this weird?=C2=A0 These files are needed early at startup, when Emac= s is
still unable to do anything fancy, so how is it "weird" that rela= tive file
names are interpreted as relative to where Emacs runs?=C2=A0 Are you aware = of any
other programs that interpret relative file names differently?

It is used also for files that are not required early at s= tartup (unless you consider "early at startup" native-compiling t= he .el/.elc files required or loaded in init.el).

If the effect surprises you, don= 9;t add relative file names to the variable.

For sure.=C2=A0
You aren't supposed to anyway; AFAIR this option is only used during th= e
build, if at all.

=C2=A0I don't disagree, = but that's not evident reading native-comp-eln-load-path's docstrin= g.

Anyway, the fact that if you set a relative dir ./test-compile in= that variable both ~/.emacs.d/test-compile and src/test-compile directorie= s are created is also a bug.

=C2=A0
--00000000000014a79305ee8838c3-- From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 14:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juanma Barranquero Cc: larsi@gnus.org, 48108@debbugs.gnu.org, stefankangas@gmail.com Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.166964663719114 (code B ref 48108); Mon, 28 Nov 2022 14:44:01 +0000 Received: (at 48108) by debbugs.gnu.org; 28 Nov 2022 14:43:57 +0000 Received: from localhost ([127.0.0.1]:48977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozfMS-0004yE-MX for submit@debbugs.gnu.org; Mon, 28 Nov 2022 09:43:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozfMQ-0004y8-W2 for 48108@debbugs.gnu.org; Mon, 28 Nov 2022 09:43:55 -0500 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 1ozfML-0002KZ-HX; Mon, 28 Nov 2022 09:43:49 -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=OJZG64hnhgPHRcYpf45H+dR11jbG8nBsiBsHMoLcQ1M=; b=dahsSCZXwz+b 1gWome6ySbsFwVAYgVAk/XZZRYVRtS3AXcLiMtY30Ah7q/9MaauISAHqq//nBHZ1UKURYmuwVA3dw 1CoFNKJP1kbr3DXDNOsMdjk4eVDYOTvscm6iBgCbZyxMmK88fNde3w8/Q07KBFPu2e+5puojZM8Mv xdAcrc/A8JJ8n1iyXc1I/e0MGG6sqCz5H8P+3MfhA4cJnuRWubLfunURi9KuXHrXcPZvN9EGWaWFK 4YGmjthLu4aeg5MjFD+MpRs+Ex1Y6iyZkn07h7xXPkiqy/fz40Rer9DEgS9WgM96sQYgzAsJyNdIe dBz5YVuab+HuSMClzk7ROA==; 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 1ozfMK-0007bj-Up; Mon, 28 Nov 2022 09:43:49 -0500 Date: Mon, 28 Nov 2022 16:44:19 +0200 Message-Id: <83cz97nnp8.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Juanma Barranquero on Mon, 28 Nov 2022 14:54:32 +0100) References: <83sfi3nt8g.fsf@gnu.org> <83fse3nqjf.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Juanma Barranquero > Date: Mon, 28 Nov 2022 14:54:32 +0100 > Cc: larsi@gnus.org, 48108@debbugs.gnu.org, stefankangas@gmail.com > > On Mon, Nov 28, 2022 at 2:42 PM Eli Zaretskii wrote: > > Why is this weird? These files are needed early at startup, when Emacs is > still unable to do anything fancy, so how is it "weird" that relative file > names are interpreted as relative to where Emacs runs? Are you aware of any > other programs that interpret relative file names differently? > > It is used also for files that are not required early at startup (unless you consider "early at startup" > native-compiling the .el/.elc files required or loaded in init.el). I do. > You aren't supposed to anyway; AFAIR this option is only used during the > build, if at all. > > I don't disagree, but that's not evident reading native-comp-eln-load-path's docstring. This is Emacs: you get enough rope to hang yourself. We trust you that you either know what you are doing, or won't do it. > Anyway, the fact that if you set a relative dir ./test-compile in that variable both ~/.emacs.d/test-compile and > src/test-compile directories are created is also a bug. Why do you think it's a bug? From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 15:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Lars Magne Ingebrigtsen , 48108@debbugs.gnu.org, stefankangas@gmail.com Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.166964848820339 (code B ref 48108); Mon, 28 Nov 2022 15:15:01 +0000 Received: (at 48108) by debbugs.gnu.org; 28 Nov 2022 15:14:48 +0000 Received: from localhost ([127.0.0.1]:49167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozfqK-0005Hz-I8 for submit@debbugs.gnu.org; Mon, 28 Nov 2022 10:14:48 -0500 Received: from mail-ej1-f41.google.com ([209.85.218.41]:34548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozfqF-0005Hq-Qw for 48108@debbugs.gnu.org; Mon, 28 Nov 2022 10:14:47 -0500 Received: by mail-ej1-f41.google.com with SMTP id ho10so26657463ejc.1 for <48108@debbugs.gnu.org>; Mon, 28 Nov 2022 07:14:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=UdD8ouisvfTHXmZ5KkRnlkd/hMqpkvK64x5ZWRzf1z8=; b=hucoYb8Gjz/oLsgrilLJkrE+tsozyiMPvFMwN9m8Vv7LHnpftQVb1zYTTytMJiZdOU UqUc2gU6LAs7S7nRmIpyd+vU618a/FdBmJDfFiJKvtzcF5++FIGw9DGhGXJnHxv799DJ YyliEJ1cOW0pZKKinrCQV1ACQhNdWHsJ8UhdxdN7DACUq/LRJhtIherjiIQTE97q2HTW 7HFa8FxKbos2n91xapZma8w1LqFd7yb5glf9kyfz0ugSBqRvh9+um3Ts0Sz8hczjPuR9 1K6lDKQ5k8XFJw1u1gwESlvpdmQd8J7ik6XbZY7yk6/UYoq02bRDV9IqzU4kTBZ9XrTh viVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc: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=UdD8ouisvfTHXmZ5KkRnlkd/hMqpkvK64x5ZWRzf1z8=; b=dHVG2r+L6supvCD3d2lrAhgPrDm1KrHkUsVcDTxK0CY7wweK3JpDO8H7UPqVHM14hx o7grV6bOpLWq1X0VNVmfmlS9qZy+BvR9UAyQEP7atDxAPcJ2DX0wCTVX36zIhsKSXtDI lm25taoghAVSq7M3SVGzq2IWUExiEZ0rWVDm0+cGFh2E7cu8PMMGEcLsgpAiN6++4Iq0 SknlqNFU+LWOUsycAkeQY831MGjHarjarmfNT9VTQ3ibKO/Q4vkkTwyUnAJMrYukeeE4 j6jk58xZSB8b6rje0NE37yMvnyuH3gShxy2/W6H6o3NeQqCXRWQXnJ0J319zSU/SXEaI dEKw== X-Gm-Message-State: ANoB5plSNg2eaDw+cMQhmtunnQ2PJAYQjlpImBmW+GuBSh3Jd9+PQc5g emZMDz5kDupFDFXV9ozLBI9vEj5pAHzpLsn4IrQ= X-Google-Smtp-Source: AA0mqf512z/qydHKU2cgc6DgtK6xgnyT8ZnBmvE8rb+X7Lannpm37IWp8WwYVIpmM1zItqhL3pDaXg+iXaVuXTy1Q4o= X-Received: by 2002:a17:906:3c4b:b0:7c0:805d:1440 with SMTP id i11-20020a1709063c4b00b007c0805d1440mr936004ejg.16.1669648477921; Mon, 28 Nov 2022 07:14:37 -0800 (PST) MIME-Version: 1.0 References: <83sfi3nt8g.fsf@gnu.org> <83fse3nqjf.fsf@gnu.org> <83cz97nnp8.fsf@gnu.org> In-Reply-To: <83cz97nnp8.fsf@gnu.org> From: Juanma Barranquero Date: Mon, 28 Nov 2022 16:14:27 +0100 Message-ID: Content-Type: multipart/alternative; boundary="0000000000006d267405ee895453" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000006d267405ee895453 Content-Type: text/plain; charset="UTF-8" On Mon, Nov 28, 2022, 15:43 Eli Zaretskii wrote: > > This is Emacs: you get enough rope to hang yourself. We trust you that you > either know what you are doing, or won't do it. > Still, a brief reminder/warning in the docstring would be nice. We warn, occasionally. > > Why do you think it's a bug? > Because the ~/. emacs.d/ one is created but left empty. > --0000000000006d267405ee895453 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Nov 28, 2022, 15:43 Eli Zaretskii <eliz@gnu.org> wrote:

This is Emacs: you get enough rope to hang yourself.=C2=A0 We trust you tha= t you
either know what you are doing, or won't do it.
<= /div>

Still, a brief reminder/= warning in the docstring would be nice. We warn, occasionally.=C2=A0
<= div dir=3D"auto">
=
Why do you think it's a bug?

Because the ~/. emacs.d/ one is created but= left empty.=C2=A0
--0000000000006d267405ee895453-- From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 16:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juanma Barranquero Cc: larsi@gnus.org, 48108@debbugs.gnu.org, stefankangas@gmail.com Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.166965408823547 (code B ref 48108); Mon, 28 Nov 2022 16:49:02 +0000 Received: (at 48108) by debbugs.gnu.org; 28 Nov 2022 16:48:08 +0000 Received: from localhost ([127.0.0.1]:49638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozhIe-00067j-JC for submit@debbugs.gnu.org; Mon, 28 Nov 2022 11:48:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozhIc-00067J-IU for 48108@debbugs.gnu.org; Mon, 28 Nov 2022 11:48:07 -0500 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 1ozhIX-0005vu-6s; Mon, 28 Nov 2022 11:48:01 -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=u5rVQ7FuoaS7SCidod7ctkEUsGsKb/NYSBvq5grYuFM=; b=JDup5OiAhcne B966ExMiIWfYkJiNXi4MvpooTGd85P3NA55u2bhRMHKK1SKN0LXAn9iaE+0OI1n6AnjJh6wh5HKnF N8JygpHx+i9DvzwX+rMieHO0iSxAGu/K1djtUHaeqMMTycOAd3aIKbD4vf+a4vcMAABd0E5pJC7qE Hxb6L3cV5mjnXq8/UtGbacDQFqn0HPhXh7pSY7ZGjftppdROavDC9SaSqvgtMLKqfninqvQ9qayvr H7YASygde/CkGeQ7FR4OuzZ4kHKbjQkYShIXI+C+kbxaKEKXgWHJjehUFc+5O0byCQNoDmzM1mmg5 kmpbMA0qfPNEPV0cZHirSw==; 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 1ozhIW-0000en-Lh; Mon, 28 Nov 2022 11:48:00 -0500 Date: Mon, 28 Nov 2022 18:48:30 +0200 Message-Id: <835yeznhy9.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Juanma Barranquero on Mon, 28 Nov 2022 16:14:27 +0100) References: <83sfi3nt8g.fsf@gnu.org> <83fse3nqjf.fsf@gnu.org> <83cz97nnp8.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Juanma Barranquero > Date: Mon, 28 Nov 2022 16:14:27 +0100 > Cc: Lars Magne Ingebrigtsen , 48108@debbugs.gnu.org, stefankangas@gmail.com > > On Mon, Nov 28, 2022, 15:43 Eli Zaretskii wrote: > > This is Emacs: you get enough rope to hang yourself. We trust you that you > either know what you are doing, or won't do it. > > Still, a brief reminder/warning in the docstring would be nice. We warn, occasionally. > > Why do you think it's a bug? > > Because the ~/. emacs.d/ one is created but left empty. I still don't understand why would that constitute a bug. It is created so that future compilation wouldn't have to worry about its existence if and when they need to deposit *.eln files there. From unknown Sat Jun 14 19:13:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 16:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: larsi@gnus.org, 48108@debbugs.gnu.org, stefankangas@gmail.com Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.166965446523785 (code B ref 48108); Mon, 28 Nov 2022 16:55:02 +0000 Received: (at 48108) by debbugs.gnu.org; 28 Nov 2022 16:54:25 +0000 Received: from localhost ([127.0.0.1]:49683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozhOi-0006BZ-HS for submit@debbugs.gnu.org; Mon, 28 Nov 2022 11:54:24 -0500 Received: from mail-ej1-f46.google.com ([209.85.218.46]:33670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozhOg-0006BS-Ap for 48108@debbugs.gnu.org; Mon, 28 Nov 2022 11:54:22 -0500 Received: by mail-ej1-f46.google.com with SMTP id n20so27471365ejh.0 for <48108@debbugs.gnu.org>; Mon, 28 Nov 2022 08:54:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=75rtPZIXKBFYxSb6xAf/TQUiZUraU5bitBv3Wg1ufWw=; b=Ej8j0kH12na1tp+F2NF//u2Y7m5I8c1v2pGVtZisA4RnehnGMBC2hZbZa3z8LmRjVC ljpXO3XVGoR/N7JcJzGPGykh9uiRmBxEy8bxZ7iyD+dPL3iiF0XDn2sjBl5HgCSPqThB TrGTM7iOsWE2biNwTH6HA3jcyO3WxaRYEZk1DTR25qDgFAoNbqKJl9TWmKqAAJ2ulmrx z5l2O8agenEO3ojPHKOJGMy2c78O4JzyriMUpTx9mVMHublHrfmh5z2P0C+vcqNuRxCa 8rGsAukYBQrZA/1qFKqIYN0OxTDWKYaGEyzfco9ymlaGpKdPHUDYi232QnihEJTou2+/ tcwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc: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=75rtPZIXKBFYxSb6xAf/TQUiZUraU5bitBv3Wg1ufWw=; b=udfvcB9zU/aSXNYhR3MYFnG83GS0209jeZqQykgisFF0TUyJjpCojHYPHE/zPdjPBn b0opT+LhzrEe7O9p81NeK6w/veM8+3psMl3pC4tw5quCE4wWOGSDa0XtPYjYi8WeLzXP LnSqbpgrc9HA0BcQnfScG20CEYQ6OPjucIMAyTa0M8dpTJQTK0iud7ZLCc/idvuaXCmH 2zh1MQW+zbFDyCnVlyWf1Do8fbbWg5vLvJBdSh8usrre6N4PJVwy+z6ay0dcIbfAe5W7 e9D+zO7bqeDJF6sA9epMVaploKQ25DjeP7pe5T7aaaknOVEkCJVikqOG9l0SrUbjNx+T 9e6w== X-Gm-Message-State: ANoB5pmCfzGAJnnvfxTfJD/prft2EZjFv7lb+2oeeb7YcKeyEZwkc7Zk LZiz3PLrznA8G9cI3QDCrK5xnPw/kQGrf28GgHk= X-Google-Smtp-Source: AA0mqf6oNBdROL8/FkSYnHZyZv57nq74+dhJX9IBKJYaJremS8ZCZKNSZdGidcn7AcPwX+2LLMtyotr4bXV7ntJUgy4= X-Received: by 2002:a17:906:4bcc:b0:7be:6ab8:4ccc with SMTP id x12-20020a1709064bcc00b007be6ab84cccmr8622432ejv.713.1669654456603; Mon, 28 Nov 2022 08:54:16 -0800 (PST) MIME-Version: 1.0 References: <83sfi3nt8g.fsf@gnu.org> <83fse3nqjf.fsf@gnu.org> <83cz97nnp8.fsf@gnu.org> <835yeznhy9.fsf@gnu.org> In-Reply-To: <835yeznhy9.fsf@gnu.org> From: Juanma Barranquero Date: Mon, 28 Nov 2022 17:53:40 +0100 Message-ID: Content-Type: multipart/alternative; boundary="000000000000c89acd05ee8ab87c" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000c89acd05ee8ab87c Content-Type: text/plain; charset="UTF-8" On Mon, Nov 28, 2022 at 5:48 PM Eli Zaretskii wrote: I still don't understand why would that constitute a bug. It is created so > that future compilation wouldn't have to worry about its existence if and > when they need to deposit *.eln files there. > Because preventively creating subdirs that will, or will not, ever be used is untidy. Also, because if someone has taken the effort of setting the variable, it's quite possible they don't want .eln files in ~/.emacs.d/ Yes, they should use an absolute path, and/or `startup-redirect-eln-cache' (preferably). --000000000000c89acd05ee8ab87c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


<= div dir=3D"ltr" class=3D"gmail_attr">On Mon, Nov 28, 2022 at 5:48 PM Eli Za= retskii <eliz@gnu.org> wrote:
=
I still don't understand why would that constitute a bug.=C2=A0 It is c= reated so
that future compilation wouldn't have to worry about its existence if a= nd
when they need to deposit *.eln files there.

Because preventiv= ely creating subdirs that will, or will not, ever be used is untidy.
Also, because if someone has taken the effort of setting the variable, it&= #39;s quite possible they don't want .eln files in ~/.emacs.d/

=
Yes, th= ey should use an absolute path, and/or `startup-redirect-eln-cache' (pr= eferably).
--000000000000c89acd05ee8ab87c--