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: Finalizing 'inhibit-automatic-native-compilation' Date: Sun, 29 Jan 2023 17:30:48 +0200 Message-ID: <83lell73yv.fsf@gnu.org> References: <837cx8cey0.fsf@gnu.org> <83357vauh5.fsf@gnu.org> <837cx6a8me.fsf@gnu.org> <83357ua6ja.fsf@gnu.org> <83zga28ra8.fsf@gnu.org> <83r0vd97s0.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18140"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, akrl@sdf.org, larsi@gnus.org, rlb@defaultvalue.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 29 16:31:41 2023 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 1pM9ee-0004Zx-BX for ged-emacs-devel@m.gmane-mx.org; Sun, 29 Jan 2023 16:31:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pM9e1-0001K0-4C; Sun, 29 Jan 2023 10:31:01 -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 1pM9dy-0001IH-8v for emacs-devel@gnu.org; Sun, 29 Jan 2023 10:30:59 -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 1pM9dx-00058h-OD; Sun, 29 Jan 2023 10:30:57 -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=J2OABclVivDxCCK06At1TU2JorNyWMj+XZ5sA0pplOI=; b=Qs4H3f7vqrpT hageTZ4B88KW7zj1hBuUvQyiXd3u60H2iz6E4n+pskNh67f6aJ6UZBGGVeFdT39IaEB0L8x1Gk1Sz 8/xlwVfXw8TKW8U3VJFxxU3Wk5rAsCGOex6/7ywwg97OyYNZuMIcKRmReOGdsQtQQfitcD/NEnWcL PjR95zXz/hL5Qu9hHGOgf2Ix2qJSBMR5j4tKQs08bAuJTtd/5az111fskamrKcyznbU6z1Ua4RwIW ax47RbSygYJKYyhCE7z3gLVcQzLYxfwFcpJElgLqccIzEipjYZd9BdFRvweTrFdH7HHhhHX9i4YhM ofnMPuk0pYoRxJfuh8dAUA==; 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 1pM9dw-0002NG-JD; Sun, 29 Jan 2023 10:30:57 -0500 In-Reply-To: (message from Stefan Monnier on Sun, 29 Jan 2023 09:58:26 -0500) 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:302749 Archived-At: > From: Stefan Monnier > Cc: emacs-devel@gnu.org, akrl@sdf.org, larsi@gnus.org, rlb@defaultvalue.org > Date: Sun, 29 Jan 2023 09:58:26 -0500 > > > IMO, the "no writable eln-cache" scenario should be solved by tweaking > > native-comp-eln-load-path to include a writable directory. That > > writable directory could be temporary-file-directory, or it could be > > anything else, but it should be specified by the caller/user, not > > pulled out of our hat behind the scenes. > > That's where I disagree: when it comes to trampolines I think users > would be better served if we silently used an eln-cache in > `temporary-file-directory` rather than ignoring the subr's redefinition > (usually due to an advice). Why? in the Debian use case all they care about is that the file is not written to HOME, and my proposal doesn't break that. The trampoline isn't needed in their scenario, so there's no reason to generate it.