From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin McLear Newsgroups: gmane.emacs.bugs Subject: bug#53891: 29.0.50; native comp eln cache Date: Wed, 09 Feb 2022 23:46:30 -0500 Message-ID: <1854E6ED-B985-43C2-A971-A3322CC1B7F0@fastmail.com> References: <50BDF7A0-8309-4B39-A26B-75BBB72017F5@fastmail.com> <83tud8uovj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_582C268D-AF7A-4CE9-AC7B-A1EB5B64C7E9_=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29144"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 53891@debbugs.gnu.org To: "Eli Zaretskii" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 10 05:47:27 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 1nI1Mb-0007ME-II for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 05:47:27 +0100 Original-Received: from localhost ([::1]:60476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nI1MZ-00027t-VC for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Feb 2022 23:47:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI1ME-00027W-P9 for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 23:47:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59374) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nI1ME-0002I5-F1 for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 23:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nI1ME-0000Uy-2z for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 23:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Colin McLear Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Feb 2022 04:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53891 X-GNU-PR-Package: emacs Original-Received: via spool by 53891-submit@debbugs.gnu.org id=B53891.16444683991883 (code B ref 53891); Thu, 10 Feb 2022 04:47:01 +0000 Original-Received: (at 53891) by debbugs.gnu.org; 10 Feb 2022 04:46:39 +0000 Original-Received: from localhost ([127.0.0.1]:53271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nI1Lr-0000UI-HQ for submit@debbugs.gnu.org; Wed, 09 Feb 2022 23:46:39 -0500 Original-Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:55839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nI1Lq-0000U0-0u for 53891@debbugs.gnu.org; Wed, 09 Feb 2022 23:46:38 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 335DF3200C6B; Wed, 9 Feb 2022 23:46:32 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 09 Feb 2022 23:46:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; bh=7pg3iMdevUtNqvwEGF1g0m0NnGNVmYHHtxFq5O OGhmo=; b=FECcHqM17OJWk6y+1VaVKxhhaZCTXd+8n6zh/maPnZsj5TU7+3s3K8 JfNsQkpIkDJy9ZSyinvdhv8uvL8JM5cK1AsQzVTClh3ELb4scrfDo3Ga9Q4k2LQt TQbTBtt4y96FmQyA0p+NaEGF+lbbhFy+mQQXjoL226GCr7vL6KgPe+PGnKMiyiFo h1m2vy1bI2wj80LjffFg+Q0ORQbHWMEhBQBjCTeOwH0zdBoaBcf6/24qnhT7JsH0 maFHVb5tdwkd5Q6gBMZDeqMyFi5Gf/k8226EstHGxtsZ1YaxcUVEusiIeHLb/VL7 5m4Hx1DCA5dQpw+axhLngzOSLbLD6ctg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=7pg3iMdevUtNqvwEG F1g0m0NnGNVmYHHtxFq5OOGhmo=; b=bAiCRFnp2x/VahaWEeVVUjhc5PgwZEUrb 1nMtHFJoi9+4kTM1JkNxBN/0l8LyQ/oTT6vmNWQbJM+yaD+jJD4SPWIX0dQ46uni 0Uxk4NhZO2zN+C/xMVG77Z+mCtWGsvA+TVbuPAM9oTS/PBwABa+oVlUV9i2Ullrs zW2+4qQH56Ak9ISEFgtDyO0O/c/o0uKzYYpuriXz+5Xnay9jbf00WdjKigneFa/7 8cfkI+gHuZ8sVDgbd+8vb/em9KhwRyGCmHSu2aRC6TgRh1rQYBLhW+Ikd2DGAnFF hXFh0pTgHMkzKbPZJ++jLMJcP8DeE62Vm9RCV/X6KvLUtDZ/s7qAg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddriedtgdejvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffokfgjfhggtgesrgdtmherredtjeenucfhrhhomhepveholhhinhcu ofgtnfgvrghruceomhgtlhgvrghrsehfrghsthhmrghilhdrtghomheqnecuggftrfgrth htvghrnhepvddvtddtleetieejieeuvdegtdefteeutdffhfekhfejffdujeegueehveff hfeunecuffhomhgrihhnpegtohhnvhgvrhhtqdhsthgrnhgurghrugdqfhhilhgvnhgrmh gvrdhlohgtrghlpdgtohhlihhnmhgtlhgvrghrrdhnvghtnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgtlhgvrghrsehfrghsthhmrghilh drtghomh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 9 Feb 2022 23:46:31 -0500 (EST) X-Mailer: MailMate (1.13.2r5673) In-Reply-To: <83tud8uovj.fsf@gnu.org> 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:226522 Archived-At: --=_MailMate_582C268D-AF7A-4CE9-AC7B-A1EB5B64C7E9_= Content-Type: text/plain; format=flowed Sounds good -- thank you. Let me know if I can provide any other useful information. On 9 Feb 2022, at 8:54, Eli Zaretskii wrote: >> From: Colin McLear >> Date: Tue, 08 Feb 2022 23:10:24 -0500 >> >> On recent version from emacs-master I've noticed that I can no longer >> reliably set the eln-cache. I have the following in my early-init.el: >> >> ``` >> ;; Dir for eln-cache >> (when (boundp 'native-comp-eln-load-path) >> (setcar native-comp-eln-load-path >> (expand-file-name (convert-standard-filename >> ".local/temp/cache/eln-cache/") >> user-emacs-directory))) >> >> ;; Silence nativecomp warnings popping up >> (setq native-comp-async-report-warnings-errors nil) >> >> ;; Settings >> (setq native-comp-speed 2 >> native-comp-deferred-compilation t >> package-native-compile t) >> ``` >> But this isn't reliably setting the cache and I've had to rever to an >> earlier commit where things worked (as reported in the versio info). > > This was never supported. That it used to work for you was just luck. > > Since it sounds like people want to divert the eln-cache directory to > custom places, something we didn't envision, we should support it > correctly: by making the "eln-cache" directory name customizable > instead of hard-coded. > > I will work on adding such a feature. Please stay tuned. __ Colin McLear colinmclear.net --=_MailMate_582C268D-AF7A-4CE9-AC7B-A1EB5B64C7E9_= Content-Type: text/html Content-Transfer-Encoding: quoted-printable
<= p dir=3D"auto">Sounds good -- thank you. Let me know if I can provide any= other useful information.


On 9 Feb 2022, at 8:54, Eli Zaretskii wrote:

From: Colin McLear <mclear@fastmail.com>
Date: Tue, 08 Feb 2022 23:10:24 -0500

On recent version from emacs-master I've noticed that I can no longer
= reliably set the eln-cache. I have the following in my early-init.el:
=
```
;; Dir for eln-cache
(when (boundp 'native-comp-eln-load-path)
(setcar native-comp-eln-load-path
(expand-file-name (convert-standard-filename ".local/temp/cache/eln-cache= /")
user-emacs-directory)))

;; Silence nativecomp warnings popping up
(setq native-comp-async-report-warnings-errors nil)

;; Settings
(setq native-comp-speed 2
native-comp-deferred-compilation t
package-native-compile t)
```
But this isn't reliably setting the cache and I've had to rever to an
= earlier commit where things worked (as reported in the versio info).

This was never supported. That it used to w= ork for you was just luck.

Since it sounds like people want to divert the eln-cache directory to
= custom places, something we didn't envision, we should support it
correctly: by making the "eln-cache" directory name customizable
instead of hard-coded.

I will work on adding such a feature. Please stay tuned.

__


Colin McLear
c= olinmclear.net

--=_MailMate_582C268D-AF7A-4CE9-AC7B-A1EB5B64C7E9_=--