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: Fri, 10 Feb 2023 10:46:57 +0200 Message-ID: <83357dlxfi.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> <83lell73yv.fsf@gnu.org> <87sffo3as7.fsf@melete.silentflame.com> <83v8kkxzzx.fsf@gnu.org> <87r0v811pm.fsf@melete.silentflame.com> <87cz6nxdqy.fsf@X570GP> <87r0uzcnam.fsf@X570GP> <83k00rmg2j.fsf@gnu.org> <87h6vuj697.fsf@X570GP> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38277"; mail-complaints-to="usenet@ciao.gmane.io" Cc: akrl@sdf.org, spwhitton@spwhitton.name, monnier@iro.umontreal.ca, emacs-devel@gnu.org, larsi@gnus.org, rlb@defaultvalue.org To: Aymeric Agon-Rambosson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 10 09:47:48 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 1pQP4O-0009mk-Lz for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Feb 2023 09:47:48 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQP49-00032q-P7; Fri, 10 Feb 2023 03:47:33 -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 1pQP48-00032f-Cm for emacs-devel@gnu.org; Fri, 10 Feb 2023 03:47:32 -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 1pQP47-0007fB-6N; Fri, 10 Feb 2023 03:47:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=hTwylHM4GWP3c7G3s9A25WZI6GhaJG0Osif4NniLZc4=; b=AJPdJ4HagK2a6JyFGL3O pJ1/ETecPDCaf4ZMJOadqFLZGUgxSRT1R5D1KIZIiwMLrae92MD48Fs5PjLIlIoLS5D9Sb/edXCw+ WjKTy0FX1Ie6t6Z7U9d8IgbPOIiexlTG7HEzLGzqzXqH/0Fn/KeGgHzlcdZmiSVoEhiHJplGUcxwl XRh5K/oysTKv7ygDQm9/KOJkQZhOu7jn2Pl9qURa+hC8uBtodyOeQS+vAff9lzqFl6TkSxyAQuqCp PnLeX+S1Ogz0wicx9VWWl2dtIkraqSbcozC+GSx4BaQCUObAVXGWvc1gmhWnRtXpdBga73YMAM7g2 kRcsfrjQEV6jqw==; 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 1pQP46-00018r-FR; Fri, 10 Feb 2023 03:47:30 -0500 In-Reply-To: <87h6vuj697.fsf@X570GP> (message from Aymeric Agon-Rambosson on Fri, 10 Feb 2023 09:04:36 +0100) 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:303102 Archived-At: > From: Aymeric Agon-Rambosson > Cc: akrl@sdf.org, spwhitton@spwhitton.name, monnier@iro.umontreal.ca, > emacs-devel@gnu.org, larsi@gnus.org, rlb@defaultvalue.org > Date: Fri, 10 Feb 2023 09:04:36 +0100 > > > Le jeudi 9 février 2023 à 09:52, Eli Zaretskii a > écrit : > > > Are you saying that it is not selective enough, and that in > > some cases you needed to disable only trampolines for specific > > subrs? > > This is already possible with the variable > `native-comp-never-optimize-functions'. > > This is what we've used for the cases I've presented. For > projectile for instance : > > (with-eval-after-load 'comp > (push 'insert-file-contents > native-comp-never-optimize-functions)) Thanks, I'm aware of the variable, but didn't think its effects included trampolines. I guess we need to update the doc string. Andrea, WDYT?