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.bugs Subject: bug#58509: 29.0.50; Synchronous nativecomp Date: Sun, 23 Oct 2022 14:43:42 +0300 Message-ID: <83lep6sr2p.fsf@gnu.org> References: <87a65yd715.fsf@gnus.org> <87ilkmbqu3.fsf@gnus.org> <83k0528w1w.fsf@gnu.org> <87a65x786i.fsf@gnus.org> <871qr82lu6.fsf@gnus.org> <87v8oielxp.fsf@gnus.org> <878rleek7y.fsf@gnus.org> <834jw236v8.fsf@gnu.org> <87edv6ckof.fsf@gnus.org> <83fsfl1c3r.fsf@gnu.org> <83mt9tynr9.fsf@gnu.org> <838rlbzl0a.fsf@gnu.org> <83tu3zxaeu.fsf@gnu.org> <83pmemyl4o.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14155"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 58509@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 24 03:52:01 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 1ommdF-0003Vg-1Q for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Oct 2022 03:52:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ommK9-00085T-Ux for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Oct 2022 21:32:17 -0400 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 1omZPa-0004Bh-Np for bug-gnu-emacs@gnu.org; Sun, 23 Oct 2022 07:45:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omZPa-0007c4-2r for bug-gnu-emacs@gnu.org; Sun, 23 Oct 2022 07:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1omZPZ-0002a8-UC for bug-gnu-emacs@gnu.org; Sun, 23 Oct 2022 07:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Oct 2022 11:45:01 +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.16665254489851 (code B ref 58509); Sun, 23 Oct 2022 11:45:01 +0000 Original-Received: (at 58509) by debbugs.gnu.org; 23 Oct 2022 11:44:08 +0000 Original-Received: from localhost ([127.0.0.1]:43790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omZOi-0002Yp-FX for submit@debbugs.gnu.org; Sun, 23 Oct 2022 07:44:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omZOh-0002Yd-9X for 58509@debbugs.gnu.org; Sun, 23 Oct 2022 07:44:07 -0400 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 1omZOZ-0007T4-EO; Sun, 23 Oct 2022 07:43:59 -0400 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=UUQZuA67T+x6xTWfaNGCjmK+lnIqLcNc9+lr/MRavsI=; b=qTgqoQOb1sDF yZ/mJCEBNe+dcoFSAl3kBw83cv7dv7Pksn3ZCUm9PUX9vMS4k7IorqL/BqweNg3N4sSiLZ0IoELMr Q+vRMSn3bsv5l81HN7X0ksyCh5hdIXsha9D/7cQgi+hoRXASkyfX9K1nBeTNLARKoZBt0VrakPWVG T8wrUb0LSG5oPvdflvdetcPwmbUWtyuM6Oln7MXGhe8Cg6GVcqtEB51zlnsHg7323Rng2TybSX/lV RSVNFl+vqUV5wOG0h5xKWIHfq+Izp8AS4z+P8JwyYStP7DRm9NdRHnkcd92xL7/SzU3beAS2aQaPs T3kayAjcdxlPI53ADECZQA==; 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 1omZOY-0002OB-PY; Sun, 23 Oct 2022 07:43:59 -0400 In-Reply-To: (message from Andrea Corallo on Sun, 23 Oct 2022 10:51:14 +0000) 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:246045 Archived-At: > From: Andrea Corallo > Cc: larsi@gnus.org, 58509@debbugs.gnu.org > Date: Sun, 23 Oct 2022 10:51:14 +0000 > > Eli Zaretskii writes: > > >> Okay so IIUC your suggestion would be to: when we identify '--batch' we > >> search for a signature in the commandline to identify the trampoline > >> compilation and set in case `comp-no-spawn'? > > > > Yes. And if that works, my next question is: can we then remove the > > new -no-comp-spawn command-line option, or do we need it for some > > other cases? > > If it works I think it should be equivalent at that point. But at the > moment is not so trivial to identify this condition as we have no clear > marker of it. > > The current invocation for compilations is just like: > > emacs --batch -l sometmpfile.el > > I don't know if we have some other option for adding a marker other than > the most obvious (the dedicated flag). At some point during compilation, we surely know that we are compiling a trampoline, right? So I thought to avoid forking at that point, so that we don't need yet another command-line option for internal purposes. But if this is too complicated and cumbersome, I'm okay with a command-line switch. Thanks.