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.help Subject: Re: limit native compilation - how Date: Sat, 15 Jan 2022 17:58:07 +0200 Message-ID: <83sftpyos0.fsf@gnu.org> References: <8735lp57kl.fsf@yandex.com> 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="33757"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 15 16:59:43 2022 Return-path: Envelope-to: geh-help-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 1n8lSw-0008eP-L0 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 16:59:42 +0100 Original-Received: from localhost ([::1]:58904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8lSv-0005kk-OK for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 10:59:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8lRi-0005kR-57 for help-gnu-emacs@gnu.org; Sat, 15 Jan 2022 10:58:27 -0500 Original-Received: from [2001:470:142:3::e] (port=60324 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 1n8lRh-0002Qu-Pk for help-gnu-emacs@gnu.org; Sat, 15 Jan 2022 10:58:25 -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=Xp1OjxgZ9pH7NpuUnkJXALtRxaGGdRpS4OJIpzXqq1g=; b=qkgeD/myl0H2l3gDhLs+ b3KoAA+OOZlZXKP9P0v+YMr6gf6ICWAbVYPLkFDlofPa4A5IkK8nSZQquO8d3vS3duVt5R6fTAq9u xSzFae8W9COhANn70eD5EjRgXI6dlh+AHF+ZqwzqJId+wJrOqksYElcHp2XB+gF+7o65WGxVrEv4Y 1poH3Pz23AjB2PYljlz7x8NCVMNzDI9JqePs5d+o6p8bJVFUucVGaLw2Z8aLb2MaYcSTvDBMulgCI gnfdOlUYccrLB2nCisLaTgdDU8XF2nRFq29Ao4ox2VD7rin8kSqExB7rU8Q00dRehYtt4oErH+/PT c2pp/ktjmmWY6A==; Original-Received: from [87.69.77.57] (port=4616 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 1n8lRg-0003EE-7M for help-gnu-emacs@gnu.org; Sat, 15 Jan 2022 10:58:26 -0500 In-Reply-To: <8735lp57kl.fsf@yandex.com> (message from Colin Baxter =?utf-8?Q?=F0=9F=98=BA?= on Sat, 15 Jan 2022 15:42:34 +0000) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135329 Archived-At: > From: Colin Baxter 😺 > Date: Sat, 15 Jan 2022 15:42:34 +0000 > > > I want to limit native compilation to emacs' own libraries and not > include any of my own lisp files. I tried a .dir-locals.el file > > --8<---------------cut here---------------start------------->8--- > ((emacs-lisp-mode . > ((eval: (setq no-native-compile t))))) > --8<---------------cut here---------------end--------------->8--- > > in the directory I want native compilation to avoid. That didn't > work. Perhaps I can't see the wood for the trees, but I don't understand > what's wrong with the .dir-locals. Can anyone help? Did you try to customize native-comp-deferred-compilation-deny-list?