From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.devel Subject: Re: [feature/native-comp] Automatically remove old *eln files Date: Sun, 2 May 2021 23:45:25 +1200 Message-ID: <52c2a19c-d778-80c0-e245-c329c0f3e5ca@orcon.net.nz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17566"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 To: edouard debry , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 02 13:48:04 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldAZv-0004Tq-UH for ged-emacs-devel@m.gmane-mx.org; Sun, 02 May 2021 13:48:03 +0200 Original-Received: from localhost ([::1]:44162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldAZv-000800-2J for ged-emacs-devel@m.gmane-mx.org; Sun, 02 May 2021 07:48:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldAXb-0007Qy-4q for emacs-devel@gnu.org; Sun, 02 May 2021 07:45:39 -0400 Original-Received: from smtp-1.orcon.net.nz ([60.234.4.34]:40265) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldAXV-0001ar-Fn for emacs-devel@gnu.org; Sun, 02 May 2021 07:45:38 -0400 Original-Received: from [101.53.216.162] (port=24254 helo=[192.168.20.103]) by smtp-1.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1ldAXO-0002gK-42; Sun, 02 May 2021 23:45:26 +1200 In-Reply-To: Content-Language: en-GB X-GeoIP: NZ Received-SPF: pass client-ip=60.234.4.34; envelope-from=psainty@orcon.net.nz; helo=smtp-1.orcon.net.nz X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:268767 Archived-At: On 30/03/21 9:56 pm, edouard debry wrote: > - in .emacs.d/eln-cache/xxx : > which-key-23f6ae93-26b66b60.eln > which-key-46d465c9-7566430a.eln > with-editor-6ad39f3c-1f6cab4d.eln > with-editor-e9d03336-734ea3f5.eln > > Is there a way to cleanup both directories so that there remain > only the most recent file for each package? See also: https://lists.gnu.org/archive/html/bug-gnu-emacs/2021-04/msg01802.html > Anyway, I guess emacs will choose to load the latest *eln file, right ? More specifically, the hashes in the filenames allow Emacs to look for only the *correct* eln file (whether or not it's the latest).