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#50934: 28.0.60; paren.el should be preloaded Date: Sat, 02 Oct 2021 11:13:45 +0300 Message-ID: <83bl47deti.fsf@gnu.org> References: <83tui1dnpg.fsf@gnu.org> <83lf3cewfu.fsf@gnu.org> <83fstkevg3.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22737"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50934@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 02 10:15:13 2021 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 1mWaAr-0005gz-DO for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 10:15:13 +0200 Original-Received: from localhost ([::1]:37324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWaAq-0005LD-1f for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 04:15:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWaAi-0005Ke-11 for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 04:15:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46239) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWaAf-0002l8-Tg for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 04:15:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWaAf-0001zl-PM for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 04:15: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: Sat, 02 Oct 2021 08:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50934 X-GNU-PR-Package: emacs Original-Received: via spool by 50934-submit@debbugs.gnu.org id=B50934.16331624557582 (code B ref 50934); Sat, 02 Oct 2021 08:15:01 +0000 Original-Received: (at 50934) by debbugs.gnu.org; 2 Oct 2021 08:14:15 +0000 Original-Received: from localhost ([127.0.0.1]:57782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWa9v-0001yE-3h for submit@debbugs.gnu.org; Sat, 02 Oct 2021 04:14:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44334) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWa9s-0001y1-Fn for 50934@debbugs.gnu.org; Sat, 02 Oct 2021 04:14:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47104) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWa9l-0001F0-4Z; Sat, 02 Oct 2021 04:14:05 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2442 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 1mWa9j-0000kb-9S; Sat, 02 Oct 2021 04:14:04 -0400 In-Reply-To: (message from Andrea Corallo on Fri, 01 Oct 2021 13:35:57 +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:216107 Archived-At: > From: Andrea Corallo > Cc: 50934@debbugs.gnu.org > Date: Fri, 01 Oct 2021 13:35:57 +0000 > > > The native-compilation build is already painfully slow, and most of it > > isn't spent in COMPILE_FIRST. We could, of course, add those files to > > shortlisp instead, if you think this is better. > > I suspect shortlisp might be a better option (the number of threads of > the machine here comes into play as well), but I guess a measure is the > only way to get an answer. IOW just wanted to raise the warning. I tried to add these to shortlisp, after the value is exported as $LISP_PRELOADED, but that didn't work: the added files were only byte-compiled, not ELC+ELN-compiled. I cannot figure out why this happens. I think this mystery should be resolved, so we would know how to add files to AOT native compilation without adding them to COMPILE_FIRST and without putting them into preloaded/. I also cannot figure out how come some files not mentioned in shortlisp end up being ELC+ELN-compiled (for example emoji-zwj.el), also something that's worth understanding. For now, I just added those files to COMPILE_FIRST. Thanks.