From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#48543: Feature request: put ELN cache in $XDG_CACHE_HOME by default Date: Wed, 13 Jul 2022 18:39:16 +0530 Message-ID: <87y1wxgnwj.fsf@gmail.com> References: <80f227b7-ee3e-3c5f-9fec-8aca8b315951@gmail.com> <875yk1qko7.fsf@gnus.org> <834jzlw5df.fsf@gnu.org> <878roxp4ea.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6645"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 48543@debbugs.gnu.org, Eli Zaretskii , cpitclaudel@gmail.com, akrl@sdf.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 13 15:19:49 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 1oBcHN-0001Xe-9K for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 15:19:49 +0200 Original-Received: from localhost ([::1]:40334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBcHM-0002vf-7V for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jul 2022 09:19:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBc7u-0005on-83 for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 09:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51116) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBc7t-0006QD-UW for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 09:10:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBc7t-0006zR-M9 for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2022 09:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jul 2022 13:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48543 X-GNU-PR-Package: emacs Original-Received: via spool by 48543-submit@debbugs.gnu.org id=B48543.165771776626820 (code B ref 48543); Wed, 13 Jul 2022 13:10:01 +0000 Original-Received: (at 48543) by debbugs.gnu.org; 13 Jul 2022 13:09:26 +0000 Original-Received: from localhost ([127.0.0.1]:45013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBc7K-0006yW-JA for submit@debbugs.gnu.org; Wed, 13 Jul 2022 09:09:26 -0400 Original-Received: from mail-pj1-f68.google.com ([209.85.216.68]:45706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBc7J-0006yJ-1e for 48543@debbugs.gnu.org; Wed, 13 Jul 2022 09:09:25 -0400 Original-Received: by mail-pj1-f68.google.com with SMTP id q5-20020a17090a304500b001efcc885cc4so3525040pjl.4 for <48543@debbugs.gnu.org>; Wed, 13 Jul 2022 06:09:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :user-agent:mime-version:content-transfer-encoding; bh=1cqmHVow1aSIqF6B/NVq1BS4DBEZMSqx+FSau5W2GMA=; b=jKCOnC8yXBm5A3kBtScSgyb4fpGld0LSKn/+RaXFCMxwn80o255W2zbV6v3vcwDF14 wpTVH9Y+JxS5OMvHHCYmkh2SUHw41w59Lm3xATb4zU5EYSlxsvlglx8GP39PEN2B+TEY XdVoCsgypKGqxDdv0WYljRsduMuepM2kOpfz37VFdbBBhYrjK1R7O8OQdFv1AGK6rZH+ bs6o5ZsVN2hkJV67PhmVjyVzsyvK9NxsxZXgeETVGYu1OZHtJv/VylJMSsHZM7wzaPk1 UYQvVYtFbF/LbZBlDfREucrZQaOnEMFC1PHzp8/Im+PYJyo+l5xfANxYrpWISP08fvPP 81ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:user-agent:mime-version:content-transfer-encoding; bh=1cqmHVow1aSIqF6B/NVq1BS4DBEZMSqx+FSau5W2GMA=; b=WDKT5qOFlGFIrcb5+wbIa/oQSFyDNj/eS1ERnfur1bC6/fsiHd7RPYK1dRDyQa1Vnh aCu1WZaiUIuPk8Cyy63FozPLYH39l+B8Hfuh49KNHVxOHEbmgRYh3e3asvLZJzYv+vhG fNWz9Q+mQHrnK6PxsJTrsPu46fmqPqFShs3CFki/LG7CHV9/Ttpgq9xhvMZk+X84wyIy R5zaH4TAQE0R09gpkjoY9xND4BChp2sQdIA/1oHYwWEyHkpwu128GDl6K7yHheFA1lPS eWdFwtmUFkIoK4EmzELVzwOCCTDMmcLgFeKixMLgkBqNbnF5T1nVrVw5Ahbx9j/DGRpv 4SKA== X-Gm-Message-State: AJIora/L2amJWD5CRJIo01Pw6Uxc0/GN5odHbOYr0B58wztiGqy/2R+R pRWksFYsXrDux4viPUgl3GU= X-Google-Smtp-Source: AGRyM1ua+JoidQbAiVZKtB0KqJEFNvbOo7y0KEP1eO1NKDiEIcennfnU+Cw6M912wwAQG4uIWTD4UA== X-Received: by 2002:a17:90a:fb8d:b0:1ef:8d22:35e with SMTP id cp13-20020a17090afb8d00b001ef8d22035emr9788001pjb.229.1657717759583; Wed, 13 Jul 2022 06:09:19 -0700 (PDT) Original-Received: from localhost ([49.204.129.90]) by smtp.gmail.com with ESMTPSA id i5-20020a1709026ac500b0015f2b3bc97asm8790911plt.13.2022.07.13.06.09.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jul 2022 06:09:18 -0700 (PDT) In-Reply-To: <878roxp4ea.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 13 Jul 2022 14:45:49 +0200") 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" Xref: news.gmane.io gmane.emacs.bugs:236890 Archived-At: [=E0=AE=AA=E0=AF=81=E0=AE=A4=E0=AE=A9=E0=AF=8D =E0=AE=9C=E0=AF=82=E0=AE=B2= =E0=AF=88 13, 2022] Lars Ingebrigtsen wrote: > Eli Zaretskii 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). >>>=20 >>> 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.=20=20 Why not use XDG_DATA_HOME in that case? It doesn't get cleared I think.