emacs-orgmode
[Top][All Lists]
Advanced

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

Bug: [PATCH] org-agenda: "Invalid face reference: t" errors [9.4 (releas


From: No Wayman
Subject: Bug: [PATCH] org-agenda: "Invalid face reference: t" errors [9.4 (release_9.4-49-g4b150d @ /home/n/.emacs.d/straight/build/org/)]
Date: Tue, 06 Oct 2020 01:44:24 -0400
User-agent: mu4e 1.5.5; emacs 28.0.50


I noticed recently that my message buffer was getting clobbered with thousands of Invalid face reference errors when moving point around an org-agenda buffer. e.g.:

Invalid face reference: t [4519 times]

Git bisect points to commit 7a12e149907b5921011710d869b7554c35859c89

org.el (org-display-outline-path): Fix faces of the message

* lisp/org.el (org-display-outline-path): Set :height as the
default face height, and don't change other face attributes.

See a3576543f for a previous fix, and this discussion:
<https://orgmode.org/list/21ef0e94-e766-455c-a45c-fe30e316c121@Spark>

As a workaround, setting `org-agenda-show-outline-path' to nil prevents the errors. I believe the face spec in the call to `add-face-text-property' in `org-display-outline-path' is incorrect. The attached patch replaces it with an anonymous face, which works on my end.

Attachment: 0001-org.el-org-display-outline-path-Fix-invalid-face-ref.patch
Description: org-agenda-invalid-face-ref-fix


reply via email to

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