From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#69431: 30.0.50; Strange fontificaion behavior Date: Sat, 06 Apr 2024 18:38:22 +0000 Message-ID: <87cyr2pc9t.fsf@localhost> References: <871q8x6e06.fsf@mail.parknet.co.jp> <86msrlu87i.fsf@gnu.org> <87v869oklj.fsf@localhost> <86il29u4hy.fsf@gnu.org> <87sf1dogi8.fsf@localhost> <87h6hi8d87.fsf@mail.parknet.co.jp> <86il1g2dfd.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="18560"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?Q?Bj=C3=B6rn?= Bidar , 69431@debbugs.gnu.org, Eli Zaretskii , Stefan Monnier , hirofumi@mail.parknet.co.jp To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 06 20:39:26 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 1rtAwo-0004gz-6y for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Apr 2024 20:39:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rtAwL-00019V-SH; Sat, 06 Apr 2024 14:38:57 -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 1rtAwL-00019G-3q for bug-gnu-emacs@gnu.org; Sat, 06 Apr 2024 14:38:57 -0400 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 1rtAwK-0007xY-JY for bug-gnu-emacs@gnu.org; Sat, 06 Apr 2024 14:38:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rtAwQ-00088z-J1 for bug-gnu-emacs@gnu.org; Sat, 06 Apr 2024 14:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Apr 2024 18:39: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.171242870831188 (code B ref 69431); Sat, 06 Apr 2024 18:39:02 +0000 Original-Received: (at 69431) by debbugs.gnu.org; 6 Apr 2024 18:38:28 +0000 Original-Received: from localhost ([127.0.0.1]:40950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtAvr-00086v-Pw for submit@debbugs.gnu.org; Sat, 06 Apr 2024 14:38:28 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:33909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtAvn-00085N-7V for 69431@debbugs.gnu.org; Sat, 06 Apr 2024 14:38:26 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 39880240103 for <69431@debbugs.gnu.org>; Sat, 6 Apr 2024 20:38:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1712428690; bh=Ws7lCC01F+GyE9mE1/Gaf6LqBgq6R68/3sB8I34K0ZQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=do4opS4wSwy4F1ChVvVd5sk/gaxBWlIFdGZwUwaAzHUxRKWccUSYvX8A6+fd9mcMJ 5T1/5AUIw1qpip+ycymI1SLbvjpmUNNfRFWsX/yZw4YDVkFV/z56YiBGJj5yuzcOXI 9Jt7YSDNnJs8zRf7HbsOZK+BHopSqnDNkrrMYAcOyx81d29+kvXvVbL6zSM4r2aZQl ksFEV6ztSC39R7Nu6dS3P4Bnbw7xguzWg1TLoFTKdCnGMAjSHtygKRW9iBAz3KDl7l 9uoame6Dhk0jDcCPVgrxRQaIu72qWPljncroWbV22CKWF7bMis7wfcFHA28zfo1tB/ dg6CRTavAi1KQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VBkcv2Wcbz6tvc; Sat, 6 Apr 2024 20:38:07 +0200 (CEST) In-Reply-To: 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:282815 Archived-At: Andrea Corallo writes: > If I remove the invocations of 'emacs-lisp-compilation-mode' from > 'comp-run-async-workers' my org file gets fontified correctly. > ... > k-variable-watcher(font-lock-keywords ... set #) > ... > global-font-lock-mode-enable-in-buffers() > run-hooks(after-change-major-mode-hook) > run-mode-hooks(emacs-lisp-compilation-mode-hook) > emacs-lisp-compilation-mode() > comp-run-async-workers() > native--compile-async("/home/andcor03/emacs2/lisp/net/dbus.el" nil late) > ... > require(dbus) > ... > org-load-modules-maybe() > org-mode() > ... > find-file-noselect-1(# "~/test.org" nil nil "~/test.org" (14180533 64513)) IMHO, it looks like bug#58888 - global font-lock-mode is enabled in the middle of major mode initialization and messes things up. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at