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#58578: 29.0.50; Font lock randomly breaks in some buffers and gets worse over time Date: Mon, 17 Oct 2022 11:20:01 +0300 Message-ID: <83pmeq3lqm.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27966"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58578@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 17 10:22:03 2022 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 1okLNq-00078n-P5 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 10:22:02 +0200 Original-Received: from localhost ([::1]:38268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okLNo-0007lp-Gz for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 04:22:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okLMt-0007lS-1a for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 04:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48104) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okLMs-0000zw-P5 for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 04:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okLMs-0003w4-Jq for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 04:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Oct 2022 08:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58578 X-GNU-PR-Package: emacs Original-Received: via spool by 58578-submit@debbugs.gnu.org id=B58578.166599482215010 (code B ref 58578); Mon, 17 Oct 2022 08:21:02 +0000 Original-Received: (at 58578) by debbugs.gnu.org; 17 Oct 2022 08:20:22 +0000 Original-Received: from localhost ([127.0.0.1]:47177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okLME-0003u1-6P for submit@debbugs.gnu.org; Mon, 17 Oct 2022 04:20:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okLMC-0003tk-4Z for 58578@debbugs.gnu.org; Mon, 17 Oct 2022 04:20:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44204) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okLM6-0000rh-Uf; Mon, 17 Oct 2022 04:20:14 -0400 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=p+kwuGty8Ggq7N2VLS8qv4DVBrXcBomiQzMRQ8CSn00=; b=pfV6sBalF2ZH z9K3/8ww5CB/ThNXdHdNKSvIkZyynmGhIqdwq1xkZg5SjG1dDPyKPveaH1oniJlzCdKJtvFeNo2AQ D46/GZkTPwCv0r3RP/a1pEv5XzUCtUd4XUmuAo7EOEzJzsFfRo3q4IQ9z4nPAi2QzgOAw34i0+oPi Zp2itrUupvpNbSe+8GuYOcpQeVGWKpGsn0XMet/9z3pr92H/rx/qrcLwZnR28D0+U0UqvdfLZ5Xb7 4beToF6FPHh2bRt27Dyrqywi+W0FjSWwH8wEQIG2/9lgKRSkQooaSrYk3CBJ48iHvQZ1S2zZ23QvZ T9frKWXwkcsox2qiKjK8JA==; Original-Received: from [87.69.77.57] (port=1871 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okLM4-00038l-GR; Mon, 17 Oct 2022 04:20:14 -0400 In-Reply-To: (message from Stefan Kangas on Mon, 17 Oct 2022 07:27:56 +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" Xref: news.gmane.io gmane.emacs.bugs:245696 Archived-At: > From: Stefan Kangas > Date: Mon, 17 Oct 2022 07:27:56 +0000 > > Stefan Kangas writes: > > > Here is a screenshot from `notmuch-message-mode', based on > > `message-mode': > > For a while, I could reproduce the incorrect fontification in a > `notmuch-message-mode' buffer after replying to an email. > > Everything looks fine when I first create the buffer. But when I move > point to the end of some quoted line, and press RET (`newline'), there > is incorrect fontification on the new line, and I see: > > There are text properties here: > face message-cited-text-1 > fontified t > > (It looks like in the screenshot in the last email.) > > If I go to the beginning of another line and press C-o (`open-line'), the > fontification is correct, and there is no face property on the new line: > > There are text properties here: > fontified t > > Why would `newline' and `open-line' lead to different results? > It seems very strange to me. > > [time passes] > > What is even stranger is that now, an hour or two later, I can no longer > reproduce this behavior, not in the same session and not even in the same > buffers as before. The incorrect fontification only still remains on the same > lines as before, however. > > I did no particular changes that should affect this. I was just sending emails > and doing some unrelated ELisp coding. > > Should I start looking at my timers here, or something? Maybe. Or maybe this is specific to notmuch-message-mode. I would suggest to focus on more popular modes.