From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#58580: 29.0.50; Ahead-of-time compilation for a few more files? Date: Mon, 17 Oct 2022 09:28:15 +0000 Message-ID: References: <871qr6hl1h.fsf@gnus.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="3570"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 58580@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 17 11:42:26 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 1okMdd-0000jC-NE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 11:42:25 +0200 Original-Received: from localhost ([::1]:59586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okMdc-0005rR-HZ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 05:42:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okMQg-0003V2-Co for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 05:29:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48263) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okMQg-0003D0-3F for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 05:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okMQf-00086l-QB for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 05:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Oct 2022 09:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58580 X-GNU-PR-Package: emacs Original-Received: via spool by 58580-submit@debbugs.gnu.org id=B58580.166599890131111 (code B ref 58580); Mon, 17 Oct 2022 09:29:01 +0000 Original-Received: (at 58580) by debbugs.gnu.org; 17 Oct 2022 09:28:21 +0000 Original-Received: from localhost ([127.0.0.1]:47341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okMQ0-00085j-LB for submit@debbugs.gnu.org; Mon, 17 Oct 2022 05:28:20 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:50256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okMPy-00085Z-Ox for 58580@debbugs.gnu.org; Mon, 17 Oct 2022 05:28:19 -0400 Original-Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 29H9SFnk015597 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 17 Oct 2022 09:28:16 GMT In-Reply-To: <871qr6hl1h.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 17 Oct 2022 11:11:22 +0200") 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:245708 Archived-At: Lars Ingebrigtsen writes: > I wonder whether we should AOT a few more files by default. I think we > should probably aim for a typical user not seeing compilation firing off > on normal usage, but what's "normal usage" anyway? > > In any case, "emacs -Q" and then `C-x C-b' gives me this: > > Compiling /home/larsi/src/emacs/nativecomp/lisp/emacs-lisp/cl-lib.el... > Compiling /home/larsi/src/emacs/nativecomp/lisp/emacs-lisp/cl-extra.el... > Compiling /home/larsi/src/emacs/nativecomp/lisp/help-mode.el... > Compiling /home/larsi/src/emacs/nativecomp/lisp/emacs-lisp/gv.el... > Compiling /home/larsi/src/emacs/nativecomp/lisp/emacs-lisp/cl-macs.el... > Compiling /home/larsi/src/emacs/nativecomp/lisp/emacs-lisp/cl-seq.el... > Compiling /home/larsi/src/emacs/nativecomp/lisp/emacs-lisp/rx.el... > Compiling /home/larsi/src/emacs/nativecomp/lisp/emacs-lisp/subr-x.el... > Compiling /home/larsi/src/emacs/nativecomp/lisp/emacs-lisp/icons.el... > Compiling /home/larsi/src/emacs/nativecomp/lisp/emacs-lisp/warnings.el... > Compiling /home/larsi/src/emacs/nativecomp/lisp/display-line-numbers.el... > Compilation finished. > > This suggests to me that we should AOT a bunch of these libraries > (rx/subr-x/etc) by default that are virtually impossible to use Emacs > without. > > Any opinions? I think as well we should complile AOT them. Andrea