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.devel Subject: Re: Possibly defaulting native-compile-target-directory to XDG_CACHE_HOME/... Date: Sat, 17 Dec 2022 20:04:13 +0200 Message-ID: <838rj5hppe.fsf@gnu.org> References: <871qozyj6i.fsf@trouble.defaultvalue.org> <83y1r6grl1.fsf@gnu.org> <875yeaexk5.fsf@trouble.defaultvalue.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9689"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Rob Browning Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 17 19:04:58 2022 Return-path: Envelope-to: ged-emacs-devel@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 1p6bYP-0002JP-Sc for ged-emacs-devel@m.gmane-mx.org; Sat, 17 Dec 2022 19:04:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6bXm-0005zS-GU; Sat, 17 Dec 2022 13:04:18 -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 1p6bXg-0005zB-7j for emacs-devel@gnu.org; Sat, 17 Dec 2022 13:04:12 -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 1p6bXd-00006y-Sj; Sat, 17 Dec 2022 13:04:11 -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=fa+Qrzraffsg1xRQfoDdYQSMpieUXHz/bTtM6Oi1WUc=; b=VhECmPf9W1AN Jbsc9DPxue4FwjTZ3ETd5rIvHGwtNlf59YKYFwYvBg6kbsTaDfvvkYdo9SlgmXLomppzAZ/9BPCLe ltIqo0lwk74mxYFW4YXYtNCdRSp6GixgXCvz4qI519Et7aJM5BXTSyQCwNlbnhzyumQpeMSx441uC WVEUr6TfHkQbp4iqELjEVDubU0yIfXk4vfnb9GLH7WWNGdzLik+ahxHzQ/z/6OKQf51QEMGL8xn/d GQhgglTBvuwLQpIhKCvolWFW7Qs9HZLST1QVvEL319HvaImP1CCAljr2OcN5fllj6oUYe5ltsqv9+ oSPVRMPMrgiYbsjGZMlAPA==; 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 1p6bXb-0000jK-Hk; Sat, 17 Dec 2022 13:04:09 -0500 In-Reply-To: <875yeaexk5.fsf@trouble.defaultvalue.org> (message from Rob Browning on Sat, 17 Dec 2022 11:42:50 -0600) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301577 Archived-At: > From: Rob Browning > Cc: emacs-devel@gnu.org > Date: Sat, 17 Dec 2022 11:42:50 -0600 > > Eli Zaretskii writes: > > >> From: Rob Browning > > >> I can't recall from previous discussions whether that crash would be > >> considered a bug, or whether emacs just requires a writable cache dir > >> now (which is fine if so). > > > The latter, AFAIU. > > OK, so then until/unless Emacs supports some way to redirect that from > HOME (like XDG_CACHE_HOME or something), then I suppose that means that > an Emacs with native compilation no longer intends to support a > read-only (or missing) HOME. I don't see how this follows from what I said. There should be a writable directory, but it doesn't have to be under HOME. You can change the value of native-comp-eln-load-path to have there any directories you like. We've been through this during the previous discussion, I believe. Or what am I missing?