From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68849: 30.0.50; font-lock does not flush fontification after calling open-line Date: Sat, 03 Feb 2024 11:55:27 +0200 Message-ID: <864jep50ts.fsf@gnu.org> References: <875xz9oep2.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10894"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68849@debbugs.gnu.org, papadakis.k@yandex.com To: Ihor Radchenko , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 03 10:56:05 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 1rWCkn-0002eN-Fa for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Feb 2024 10:56:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWCka-0004oO-DF; Sat, 03 Feb 2024 04:55:52 -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 1rWCkZ-0004np-75 for bug-gnu-emacs@gnu.org; Sat, 03 Feb 2024 04:55:51 -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 1rWCkY-0002cN-VE for bug-gnu-emacs@gnu.org; Sat, 03 Feb 2024 04:55:50 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rWCkk-0002uz-5O for bug-gnu-emacs@gnu.org; Sat, 03 Feb 2024 04:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Feb 2024 09:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68849 X-GNU-PR-Package: emacs Original-Received: via spool by 68849-submit@debbugs.gnu.org id=B68849.170695415811207 (code B ref 68849); Sat, 03 Feb 2024 09:56:02 +0000 Original-Received: (at 68849) by debbugs.gnu.org; 3 Feb 2024 09:55:58 +0000 Original-Received: from localhost ([127.0.0.1]:45887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWCkf-0002ug-JV for submit@debbugs.gnu.org; Sat, 03 Feb 2024 04:55:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWCkc-0002uQ-JA for 68849@debbugs.gnu.org; Sat, 03 Feb 2024 04:55:55 -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 1rWCkL-0002PF-OH; Sat, 03 Feb 2024 04:55:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=gsXPlEANP4rm3A/W+2fYbEWCJ4bqPKBnAVfp5kbKq/A=; b=jkDLYyRvfK1H GAkbFPqDVD6fMG4RlpfsicUwGi4ES0RPKddcfbZRm+/Lop1cDoVzBp3DDg1NDp4xSAQE6NcA9mc+3 uOEAqAYSbMJQRwTMnaDJ2D40HnIpLiDwXWodE49IrZvF+YCmLz8CWMsJ5bMaQI4+SPj5Sx5eQsAgd b+6Xw/HACImQSNcybKpsBg87p0K4zNFpi9RuftLOuZGP3K+UFKD4n/UcWwVQFZWN8XQZEx03j+XHw MN4RldiU367d5DISEDkTsrEg/G5AEB0tX1pkHmtUy3koAdv7yqJCt4rYkyewFWLyP5jjM64Huo0t3 /Yo3OBEmZII8CQSoStuDNw==; In-Reply-To: <875xz9oep2.fsf@localhost> (message from Ihor Radchenko on Wed, 31 Jan 2024 12:44:09 +0000) 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:279368 Archived-At: > Cc: Kostas Papadakis > From: Ihor Radchenko > Date: Wed, 31 Jan 2024 12:44:09 +0000 > > 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. Stefan, any suggestions?