emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Hanspeter Gisler <hpgisleropen@bluewin.ch>
To: emacs-orgmode@gnu.org
Subject: [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: Mon, 11 Apr 2022 22:22:54 +0200	[thread overview]
Message-ID: <87k0bv74kh.fsf@hu.mail-host-address-is-not-set> (raw)

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.

correct_face_rendering.org
--------------------------

* ~ [2022-04-11 Mo] teading 1 - referred to by some other heading's body
:PROPERTIES:
:ID:       41482d18-460a-4803-81dc-f4512b771151
:END:
* ~ [2022-04-11 Mo] Heading 2 - referring to Heading 1
Link to: [[id:41482d18-460a-4803-81dc-f4512b771151][~ [2022-04-11 Mo] Heading 1 - referred to by some other heading's body]]
* ~ [2022-04-11 Mo] Heading 3's timestamp face is correct


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


EXPECTED BEHAVIOR
=================

With both files, org should render the headings timestamp face correctly.


SYSTEM
======

Emacs  : GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6)
 of 2022-04-04
Package: Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)


             reply	other threads:[~2022-04-11 20:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-11 20:22 Hanspeter Gisler [this message]
2022-04-12 15:39 ` [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/)] Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0bv74kh.fsf@hu.mail-host-address-is-not-set \
    --to=hpgisleropen@bluewin.ch \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).