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#69431: 30.0.50; Strange fontificaion behavior Date: Tue, 27 Feb 2024 15:11:01 -0500 Message-ID: References: <871q8x6e06.fsf@mail.parknet.co.jp> <86msrlu87i.fsf@gnu.org> <87v869oklj.fsf@localhost> <86il29u4hy.fsf@gnu.org> <87sf1dogi8.fsf@localhost> <86edcxu2ge.fsf@gnu.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="775"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Ihor Radchenko , 69431@debbugs.gnu.org, hirofumi@mail.parknet.co.jp To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 27 21:41:02 2024 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 1rf4G3-000AL5-Po for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Feb 2024 21:40:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rf4Fj-00031n-AU; Tue, 27 Feb 2024 15:40:39 -0500 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 1rf4Fh-00031J-03 for bug-gnu-emacs@gnu.org; Tue, 27 Feb 2024 15:40:37 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rf4Fg-0004xr-Nb for bug-gnu-emacs@gnu.org; Tue, 27 Feb 2024 15:40:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rf4G6-0002Fi-CZ for bug-gnu-emacs@gnu.org; Tue, 27 Feb 2024 15:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Feb 2024 20:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69431 X-GNU-PR-Package: emacs Original-Received: via spool by 69431-submit@debbugs.gnu.org id=B69431.17090664258558 (code B ref 69431); Tue, 27 Feb 2024 20:41:02 +0000 Original-Received: (at 69431) by debbugs.gnu.org; 27 Feb 2024 20:40:25 +0000 Original-Received: from localhost ([127.0.0.1]:52516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rf4FT-0002Dr-ET for submit@debbugs.gnu.org; Tue, 27 Feb 2024 15:40:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rf466-0001nH-20 for 69431@debbugs.gnu.org; Tue, 27 Feb 2024 15:30:45 -0500 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 1rf3n4-0007y3-2A; Tue, 27 Feb 2024 15:11:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=9zmfo3jHKWytY2m4MYUe7h2OmxnFKr8Jx2L7Hlu81KQ=; b=SHr2BVq2oh+Vd7/h8Pdu j+xAx6QBvlgv9LSZGHTTOyVaDvC21PW6BAnFm2OUjmoBGROTUoATE9uIcVJRq7FBBE1m02ZgIinUk WRSyxIkOoGf0t0Pdg7epfvuluM9i49sQRIt3slDlCtEWcthRE2e1WJ6CHPaoQiiPsw3KgVpae8Jo0 wSgW3fNiwTDXRWlBsD4B8t7yzezzU0JRpMaQxgNTj7VMxvxF48BQcWrdCJUz4js1QB0laEOZ7TS2n SbKPFfZT8GKOTHP/owP8iaL0mKwLxISoZiSNhBt5NnUdOK29QoPG0SSofdiVn8YIRoCCgndO4a1Vu 6WhMWd3YruT/Mw==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rf3n3-0004gb-H0; Tue, 27 Feb 2024 15:11:01 -0500 In-Reply-To: <86edcxu2ge.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 27 Feb 2024 21:33:37 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280745 Archived-At: Eli Zaretskii writes: >> From: Ihor Radchenko >> Cc: hirofumi@mail.parknet.co.jp, 69431@debbugs.gnu.org >> Date: Tue, 27 Feb 2024 19:26:39 +0000 >> >> > So maybe the problem is already solved somehow? >> >> ... or it has something to do with loading built-in Org mode. >> when I do >> 1. emacs -Q >> 2. C-x C-f /tmp/a.org >> I do not see fontification. >> >> when I do >> 1. emacs -Q >> 2. M-: (require 'org) >> 3. C-x C-f /tmp/a.org >> I see fontification... >> >> and when I wait long enough for native compilation to finish, I can see >> fontification without loading org.el. >> >> Not sure if it tells anything useful. > >> From: OGAWA Hirofumi >> Cc: Ihor Radchenko , 69431@debbugs.gnu.org >> Date: Wed, 28 Feb 2024 04:20:13 +0900 >> >> I found a bit more about this. If build with --native-compilation=no, I >> can't reproduce, and at least --native-compilation=aot can reproduce. > > Since this seems to be somehow related to native compilation, I'm > adding Andrea to the discussion, in the hope that he could suggest > some ideas. Hi Eli, thanks. I suggest to disable `native-comp-jit-compilation' in the .emacs, clean the eln-cache and run Emacs ruling out the native compiler, this in order to understand why without '(require 'org)' fontification does not happen. My guess is it's because of some quirk in the code and, when the native compiler reloads the native compiled version of the code somehow this is fixed, at least at a first glance I'd guess is not native compiler related (last famous words...). Thanks Andrea