GNU logs - #48543, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#48543: Feature request: put ELN cache in $XDG_CACHE_HOME by default
Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 20 May 2021 17:26:02 +0000
Resent-Message-ID: <handler.48543.B.16215315268522 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 48543
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 48543 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs <bug-gnu-emacs@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.16215315268522
          (code B ref -1); Thu, 20 May 2021 17:26:02 +0000
Received: (at submit) by debbugs.gnu.org; 20 May 2021 17:25:26 +0000
Received: from localhost ([127.0.0.1]:35154 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ljmQI-0002DO-H6
	for submit <at> debbugs.gnu.org; Thu, 20 May 2021 13:25:26 -0400
Received: from lists.gnu.org ([209.51.188.17]:36114)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cpitclaudel@HIDDEN>) id 1ljmQH-0002DH-FS
 for submit <at> debbugs.gnu.org; Thu, 20 May 2021 13:25:25 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46994)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <cpitclaudel@HIDDEN>)
 id 1ljmQH-0005D2-93
 for bug-gnu-emacs@HIDDEN; Thu, 20 May 2021 13:25:25 -0400
Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]:35420)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <cpitclaudel@HIDDEN>)
 id 1ljmQE-00071i-Dc
 for bug-gnu-emacs@HIDDEN; Thu, 20 May 2021 13:25:25 -0400
Received: by mail-qt1-x82c.google.com with SMTP id k19so13372481qta.2
 for <bug-gnu-emacs@HIDDEN>; Thu, 20 May 2021 10:25:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:message-id:date:user-agent:mime-version
 :content-language:content-transfer-encoding;
 bh=tKS+9lBWXllntgMbm4l0FieXXv+S0dsDdYjnYSZRIjo=;
 b=ulHiFYm3UeRqCFu3JKSq3rDy7mUmsMVzRlKy55Z61DuFS9gdiJSmn5ufCzqmGED+jB
 thYVehwLpcckmaxTLib/EbnTkS+LHgR6SZ4JmdVsFWNBSNJR9+/TbnHJLOIwRrkuZXk+
 33Uf53vREhctgF8OQptot6bcZ0cI8Lg7uuO6h28vIfGG+P1exXinLSJ87RSnYcI76JV8
 kOB8+9ZZhmPcJFYVfFL6KwXXFuJNkjF6ROK9YAWGzUy0dTq/8yomUCF0kZ/lOioYfo5W
 G708OFNEqoJEFFV3DELOQzcFc8TaGKJsrqJH6rWUL/8eYYaAuZYVuBSTf942CumPheIW
 oqRA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:message-id:date:user-agent
 :mime-version:content-language:content-transfer-encoding;
 bh=tKS+9lBWXllntgMbm4l0FieXXv+S0dsDdYjnYSZRIjo=;
 b=ZXdBR7mk/Ax4vOOQH74gqT3JLL6Tmoi/XqRKFobMDt+ww+7nVSHxPBlGK0LXGkf7+G
 8bYHHR9HdujjexW0qXo9kD2QU1E+z4DJgHxxwEHbWLYmLt/Kp0bfQk/LIrxvzGby+Lw3
 0S7nvQj0Sm3O4jJK6Z+s9eOFuiya39Gvo0aiDJzNqzK62lZ4S6upPdSNo7UNKW0n+KJl
 2ExbA9c1Y0qdH49hH1Yg20fFK+cRQRH7rrsIQqFNmvTD8Iz15HVsPTiM7Xn78eZeRak8
 fa2w5gl+AU/e/AUjWLHfCnZdyVxuQ58yKbFhOwRd0qADcnl5/Y6ftQmZQ0FKj07PoNoj
 3snA==
X-Gm-Message-State: AOAM533VMxmcyhWU7EkUsNEKTN3VD7oG7C6WV+FBPqj6rLTbH4/NktO5
 ANCbJOqFSLl8RPvfiRwohOKwXAEpNmU=
X-Google-Smtp-Source: ABdhPJztma9Da2GU744pst3bn0YCi7oDVZ9ePLuCBZotL9AVn/sVZnSuy14oBvCHBxrT1sLXJoNqhA==
X-Received: by 2002:aed:30e6:: with SMTP id 93mr6319160qtf.41.1621531519536;
 Thu, 20 May 2021 10:25:19 -0700 (PDT)
Received: from [192.168.1.11] (c-24-61-240-80.hsd1.ma.comcast.net.
 [24.61.240.80])
 by smtp.googlemail.com with ESMTPSA id s20sm2554456qke.2.2021.05.20.10.25.19
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Thu, 20 May 2021 10:25:19 -0700 (PDT)
From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN>
Message-ID: <80f227b7-ee3e-3c5f-9fec-8aca8b315951@HIDDEN>
Date: Thu, 20 May 2021 13:25:18 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.8.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:f8b0:4864:20::82c;
 envelope-from=cpitclaudel@HIDDEN; helo=mail-qt1-x82c.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi all,

By default the eln cache is stored in .emacs.d/eln-cache.  Would it make sense to store it in $XDG_CACHE_HOME/emacs/eln by default on platforms that obey the XDG spec?

I came across this because my backup scripts already exclude $XDG_CACHE_HOME, but didn't exclude .emacs.d/eln-cache, so I found myself backing up hundreds of megabytes of ELN files.

In a related Reddit discussion, https://www.reddit.com/r/emacs/comments/mltaie/gccemacs_how_to_permanently_change_where_elncache , Steve Purcell wrote:

> Now that emacs honours xdg settings for finding its own config, might it make sense for the eln cache to move to the xdg cache directory?

And Eli Zaretskii responded:

> I don't think so, personally: the XDG spec says the XDG cache directory should hold "user-specific non-essential (cached) data files". The *.eln files don't fit that description: the user would like the files to persist.
>
> That said, feel free to submit a feature-request bug report about this, and let's see what others think about this.

FWIW, I had a quick look through my .cache folder, and it seems that chromium and Firefox both put compiled code in that folder (JS bytecode and compiled Webassembly files).





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN>
Subject: bug#48543: Acknowledgement (Feature request: put ELN cache in
 $XDG_CACHE_HOME by default)
Message-ID: <handler.48543.B.16215315268522.ack <at> debbugs.gnu.org>
References: <80f227b7-ee3e-3c5f-9fec-8aca8b315951@HIDDEN>
X-Gnu-PR-Message: ack 48543
X-Gnu-PR-Package: emacs
Reply-To: 48543 <at> debbugs.gnu.org
Date: Thu, 20 May 2021 17:26:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 48543 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
48543: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48543
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#48543: Feature request: put ELN cache in $XDG_CACHE_HOME by default
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 13 Jul 2022 12:10:03 +0000
Resent-Message-ID: <handler.48543.B48543.165771414727666 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 48543
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN>
Cc: 48543 <at> debbugs.gnu.org, Andrea Corallo <akrl@HIDDEN>
Received: via spool by 48543-submit <at> debbugs.gnu.org id=B48543.165771414727666
          (code B ref 48543); Wed, 13 Jul 2022 12:10:03 +0000
Received: (at 48543) by debbugs.gnu.org; 13 Jul 2022 12:09:07 +0000
Received: from localhost ([127.0.0.1]:44828 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oBbAx-0007CA-18
	for submit <at> debbugs.gnu.org; Wed, 13 Jul 2022 08:09:07 -0400
Received: from quimby.gnus.org ([95.216.78.240]:50944)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1oBbAv-0007BS-Rj
 for 48543 <at> debbugs.gnu.org; Wed, 13 Jul 2022 08:09:06 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: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=Hf4oo6NEWjEPpKNHqDJBy+ZN30lp6hTz83UoIiHBQ0U=; b=k/IXh4E9sf4Xgcr/D/KuNV/Ijw
 SilvPDtd0sY2heImPQy8YY6Yz/zRm5ujJaukZwv8rhgVZ2IcctX5lE+CI5Mrz19EroC1638GIpDsK
 /+DQawZT8qOod2f1JZBjtZ8FGfaedBsPh6MFCvZShwX7WtQ4q+40XyINEo/Sxd3/mgw8=;
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 <larsi@HIDDEN>)
 id 1oBbAm-0005nG-Qy; Wed, 13 Jul 2022 14:08:59 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <80f227b7-ee3e-3c5f-9fec-8aca8b315951@HIDDEN>
 ("=?UTF-8?Q?Cl=C3=A9ment?=
 Pit-Claudel"'s message of "Thu, 20 May 2021 13:25:18 -0400")
References: <80f227b7-ee3e-3c5f-9fec-8aca8b315951@HIDDEN>
X-Now-Playing: Pink Industry's _Is This The End?_: "Is This The End"
Date: Wed, 13 Jul 2022 14:08:56 +0200
Message-ID: <875yk1qko7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
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:  =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel <cpitclaudel@HIDDEN> writes: > By
   default the eln cache is stored in .emacs.d/eln-cache. Would it > make sense
    to store it in $XDG_CACHE_HOME/emacs/eln by default on > platforms that obey
    the XDG spec? 
 
 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 <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Cl=C3=A9ment Pit-Claudel <cpitclaudel@HIDDEN> writes:

> By default the eln cache is stored in .emacs.d/eln-cache.  Would it
> make sense to store it in $XDG_CACHE_HOME/emacs/eln by default on
> platforms that obey the XDG spec?

I think that makes sense.  Perhaps Andrea has some comments; added to
the CCs.

> And Eli Zaretskii responded:
>
>> I don't think so, personally: the XDG spec says the XDG cache
>> directory should hold "user-specific non-essential (cached) data
>> files". The *.eln files don't fit that description: the user would
>> like the files to persist.
>>
>> That said, feel free to submit a feature-request bug report about
>> this, and let's see what others think about this.
>
> FWIW, I had a quick look through my .cache folder, and it seems that
> chromium and Firefox both put compiled code in that folder (JS
> bytecode and compiled Webassembly files).

Since the .eln files are cached data, it seems like the right place to
put them.  Of course the user would like all (non-stale) cached data to
persist.

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#48543: Feature request: put ELN cache in $XDG_CACHE_HOME by default
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 13 Jul 2022 12:44:02 +0000
Resent-Message-ID: <handler.48543.B48543.16577161997147 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 48543
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 48543 <at> debbugs.gnu.org, cpitclaudel@HIDDEN, akrl@HIDDEN
Received: via spool by 48543-submit <at> debbugs.gnu.org id=B48543.16577161997147
          (code B ref 48543); Wed, 13 Jul 2022 12:44:02 +0000
Received: (at 48543) by debbugs.gnu.org; 13 Jul 2022 12:43:19 +0000
Received: from localhost ([127.0.0.1]:44909 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oBbi3-0001rD-4a
	for submit <at> debbugs.gnu.org; Wed, 13 Jul 2022 08:43:19 -0400
Received: from eggs.gnu.org ([209.51.188.92]:53308)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1oBbhq-0001q2-KP
 for 48543 <at> debbugs.gnu.org; Wed, 13 Jul 2022 08:43:18 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:51860)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1oBbhl-0004m7-1B; Wed, 13 Jul 2022 08:43:01 -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=RZiOoHbINj4cNRWSPQ96kEfyoAVkr35vB9tuaebXqEc=; b=HEvZxzc8/Fsy
 KV41/ZoYOfWJQjI2o+E5vc80BoGXfBK6gNFSPhP/mWwsVQQOgPxvdAtI1SlPCUWwletDuf/X7QJ60
 aCK3UB7zFJPyEPRTpFQvTCVR4LA1r34sgFMvyvIrLXPuPnTDlAY0WEprIl8dJ92yNPKekNyM3+VI2
 Hq9HVr1SsZgOAar/T7hS28oRtG/DuVoas70hQf5aav/VR9JY0l3s7GLEsHTswWpJRJXhks06WzP0n
 X69lncGXptKsGuNZFdEarAYGcdwS2qi9pA0nkQ4jFWNhxOiUtWlWjejR39jpUC8my681MT0M+IS8T
 Egj+hgosT6jNR9spzDx/Rw==;
Received: from [87.69.77.57] (port=1540 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1oBbhj-0002Nh-HO; Wed, 13 Jul 2022 08:42:59 -0400
Date: Wed, 13 Jul 2022 15:42:52 +0300
Message-Id: <834jzlw5df.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <875yk1qko7.fsf@HIDDEN> (message from Lars Ingebrigtsen on Wed, 
 13 Jul 2022 14:08:56 +0200)
References: <80f227b7-ee3e-3c5f-9fec-8aca8b315951@HIDDEN>
 <875yk1qko7.fsf@HIDDEN>
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: 48543 <at> debbugs.gnu.org, Andrea Corallo <akrl@HIDDEN>
> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Date: Wed, 13 Jul 2022 14:08:56 +0200
> 
> >> I don't think so, personally: the XDG spec says the XDG cache
> >> directory should hold "user-specific non-essential (cached) data
> >> files". The *.eln files don't fit that description: the user would
> >> like the files to persist.
> >>
> >> That said, feel free to submit a feature-request bug report about
> >> this, and let's see what others think about this.
> >
> > FWIW, I had a quick look through my .cache folder, and it seems that
> > chromium and Firefox both put compiled code in that folder (JS
> > bytecode and compiled Webassembly files).
> 
> Since the .eln files are cached data, it seems like the right place to
> put them.  Of course the user would like all (non-stale) cached data to
> persist.

So we prefer to hear more complaints about Emacs being slow to start
because the eln-cache was purged?  Don't forget that the XDG
directories can disappear without a warning.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#48543: Feature request: put ELN cache in $XDG_CACHE_HOME by default
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 13 Jul 2022 12:47:02 +0000
Resent-Message-ID: <handler.48543.B48543.165771636211325 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 48543
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 48543 <at> debbugs.gnu.org, cpitclaudel@HIDDEN, akrl@HIDDEN
Received: via spool by 48543-submit <at> debbugs.gnu.org id=B48543.165771636211325
          (code B ref 48543); Wed, 13 Jul 2022 12:47:02 +0000
Received: (at 48543) by debbugs.gnu.org; 13 Jul 2022 12:46:02 +0000
Received: from localhost ([127.0.0.1]:44930 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oBbkf-0002wD-8c
	for submit <at> debbugs.gnu.org; Wed, 13 Jul 2022 08:46:01 -0400
Received: from quimby.gnus.org ([95.216.78.240]:51434)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1oBbke-0002pk-6A
 for 48543 <at> debbugs.gnu.org; Wed, 13 Jul 2022 08:46:00 -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=GcVB4H8EmwaLivIMnC/HV13vtm3mYd6HxXarUdz4KVs=; b=OSU0ICwa1cu3FmVdL4/2p4iY1/
 7MesZZs0LrHifzVJQ9blgRAldZgCLeuwwf9yeZHP32x5oKrlFFVn70G3As1xNEMXRdPOwY8015mOs
 yR3UGBbOJuqRRSo1EXKrzdKfxP2mx2R+ehdauLLkp8RUY7Y2wXopf5m/vBKy3eGnNxkE=;
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 <larsi@HIDDEN>)
 id 1oBbkU-00067N-PF; Wed, 13 Jul 2022 14:45:53 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <834jzlw5df.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 13 Jul
 2022 15:42:52 +0300")
References: <80f227b7-ee3e-3c5f-9fec-8aca8b315951@HIDDEN>
 <875yk1qko7.fsf@HIDDEN> <834jzlw5df.fsf@HIDDEN>
X-Now-Playing: Black Midi's _The Black Midi Anthology Vol. 1: Tales of
 Suspense and Revenge_: "Out of Season by Ernest Hemingway"
Date: Wed, 13 Jul 2022 14:45:49 +0200
Message-ID: <878roxp4ea.fsf@HIDDEN>
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 <eliz@HIDDEN> writes: >> > FWIW, I had a quick
 look through my .cache folder, and it seems that >> > chromium and Firefox
 both put compiled code in that folder (JS >> > bytecode and compiled
 Webassembly files). >> >> Since [...] 
 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 <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

>> > FWIW, I had a quick look through my .cache folder, and it seems that
>> > chromium and Firefox both put compiled code in that folder (JS
>> > bytecode and compiled Webassembly files).
>> 
>> Since the .eln files are cached data, it seems like the right place to
>> put them.  Of course the user would like all (non-stale) cached data to
>> persist.
>
> So we prefer to hear more complaints about Emacs being slow to start
> because the eln-cache was purged?  Don't forget that the XDG
> directories can disappear without a warning.

This doesn't seem to worry the Chromium etc people, so I don't think it
should worry us.  

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





Last modified: Wed, 13 Jul 2022 13:00:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.