From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas 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 07:27:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36576"; mail-complaints-to="usenet@ciao.gmane.io" To: 58578@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 17 09:52:09 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 1okKuv-0009NV-3J for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 09:52:09 +0200 Original-Received: from localhost ([::1]:33286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okKus-0003bO-Uz for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 03:52:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okKYY-0004ag-L6 for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 03:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47989) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okKYY-0001Iu-Bl for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 03:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okKYY-0000Cc-6V for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 03:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Oct 2022 07:29: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.1665991684695 (code B ref 58578); Mon, 17 Oct 2022 07:29:02 +0000 Original-Received: (at 58578) by debbugs.gnu.org; 17 Oct 2022 07:28:04 +0000 Original-Received: from localhost ([127.0.0.1]:47067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okKXb-0000B8-Rj for submit@debbugs.gnu.org; Mon, 17 Oct 2022 03:28:04 -0400 Original-Received: from mail-oa1-f54.google.com ([209.85.160.54]:38521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okKXa-0000Ac-7N for 58578@debbugs.gnu.org; Mon, 17 Oct 2022 03:28:02 -0400 Original-Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-1322d768ba7so12367624fac.5 for <58578@debbugs.gnu.org>; Mon, 17 Oct 2022 00:28:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :from:to:cc:subject:date:message-id:reply-to; bh=/v5u7K/JddcjDlxFeLw8OOG0rAhKutqmh6TOFI3tSiM=; b=nPvjAJcwN8pAsZXDKgfITDbez5MC6zLh51gUQPqXtUEOcBGtk2Q4gFTrXtpjYafoBe ctbWho6bHv8T+sjTDzWUWVPvUWZWmgjPS9q4FmT9szVWePU4JHAhr/KJ1YBQJZemcuJO XupesYuagaE/u6ZI9u8doWWjdNhl88YP2J3/Mswh4lMblU0nc55W/o69CC9KNfqr9hWj EnYQRp84EhiGuDfTSs+ysURln6d4n0PHozX3owc/aSOXW/wd8PaaQvlJrzlDahqso/0p pYT2fsJfmMa0RoAnpwrwTHPMgqLue2Qa0pbPcDFi3ARAqKiPINegDtoVhbelTDaskJdw PILA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/v5u7K/JddcjDlxFeLw8OOG0rAhKutqmh6TOFI3tSiM=; b=ziBhJe+IQqF+KcSvdedM2cOboKUK7c4NiTCHKIZQP053T5F83T/3MnHVzgkFv6Qn3D ELf99Lii6eW85P4Fd4EjlVYm3cdl07CxTZLl2k8YT/rXG+McAngeAWvkRkcKe0ONRXlJ H2WWa3VFOBdUTrJC0lbAhMTxrzQBpQzhp+hJxtDCSL/mdjkmvTAX+FWM345Cj4abvixn 0nKHS5Kq6mfgGuM7ciAzoKfhYYbRlxXZaeCKEHEK1MXNYOEH4sCtYmiGIMjd7Mo+Wsx5 Hto4zxxCcUaTu8CMZkeL2nj+ZfN2sxbrmT8KIT8zrQi6uVANJfRUqsRITmymvYQGt5fK u3+w== X-Gm-Message-State: ACrzQf34LsnkU264rPkqGZ8sLFyOJPS5HDrDFNVtjji1P1exaMNPnc3U tJ1KFQitN/8VQDc5ZP1/jE46dsRXgNfWM9QOwLuZRhYT X-Google-Smtp-Source: AMsMyM7IRDTAdlXakKP0dFn0LhC4T/L5VvvUqWa3c0SjXTe+e0SaTPBS28PeZ8gVCLy0dDjfxlfsTU3kqoBHiZFyAR8= X-Received: by 2002:a05:6870:9126:b0:132:b724:e96c with SMTP id o38-20020a056870912600b00132b724e96cmr14708823oae.199.1665991676489; Mon, 17 Oct 2022 00:27:56 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 17 Oct 2022 07:27:56 +0000 In-Reply-To: (Stefan Kangas's message of "Mon, 17 Oct 2022 04:40:50 +0000") X-Hashcash: 1:20:221017:58578@debbugs.gnu.org::k/LXJ+3q9S//lbT3:9XZr 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:245692 Archived-At: 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?