[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 1f4ea53 3/8: Document changes of headline fontifica
From: |
Stefan Monnier |
Subject: |
[elpa] externals/org 1f4ea53 3/8: Document changes of headline fontification introduced in 979e82fc3 |
Date: |
Tue, 22 Dec 2020 16:13:11 -0500 (EST) |
branch: externals/org
commit 1f4ea532a4ad67e25389b79b87cd12026375934a
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Bastien <bzg@gnu.org>
Document changes of headline fontification introduced in 979e82fc3
* etc/ORG-NEWS (=org-goto-first-child= now works before first
heading): Document that all the headline components inherit the
headline face instead of default face. Provide example how to restore
the old behaviour.
---
etc/ORG-NEWS | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index d685f30..fd19b2f 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -157,6 +157,35 @@ headings in the buffer.
Previously =org-goto-first-child= would do nothing before first
heading, except return nil.
+*** Faces of all the heading text elements now conform to the headline face
+
+In the past, faces of todo keywords, emphasised text, tags, and
+priority cookies inherited =default= face. The resulting headline
+fontification was not always consistent, as discussed in
[[https://lists.gnu.org/archive/html/emacs-orgmode/2020-09/msg00331.html][this
bug
+report]]. Now, the relevant faces adapt to face used to fontify the
+current headline level.
+
+Users who prefer to keep the old behaviour should change their face
+customisation explicitly stating that =default= face is inherited.
+
+Example of old face customisation:
+
+#+begin_src emacs-lisp
+(setq org-todo-keyword-faces '(("TODO"
+ :background "chocolate"
+ :height 0.75)))
+#+end_src
+
+To preserve the old behaviour the above customisation should be
+changed to
+
+#+begin_src emacs-lisp
+(setq org-todo-keyword-faces '(("TODO"
+ :inherit default
+ :background "chocolate"
+ :height 0.75)))
+#+end_src
+
* Version 9.4
** Incompatible changes
*** Possibly broken internal file links: please check and fix
- [elpa] externals/org updated (6b83c6e -> 9140a71), Stefan Monnier, 2020/12/22
- [elpa] externals/org 713b3bf 2/8: org-contacts.el: Inherit face from org-link, Stefan Monnier, 2020/12/22
- [elpa] externals/org 9140a71 8/8: etc/ORG-NEWS: Add example for new startup option, Stefan Monnier, 2020/12/22
- [elpa] externals/org 1f4ea53 3/8: Document changes of headline fontification introduced in 979e82fc3,
Stefan Monnier <=
- [elpa] externals/org bb54a95 4/8: Merge branch 'maint', Stefan Monnier, 2020/12/22
- [elpa] externals/org b6e5ca2 1/8: lint: Remove unnecessary call to `tabulated-list-print', Stefan Monnier, 2020/12/22
- [elpa] externals/org f58c800 6/8: Merge branch 'maint', Stefan Monnier, 2020/12/22
- [elpa] externals/org d7270a2 7/8: Merge branch 'maint', Stefan Monnier, 2020/12/22
- [elpa] externals/org 0517b73 5/8: Merge branch 'maint', Stefan Monnier, 2020/12/22