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#68849: 30.0.50; font-lock does not flush fontification after calling open-line Date: Wed, 31 Jan 2024 12:44:09 +0000 Message-ID: <875xz9oep2.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24260"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Kostas Papadakis To: 68849@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 31 13:42:28 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 1rV9vA-00068l-IC for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Jan 2024 13:42:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9up-0005Rb-Gm; Wed, 31 Jan 2024 07:42:07 -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 1rV9ud-0005PA-0X for bug-gnu-emacs@gnu.org; Wed, 31 Jan 2024 07:41:58 -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 1rV9uc-0004ti-NR for bug-gnu-emacs@gnu.org; Wed, 31 Jan 2024 07:41:54 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rV9uk-0000Mz-GF; Wed, 31 Jan 2024 07:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: papadakis.k@yandex.com, bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Jan 2024 12:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68849 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Kostas Papadakis Original-Received: via spool by submit@debbugs.gnu.org id=B.17067048691345 (code B ref -1); Wed, 31 Jan 2024 12:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Jan 2024 12:41:09 +0000 Original-Received: from localhost ([127.0.0.1]:37648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rV9tt-0000Ld-3G for submit@debbugs.gnu.org; Wed, 31 Jan 2024 07:41:09 -0500 Original-Received: from lists.gnu.org ([2001:470:142::17]:48604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rV9tr-0000LD-J1 for submit@debbugs.gnu.org; Wed, 31 Jan 2024 07:41:08 -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 1rV9tY-0005BG-3f for bug-gnu-emacs@gnu.org; Wed, 31 Jan 2024 07:40:48 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9tU-0004no-HU for bug-gnu-emacs@gnu.org; Wed, 31 Jan 2024 07:40:47 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E31F8240101 for ; Wed, 31 Jan 2024 13:40:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706704839; bh=LKHDkV0IHUuH87aC16Ta+8ATLTInTGHYnSi81vnxlFw=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=PFlPdPu3ygGkKbeSLfHb0ytdtSw49X9CwUhuHYRLSCr/pFaHr+YIjVEmYgI+bFLCF eUuxTY0RZmBjPdvdeHWlai4tdgHcquwgkWzZU/qoIP7XMhuZbQW/25YMDKJ1EFvCOA 1crL7pTXSCYym5ePM5wMau+Tmnqpdde/1YyU0Jro2pNzTbbySl6MQM1DWUQYGIPttF WZCMjhlwjkdZWcx9y9VzzezarD9XU3p2iVjA0FxaiklnTbfZnoDBYL+LcL5Gh7c2nH zCX112l4H+NSiB8T9TLLOmaNii5wK9aZ6Iu9BhmB8UxGqYZMx4xreEcWUMMjd8iSke I3tP5V7MZCJTQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TQ1pv0Z5wz6tsb for ; Wed, 31 Jan 2024 13:40:38 +0100 (CET) Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:279220 Archived-At: This bug was originally reported in https://orgmode.org/list/c5fb9f63-185c-4e36-b13f-e887a4a29aae@yandex.com I am not 100% sure if is Emacs bug, but my preliminary testing showed anomalies in `jit-lock-after-change' - (put-text-property jit-lock-start jit-lock-end 'fontified nil) somehow did not apply the text properties. I suspect that I missed something though. May someone please help debugging this and figuring out if the problem is on Emacs side? Steps to reproduce: 1. Create bug.el: (require 'org-faces) (set-face-underline 'org-block-end-line t) (setq org-fontify-whole-block-delimiter-line t) 2. Create bug.org: #+begin_src #+end_src asd 3. Move point to the end of #+end_src line: #+end_src 4. M-x open-lien 5. Observe underline face being applied to the empty line _after_ #+end_src. In GNU Emacs 30.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.24.39, cairo version 1.18.0) of 2024-01-30 built on localhost Repository revision: 9de29fb5b0396cb3929bd5668604fda076ca5ec4 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101011 System Description: Gentoo Linux Configured using: 'configure JAVAC=/etc/java-config-2/current-system-vm/bin/javac' -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at