From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8HLqL1adVWKpqwAAgWs5BA (envelope-from ) for ; Tue, 12 Apr 2022 17:40:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MG9wLFadVWK6EAAAauVa8A (envelope-from ) for ; Tue, 12 Apr 2022 17:40:06 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 477AE11862 for ; Tue, 12 Apr 2022 17:40:06 +0200 (CEST) Received: from localhost ([::1]:41816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1neIcf-0001Uq-4s for larch@yhetil.org; Tue, 12 Apr 2022 11:40:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neIbp-0001Ui-Ba for emacs-orgmode@gnu.org; Tue, 12 Apr 2022 11:39:13 -0400 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]:45910) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neIbn-00061e-Pa for emacs-orgmode@gnu.org; Tue, 12 Apr 2022 11:39:13 -0400 Received: by mail-qt1-x834.google.com with SMTP id a11so19273296qtb.12 for ; Tue, 12 Apr 2022 08:39:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=AJMWUTC3Sm8FR9WRqzWtTzh6UAlDEwZgSCltYqPpAHc=; b=F1+vHIUaRYpamT1d3Kp1Vfxdk8qB5Q3pl40aJeuqiCvdHuuCfct1xZqZzj3Ku3REi6 JTrNBFRJsDZv9t/eTr5s7MW5DGr9w1fFL/Ta/vQlyB2o75DeaDoPawt4LlXx6uHXSB7M lcjhZOjC0JuKqhWhI8Ignr7P6cxuMZE86JHKKiy7MTGGZBfJRndEZukCougP1dV4IZZ9 Lc5yODl6ey6MbNvsxPLZJIlCWLfJ52RwL/9Hy3C00Tan1Floa1wAkGRzoLkjWpiU3MLj 1yInFkEMVVUkpc/QsNKTR40VoOQTbKhCGq7EAsi1UeLwrU86EEz+z0Gt86KsXoljeeGH J38g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=AJMWUTC3Sm8FR9WRqzWtTzh6UAlDEwZgSCltYqPpAHc=; b=qJx9gl1nnmdZeqda+KxJhzz/mOpt62c9LEn0lre0wfHNnSDMPCLDwGkapqNpjZdOh5 4o1LGeQvqpnsYyo+5dSVkhga6GcMVllORu0w7wpfatnuwZFUOAthHoF6aRciHo4LjPA6 foQb+v6+enF1Iwq+RUOBGwJ2eAUrE0pOqvFAua6DPnK8iDouoP0k9n7fFTVi+yhyVSeE 2MN/A0KEqhjf8CVx3mqPjYteAyT9d6R5d3ugSu8yj3ukdxyiTNMxgGuBortPiRDkbaNh YZgMBZXKhYXjumGf+aXcwoi4M1tcohU2xXbOEOyYrOepB2twQt9DPpwlbBsWfHCa2rf1 rVow== X-Gm-Message-State: AOAM533KlI4aulGGsxa/OJUImM7N8eXTKvwVDNUZzdAu8ALcfTErCrve qzJ4YGs+wtsAwqk90BFab4I= X-Google-Smtp-Source: ABdhPJzb/GXCWeyVagPQxoTH2BOEPW2tSk/FHnEEwwU1GZCmWo1jUVcmDxw9bAjaD0eDJzIu3tQTLQ== X-Received: by 2002:a05:622a:1f0a:b0:2ef:8308:8cb3 with SMTP id ca10-20020a05622a1f0a00b002ef83088cb3mr3710132qtb.317.1649777950259; Tue, 12 Apr 2022 08:39:10 -0700 (PDT) Received: from localhost (22.b2.a86c.ip4.static.sl-reverse.com. [108.168.178.34]) by smtp.gmail.com with ESMTPSA id bs10-20020a05620a470a00b00680ae2f3decsm22017021qkb.8.2022.04.12.08.39.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 08:39:09 -0700 (PDT) From: Ihor Radchenko To: Hanspeter Gisler Subject: Re: [BUG] Incorrect timestamp face in a heading if previous body contains link to such a heading [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)] In-Reply-To: <87k0bv74kh.fsf@hu.mail-host-address-is-not-set> References: <87k0bv74kh.fsf@hu.mail-host-address-is-not-set> X-Woof-Bug: confirmed Date: Tue, 12 Apr 2022 23:39:32 +0800 Message-ID: <87v8ve9uq3.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=yantar92@gmail.com; helo=mail-qt1-x834.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649778006; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=AJMWUTC3Sm8FR9WRqzWtTzh6UAlDEwZgSCltYqPpAHc=; b=KiWCHDf1/yj/ayUge8y+BPARqEzoDSAiEotCXTBLEXT5BfKG0WDmVQ4rGjHlf6JLVrytJP nW0Me6fOntF74+EzS5EXKEeObTq9f6QBSEMU1Go3w91v4xNWMdBQaO08jwxa+x0PgttX7Q HLjog9W232Jk0bJA4kJjN+SYGnRoOQWj/e90gzb1/JyWtV9nIDdwzhyaqVX+mUlQd1wXIe TL0V5wnCzg7SzvvXn3uQf2EtIn8RmgMair1lNYW7h3T3rV4V6Gi2udvgsr4/h/xX5XTh19 cfdX9oohBsL/2dDIJ2u93XGfN1OxNSX7oqvAbJq4INGGEemyUAYwsLzBQPBFXw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649778006; a=rsa-sha256; cv=none; b=KA/AAyZ9PWYXAVIC6LsI6oCyCtghJt4GhCaU4+c2rNHVqrVLTfpOcoYVPqg9tNyj4uSekP w+sj8AgCGTDq0MtusXnxrHnLl7TpPkwqX4spyjkQ2InrMGKdtHapRlUVlAeWoHamtTfwQe DlgWX+h0KzzRQxsdRoUl0bgp2A6p1qEAlLpEC07BgZtX0Dn9+kbzm+9eg6mEKTKfWw6f1r 09xia9C4tHMgyafZ2vf1QXEoOnszbfBovNKIoD0fpH+gPvVeBGHRYPm5WZBQSOP4LNRc4K hw+UXfu/QjUSaVvikNL9tkloHe//3HHmHRFQ9DOFHF07zOfb9uHPy3m+J2imiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=F1+vHIUa; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -8.86 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=F1+vHIUa; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 477AE11862 X-Spam-Score: -8.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: kdsyCGL5Rhrk Hanspeter Gisler writes: > OBSERVED BEHAVIOR > ================= > > The following 2 files 'correct_face_rendering.org' and > 'incorrect_face_rendering.org' render the 3rd headings timestamp face > differently, once correctly and once incorrectly. > > incorrect_face_rendering.org > ---------------------------- > > * [2022-04-11 Mo] Heading 1 - referred to by some other heading's body > :PROPERTIES: > :ID: 9549d52f-439d-4011-ad72-9a9a7baad58b > :END: > * [2022-04-11 Mo] Heading 2 - referring to Heading 1 > Link to: [[id:9549d52f-439d-4011-ad72-9a9a7baad58b][[2022-04-11 Mo] Heading 1 - referred to by some other heading's body]] > * [2022-04-11 Mo] Heading 3's timestamp face is incorrect Confirmed. This is yet another example (among many before) where our current fontification engine is failing. See https://orgmode.org/list/87ee7c9quk.fsf@localhost The fix is WIP. Current version is at https://github.com/yantar92/org/tree/feature/org-font-lock-element Your example is fontified correctly in the WIP version :) Best, Ihor