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#53891: 29.0.50; native comp eln cache Date: Wed, 09 Feb 2022 15:54:24 +0200 Message-ID: <83tud8uovj.fsf@gnu.org> References: <50BDF7A0-8309-4B39-A26B-75BBB72017F5@fastmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6958"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 53891@debbugs.gnu.org To: Colin McLear Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 09 15:12:23 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 1nHnhn-0001dm-KX for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Feb 2022 15:12:23 +0100 Original-Received: from localhost ([::1]:46972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHnhm-0007e0-Go for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Feb 2022 09:12:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHnRy-0005lt-E6 for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 08:56:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56366) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHnRy-00073C-28 for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 08:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHnRy-0007zL-0n for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 08:56: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: Wed, 09 Feb 2022 13:56: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.164441491930652 (code B ref 53891); Wed, 09 Feb 2022 13:56:01 +0000 Original-Received: (at 53891) by debbugs.gnu.org; 9 Feb 2022 13:55:19 +0000 Original-Received: from localhost ([127.0.0.1]:50263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHnRG-0007yK-O5 for submit@debbugs.gnu.org; Wed, 09 Feb 2022 08:55:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHnRE-0007y2-7h for 53891@debbugs.gnu.org; Wed, 09 Feb 2022 08:55:17 -0500 Original-Received: from [2001:470:142:3::e] (port=57346 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHnQX-0006VX-Ci; Wed, 09 Feb 2022 08:55:09 -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=gWfNxtxcXfAMqE0E75BkIcsouu/w7PDDZNrKZRwyec0=; b=f5lJicVA+v0+ 21NuyLajs6w6uvnOjkwaGLXaD48m37rNKusDCuWWD2jiCaR4ZlMBwfHU/ntdmOidNtvryQWRUju9f OEb4xCLt7mfCIsZ8Gd1VsHBEa+NtMDgEepz4H7XRzXoQ1yCl9t/bVz+hwrXkHuJZKpEt45uuucFZf OMjIWKIe5EKnytEAGe2Rvcoym99qFWFYK1aT6nb9aa7dWzX73Qj13Ve07bjqgBryC71rIxd5+T9vv l2/M2TI7wapEdNEVxM4XrUjtb3/QWlaSkI4olRC4qg7VdTnAlL6dGUu3ZLL3FxUFHbHE0N+LNIJa0 R0j4lHDWfT2SKnAcSEyMpg==; Original-Received: from [87.69.77.57] (port=2542 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 1nHnQW-0008JX-Ek; Wed, 09 Feb 2022 08:54:32 -0500 In-Reply-To: <50BDF7A0-8309-4B39-A26B-75BBB72017F5@fastmail.com> (message from Colin McLear on Tue, 08 Feb 2022 23:10:24 -0500) 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:226482 Archived-At: > 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.