From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#58509: 29.0.50; Synchronous nativecomp Date: Fri, 14 Oct 2022 13:13:40 +0200 Message-ID: <87ilkmbqu3.fsf@gnus.org> References: <87a65yd715.fsf@gnus.org> <83mt9y8ynk.fsf@gnu.org> <87zgdybrnc.fsf@gnus.org> <83lepi8y4l.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36697"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58509@debbugs.gnu.org, akrl@sdf.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 14 13:14:23 2022 Return-path: Envelope-to: geb-bug-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 1ojIdz-0009Ga-DN for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Oct 2022 13:14:23 +0200 Original-Received: from localhost ([::1]:40028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojIdx-0007XU-VK for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Oct 2022 07:14:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojIde-0007Ui-Sx for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 07:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36851) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojIde-0007R2-EY for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 07:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ojIde-0005Xe-9J for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 07:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Oct 2022 11:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58509 X-GNU-PR-Package: emacs Original-Received: via spool by 58509-submit@debbugs.gnu.org id=B58509.166574603721282 (code B ref 58509); Fri, 14 Oct 2022 11:14:02 +0000 Original-Received: (at 58509) by debbugs.gnu.org; 14 Oct 2022 11:13:57 +0000 Original-Received: from localhost ([127.0.0.1]:35929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojIdZ-0005XC-5n for submit@debbugs.gnu.org; Fri, 14 Oct 2022 07:13:57 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:45216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojIdX-0005Wu-4P for 58509@debbugs.gnu.org; Fri, 14 Oct 2022 07:13:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ku1+w+y3RramwVqVawGmb30jKHm63sF8WanniRBnV24=; b=M3eIunBqRnZLpfX8w2FkKApAC1 zv/NMnNJ2dW1+YdYcb+BGK7KO0hjzfedw7Ja21nSxVvlPCK97z1K7f9uS6I8rdzIhABDJrxDnOza/ l1pZHUIE3UBOKEIxkstjGvKsM3DNF2IlGq5TAKz1v8O+0bMpT79c9VzDkBBqmGIVpoE0=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ojIdI-0005N2-Q2; Fri, 14 Oct 2022 13:13:43 +0200 In-Reply-To: <83lepi8y4l.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 14 Oct 2022 14:04:26 +0300") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUtOohUX543RI8d K4Jpcaf///89eE6PAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YKDgo2LWfydXsAAAF9SURBVDjLlZSN ccMgDIUF7gBIYQBBOkDqLhB83n+mPvET4ybpXe27CFvofTyBQ+SyCyo5eRey4E7ZBguRUxdIyBIe M7xThLAQZqQ2sQbuAyWOXK8eig0KbkjhMXFgSiIYJTwKB2PEDy73zSZuG3/yzrHskEIictx4l4IL L2NP5C4VQ2ck+5ng/TU3OBtcvapooqRYpWSXPQzSSOREEWQ2Q5bQljDnxOWz7FtzbvC/nZcReHJO kAqQahpdqsJdXRXeQIG9wbXBRyJvYhWvEgEVri/3gEcu5dT2WgH4qgFb6c8GsSqPmSXIw2CtqHu+ 72XviVYxfKx6uWCGJRBObS9z2+0cjV7J0as8tyTfzy2hDkdLhkFtFetoIoUZ/uaiaYckTeHXfkxS zXmo8GmjZviXhfwPeAIV59wOrLSTSOvVpG5rl6IBp1dwmuD+7PzNSczPqzo+g8XgC+DX1/DnljTL T21/U+HP8HL8E1SpSr0NqQNeEwejJ75HRVvDI/ED2wdVdiJRlzIAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjItMTAtMTRUMTA6NTQ6NDUrMDA6MDAn/d/jAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTEw LTE0VDEwOjU0OjQ1KzAwOjAwVqBnXwAAAABJRU5ErkJggg== X-Now-Playing: Xeno & Oaklander's _Par Avion_: "Nuage d'Ivoire" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245401 Archived-At: Eli Zaretskii writes: >> `batch-native-compile' just calls `byte-compile-file' on the command >> line arguments. > > It does? I see this: > > (cl-loop for file in command-line-args-left > if (or (null byte+native-compile) > (cl-notany (lambda (re) (string-match re file)) > native-comp-bootstrap-deny-list)) > collect (comp--native-compile file) <<<<<<<<<<<<<<<<<<<<<< > else > collect (byte-compile-file file)))) > > What did I miss? Sorry, I meant "it just calls comp--native-compile on the command line arguments". Which is irrelevant for the proposed use case, which is enabling normal opportunistic .eln generation, but synchronously. I.e., if you say emacs --batch --native-comp -l foo and foo requires bar, then bar should be native-compiled before being used. So I'm not sure why you're bringing up batch-native-compile at all -- it seems irrelevant, but perhaps I'm missing something?