From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jimmy Wong Newsgroups: gmane.emacs.bugs Subject: bug#63871: 29.0.91; JIT native comp triggered to compile loaddefs repeatedly on require Date: Sat, 3 Jun 2023 16:11:13 +0100 Message-ID: References: <83jzwk8xhn.fsf@gnu.org> <055568b9-9c09-4d1f-b040-4518a9819271@Spark> <83edms8wfu.fsf@gnu.org> <9a87fa29-69b9-4573-96f8-a8528a650617@Spark> <837csk8vwj.fsf@gnu.org> <598a870c-f6cf-412b-8dd9-4351a1a18960@Spark> <834jno8u33.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="647b582e_436af77_d994" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="838"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63871@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 03 17:12:24 2023 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 1q5SvX-000Aby-Kr for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Jun 2023 17:12:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5SvD-0007ry-FX; Sat, 03 Jun 2023 11:12:03 -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 1q5SvC-0007ro-5u for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 11:12: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 1q5SvB-0000s0-UC for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 11:12:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5SvB-0008R3-MO for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 11:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jimmy Wong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Jun 2023 15:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63871 X-GNU-PR-Package: emacs Original-Received: via spool by 63871-submit@debbugs.gnu.org id=B63871.168580511232402 (code B ref 63871); Sat, 03 Jun 2023 15:12:01 +0000 Original-Received: (at 63871) by debbugs.gnu.org; 3 Jun 2023 15:11:52 +0000 Original-Received: from localhost ([127.0.0.1]:44130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5Sv2-0008QX-Co for submit@debbugs.gnu.org; Sat, 03 Jun 2023 11:11:52 -0400 Original-Received: from mail-wr1-f43.google.com ([209.85.221.43]:60753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5Sv0-0008QG-1c for 63871@debbugs.gnu.org; Sat, 03 Jun 2023 11:11:50 -0400 Original-Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-30ae5f2ac94so3157787f8f.1 for <63871@debbugs.gnu.org>; Sat, 03 Jun 2023 08:11:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685805104; x=1688397104; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=i+PCaWWa+YW7tV/28FKueIFqy6lIAHENmXXWwbyz+CM=; b=JigoJdztj2oq2SoUlfDgK+Fez5zlFPnOlMhvcEQR5u7q5zOQ+VMItbWM+pejFeX5hw L9S3x3g9rvuhi1+YEsc8rppJQHgOl77wYqH39jfzQJLPJ2P/heg+oZoh8aBAhn62mSPM 9FrK0mRZ6f2GpkdJuei/m/OJaGB0KWbRG3cjh2SlbjpXI9ATvLfaMuVTIEzx6Z4aXEmZ FAKvQrc6CZOHL7zYjlYPZW+Bt4tseZws2Bbh788U6FRs6Cu3A2In/VxPWVpvQKz5o+eG WhTpcxwwSd8m/AFv8VsJwTAxt0Tx3UM/c+cqChlb847qKVkl70SCvmlwjUum1xSRNPFM PXZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685805104; x=1688397104; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=i+PCaWWa+YW7tV/28FKueIFqy6lIAHENmXXWwbyz+CM=; b=JzVUDaePSdlPNLm1Lln52HQhFkezpGEiNT13QVDUkZeKOO99MEFDElNJhxAseVSyW3 zhTn6rzKlPQTkNQZMij+Te4v7GwpchrKDUX9ujVpvnaZwahUBQm52UVKl1OtqM3vMcXi c+RIbC7mfgaMo05/xJtmeV4zPdxB15yWeN4BUWCXxC0xWwpw3RVdJIfsPGid6p9kEKSB sByX8ICkQ5fVHuof7BncAc8K3cWz3uYYxG5vAbIRSFU2Na0Y4Zm7XsZsbljGiyAfXn3m 60XAfFv+jueN90DMgKyATupflGCHTOIv9YYGUZWMtFZaKUbZspoTQBPsSSzsweIc20Wg N+Nw== X-Gm-Message-State: AC+VfDyEduW2yr4QQhRfSJGdCZYKT5fB2nsKA0IUMESlsgIl14ogkWa7 BJ4zOVY+Dpk01I/fAT6Yurvlt4KmFWI= X-Google-Smtp-Source: ACHHUZ4tm+4w0gPpAKngE7oGCZuaxghbyGEdHru4COzL2PnHKNX9xL3/ajmX4Cc1r9Bh9G16BmJtbA== X-Received: by 2002:a5d:5188:0:b0:2dc:cad4:87b9 with SMTP id k8-20020a5d5188000000b002dccad487b9mr2581687wrv.68.1685805103836; Sat, 03 Jun 2023 08:11:43 -0700 (PDT) Original-Received: from [2a01:4b00:89a0:2400:1e:ae10:100:0] ([2a01:4b00:89a0:2400:18b7:3953:b17d:de2c]) by smtp.gmail.com with ESMTPSA id s6-20020a1cf206000000b003f60a9ccd34sm5304050wmc.37.2023.06.03.08.11.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Jun 2023 08:11:43 -0700 (PDT) In-Reply-To: <834jno8u33.fsf@gnu.org> X-Readdle-Message-ID: f7cee397-8dc8-4b69-bddc-ec311c0fb457@Spark 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262863 Archived-At: --647b582e_436af77_d994 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks, I=E2=80=99m aware of that hook. I just always wanted it to be bur= ied whenever it is created. I suspect this perhaps can be put into native= comp as an enhancement. On 3 Jun 2023 at 4:04 PM +0100, Eli Zaretskii , wrote: > > Date: Sat, 3 Jun 2023 15:50:37 +0100 > > =46rom: Jimmy Wong > > Cc: 63871=40debbugs.gnu.org > > > > Thanks. I ended up advising get-buffer-create instead as I don=E2=80=99= t know how to add a hook to > > buffer-list-update-hook and not run into an infinite loop. > > My suggestion would be to add this function to > desktop-after-read-hook. Did you try that=3F --647b582e_436af77_d994 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Thanks, I=E2=80=99m aware of that hook. I just alwa= ys wanted it to be buried whenever it is created. I suspect this perhaps = can be put into nativecomp as an enhancement.
On 3 Jun 2023 at 4:04 PM +0100, Eli= Zaretskii <eliz=40gnu.org>, wrote:
Date: Sat, 3 Jun 2023 15:50:37 +0100
=46rom: Jimmy Wong <wyuenho=40gmail.com>
Cc: 63871=40debbugs.gnu.org

Thanks. I ended up advising get-buffer-create instead as I don=E2=80=99t = know how to add a hook to
buffer-list-update-hook and not run into an infinite loop.

My suggestion would be to add this function to
desktop-after-read-hook. Did you try that=3F
--647b582e_436af77_d994--