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: Tue, 14 Feb 2023 15:11:45 +0200 Message-ID: <83bklwe6i6.fsf@gnu.org> References: <837cx8cey0.fsf@gnu.org> <83pmaddj5e.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22837"; mail-complaints-to="usenet@ciao.gmane.io" Cc: akrl@sdf.org, emacs-devel@gnu.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 Tue Feb 14 14:12:57 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 1pRv79-0005jU-0t for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Feb 2023 14:12:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRv6Q-0005OI-P6; Tue, 14 Feb 2023 08:12:10 -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 1pRv6O-0005Nj-KA for emacs-devel@gnu.org; Tue, 14 Feb 2023 08:12:08 -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 1pRv6N-000367-BI; Tue, 14 Feb 2023 08:12:07 -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=vyGrbvnfJOGOA/EqsgVweP94UwJqC2nqv31pQhXk1zo=; b=EGkTKQe8uOVL bqtlgG9eZrU23On08BPqTcl/t/tgI4gp/qqEa5GLXZ7P1axnAREX/7g+kqO29IUSzP9KiUKdUS5yf aTmGsTKaFar6qcKhS8l7GShRTZ98QI7NU2V+sWVtKIWuxnzRc9MUf9j/L8sierA6jCxRb888e+L4c pBD+r7SBrvu+UWOW6jPR0g9kWF7Suzu3y3y5buOW3yStw8PbPbS8zr0odzIM2YtcWPaRhHV+/W7vO bsnfHJZtpvNPaEyTTYfiTaQ1ZFgocgsOu0HIageAqqilWEMD62pb5gsRNPfaTVaZApoNfMvhtzB3u qXL2qZKSa/dCGElzPkrflg==; 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 1pRv6M-0001mP-P6; Tue, 14 Feb 2023 08:12:07 -0500 In-Reply-To: (message from Stefan Monnier on Mon, 13 Feb 2023 22:31:08 -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:303271 Archived-At: > From: Stefan Monnier > Cc: Andrea Corallo , emacs-devel@gnu.org, larsi@gnus.org, > rlb@defaultvalue.org > Date: Mon, 13 Feb 2023 22:31:08 -0500 > > > If we do this, any reasons not to do that also for any other .eln > > files, not just trampolines? > > Generating&using trampolines is necessary for correct execution. > In contrast other `.eln` affect only performance. > > Generating files in `temporary-file-directory` is definitely not ideal, > so I'd rather limit it to the cases where it's necessary for correctness. If by this you mean that we should not allow comp-enable-subr-trampolines to have a string value, meaning the directory to place the trampolines, then I think we should, since that can support use cases other than unwritable home directory.