* bug#44708: Background Colour on State, bleeds into Headline Numbering
@ 2020-11-17 16:37 Christopher Dimech
0 siblings, 0 replies; only message in thread
From: Christopher Dimech @ 2020-11-17 16:37 UTC (permalink / raw)
To: 44708
I have set headline numbering and added org-todo-keywords
with background highlighting using org-todo-keyword-faces.
;; Number Headlines
(setq org-startup-numerated t)
;; Sets Todo Keywords and Colour
(setq org-todo-keywords
'( (seqeunce "TODO" "STARTED" "WAITING" "FINALISE" "|" "DONE")
(sequence "CRITICAL" "CR-STARTED" "CR-WAITING" "CR-FINALISE"
"|" "CR-DONE") ))
(setq org-todo-keyword-faces
'( ("TODO" . (:background "black" :foreground "red" :weight bold))
("STARTED" . (:background "black" :foreground "magenta" :weight bold))
("WAITING" . (:background "magenta" :foreground "black" :weight bold))
("FINALISE" . (:background "magenta" :foreground "black" :weight bold))
("DONE" . (:background "orange" :foreground "black" :weight bold))
("CRITICAL" . (:background "blak" :foreground "red" :weight bold))
("CR-STARTED" . (:background "red" :foreground "black" :weight bold))
("CR-WAITING" . (:background "red" :foreground "black" :weight bold))
("CR-FINALISE" . (:background "red" :foreground "black" :weight bold))
("CR-DONE" . (:background "orange" :foreground "black" :weight bold)) ))
I then write a headline with a state
* 1 Test
** 1.1 [DONE] Task
The problem is that Emacs will use the background colour for DONE to set
the background colour for the Headline Numbering as well, not to the
state DONE only.
---------------------
Christopher Dimech
General Administrator - Naiad Informatics - GNU Project (Geocomputation)
- Geophysical Simulation
- Geological Subsurface Mapping
- Disaster Preparedness and Mitigation
- Natural Resource Exploration and Production
- Free Software Advocacy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-17 16:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-17 16:37 bug#44708: Background Colour on State, bleeds into Headline Numbering Christopher Dimech
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.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).