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 15:11:05 +0100 Message-ID: <02a149b3-6081-45f7-ba1e-fc037720e140@Spark> References: <83jzwk8xhn.fsf@gnu.org> <83h6ro8woe.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="647b4a07_5cc8a676_d2d7" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39977"; 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 16:12:11 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 1q5RzG-000AEG-Rg for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Jun 2023 16:12:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5RzC-000557-Ha; Sat, 03 Jun 2023 10:12:06 -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 1q5Rz9-00054r-QB for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 10:12:04 -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 1q5Rz8-0007G1-A7 for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 10:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5Rz8-0004GT-48 for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 10:12:02 -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 14:12:02 +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.168580148916352 (code B ref 63871); Sat, 03 Jun 2023 14:12:02 +0000 Original-Received: (at 63871) by debbugs.gnu.org; 3 Jun 2023 14:11:29 +0000 Original-Received: from localhost ([127.0.0.1]:44059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5Rya-0004Fg-Gq for submit@debbugs.gnu.org; Sat, 03 Jun 2023 10:11:28 -0400 Original-Received: from mail-wr1-f48.google.com ([209.85.221.48]:42371) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5RyY-0004FS-Mn for 63871@debbugs.gnu.org; Sat, 03 Jun 2023 10:11:27 -0400 Original-Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-30aeee7c8a0so2304944f8f.1 for <63871@debbugs.gnu.org>; Sat, 03 Jun 2023 07:11:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685801481; x=1688393481; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=hHPlMGhdwbCpWIfQpE39UHAjawCuCxnKcQ3XibkRCSk=; b=huqFu5UYnhJ4kVQsRagzuVSCPNcnM+IFzW0+M8/LTnChdSonWlNOKesPZGj0n/9j2R V3bTQ7sOfqRfuZzlrdu4C8/2/PXuv9k/wx69vJM5S3jUmeSNfRjdPBTjUxQg1r1DhtRW XPSfzTSP1NM1lzY4LDZfQxBmt00JDfbRkmLIID9m79TJs9gOQCcIAGMC0j8dRQQen0FJ CQtnU5R3aUiAzsDBpi+1UK8xYnuin3sr8tK0wjM26j1VjmCGLLNeNO6zOwmLKFmRZKpt ZpAzm2Jw3uXrBNRPIsFGuFPNBfpwOUbEU1lSmYOR2yQOf7jvdT+OV+3su66pBT7mMiz/ 4d9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685801481; x=1688393481; 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=hHPlMGhdwbCpWIfQpE39UHAjawCuCxnKcQ3XibkRCSk=; b=VRpVFfwkxDZaVuxiOoDBcqkdR8zNEZmYLVY25G4spUoqYRwfcUF142xvFX+8Kq9U3T hVOvGOIthABLudhPCA0EopYlAmzwlK/+OS6p2dfl6UOye2Rhj/dUSRG/w137djevLclw 8AcsDMnp3Y8aIgbANAyGv8UM3r18Hd3CfGU8s3ovNL7CJw1KdYg6jUSyigciwcSGyPHI AFwKAt8KGeKheSs6MzZx20xAjshUL420KOz7PSfqP2MNchcABqnN5p2qaC9sMTE9AS9N OzxjgJyPPyQXu7OfB7fE5d/OIVM5GNXxYWA/A7uGu1AyGn9r34aV2QbZyssFVmWzkwXl qThA== X-Gm-Message-State: AC+VfDyLBuFYlUuQe3CrV27ZOy+A7BY20HXLzVAe+C1qZ2RtyC7R/S7U jFqMgliXuCdEdlYQTSH4ae4= X-Google-Smtp-Source: ACHHUZ7h+Yn/P3LEz4tPvCS+cfAwu0Nw+9cqmMLyYgYQ77EMu149kOOXZO9K06F0yytkvJ5Yo28YSg== X-Received: by 2002:adf:da51:0:b0:30a:ed4c:e17d with SMTP id r17-20020adfda51000000b0030aed4ce17dmr2293168wrl.5.1685801480818; Sat, 03 Jun 2023 07:11:20 -0700 (PDT) Original-Received: from [2a01:4b00:89a0:2400:c0:f010:100:0] ([2a01:4b00:89a0:2400:18b7:3953:b17d:de2c]) by smtp.gmail.com with ESMTPSA id p23-20020a1c7417000000b003f60eb72cf5sm8790546wmc.2.2023.06.03.07.11.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Jun 2023 07:11:20 -0700 (PDT) In-Reply-To: <83h6ro8woe.fsf@gnu.org> X-Readdle-Message-ID: 02a149b3-6081-45f7-ba1e-fc037720e140@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:262849 Archived-At: --647b4a07_5cc8a676_d2d7 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline I expect the buffer orders in the buffer list to be restored when desktop mode restores a session, not have an async native compile log buffer inserted at the top so I can quickly switch to the second to last buffer I was working on before the restart. On 3 Jun 2023 at 3:08 PM +0100, Eli Zaretskii , wrote: > > Date: Sat, 3 Jun 2023 14:54:22 +0100 > > From: Jimmy Wong > > Cc: 63871-done@debbugs.gnu.org > > > > The problem is not that it does something when it compiles, the problem is it should not have triggered > > a compilation at all and pops up a buffer. > > ??? Why? Loading a package could legitimately load other packages. > Emacs worked like that since about forever. What is special in this > particular case? > > And what do you mean by "pops up a buffer"? When I reproduce your > recipe, no buffer is popped on display. > > > This messes up the buffer order when restoring a session > > with desktop mode on restart. > > Messes up how? > > And what do you expect from the buffer order when you restart a > session using desktop.el? --647b4a07_5cc8a676_d2d7 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
I expect the buffer orders in the buffer list to be= restored when desktop mode restores a session, not have an async native = compile log buffer inserted at the top so I can quickly switch to the sec= ond to last buffer I was working on before the restart.
On 3 Jun 2023 at 3:08 PM +0100, Eli= Zaretskii <eliz=40gnu.org>, wrote:
Date: Sat, 3 Jun 2023 14:54:22 +0100
=46rom: Jimmy Wong <wyuenho=40gmail.com>
Cc: 63871-done=40debbugs.gnu.org

The problem is not that it does something when it compiles, the problem i= s it should not have triggered
a compilation at all and pops up a buffer.

=3F=3F=3F Why=3F Loading a package could legitimately load other packages= .
Emacs worked like that since about forever. What is special in this
= particular case=3F

And what do you mean by =22pops up a buffer=22=3F When I reproduce your recipe, no buffer is popped on display.

This messes up the buffer order when restor= ing a session
with desktop mode on restart.

Messes up how=3F

And what do you expect from the buffer order when you restart a
session using desktop.el=3F
--647b4a07_5cc8a676_d2d7--