GNU bug report logs - #44708
bug#44708: Background Colour on State, bleeds into Headline Numbering in Org

Previous Next

Package: org-mode;

Reported by: Christopher Dimech <dimech <at> gmx.com>

Date: Tue, 17 Nov 2020 16:38:01 UTC

Severity: normal

To reply to this bug, email your comments to 44708 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#44708; Package emacs. (Tue, 17 Nov 2020 16:38:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Dimech <dimech <at> gmx.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 17 Nov 2020 16:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Dimech <dimech <at> gmx.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Background Colour on State, bleeds into Headline Numbering
Date: Tue, 17 Nov 2020 17:37:45 +0100
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





Changed bug title to 'bug#44708: Background Colour on State, bleeds into Headline Numbering in Org' from 'Background Colour on State, bleeds into Headline Numbering' Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 24 Nov 2020 08:10:02 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 204 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.