emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] Incorrect timestamp face in a heading if previous body contain


From: Ihor Radchenko
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/)]
Date: Tue, 12 Apr 2022 23:39:32 +0800

Hanspeter Gisler <hpgisleropen@bluewin.ch> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]