From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Date: Mon, 28 Nov 2022 15:43:00 +0200 Message-ID: <83fse3nqjf.fsf@gnu.org> References: <83sfi3nt8g.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29640"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 48108@debbugs.gnu.org, stefankangas@gmail.com To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 28 14:43:41 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ozeQ9-0007Wv-3P for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Nov 2022 14:43:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozePg-0002ZN-7G; Mon, 28 Nov 2022 08:43:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozePY-0002Ry-9N for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 08:43:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ozePW-0007i6-Hr for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 08:43:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozePW-0004TQ-7q for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 08:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 13:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs Original-Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.166964295817189 (code B ref 48108); Mon, 28 Nov 2022 13:43:02 +0000 Original-Received: (at 48108) by debbugs.gnu.org; 28 Nov 2022 13:42:38 +0000 Original-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 Original-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 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 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==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozeP0-0006TB-0B; Mon, 28 Nov 2022 08:42:30 -0500 In-Reply-To: (message from Juanma Barranquero on Mon, 28 Nov 2022 14:22:05 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249298 Archived-At: > 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.