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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Christopher Dimech <dimech@HIDDEN>; dated Tue, 17 Nov 2020 16:38:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
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@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Nov 2020 16:37:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 17 11:37:55 2020
Received: from localhost ([127.0.0.1]:60995 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kf3zP-00062r-5v
	for submit <at> debbugs.gnu.org; Tue, 17 Nov 2020 11:37:55 -0500
Received: from lists.gnu.org ([209.51.188.17]:37666)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dimech@HIDDEN>) id 1kf3zL-00062i-RH
 for submit <at> debbugs.gnu.org; Tue, 17 Nov 2020 11:37:53 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:39792)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dimech@HIDDEN>) id 1kf3zL-0000JB-Kf
 for bug-gnu-emacs@HIDDEN; Tue, 17 Nov 2020 11:37:51 -0500
Received: from mout.gmx.net ([212.227.15.15]:36253)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dimech@HIDDEN>) id 1kf3zI-0001iY-1R
 for bug-gnu-emacs@HIDDEN; Tue, 17 Nov 2020 11:37:51 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1605631065;
 bh=JOQmeH+dhWtyIgl8v05VlS8qDgQJ0ZSyJPRbzQGWKiI=;
 h=X-UI-Sender-Class:From:To:Subject:Date;
 b=EQmrp2oaqYH6utO0UVoMPJURe20QWlLYHQphcodFijt9RAjWO219xznXLFpquYd/X
 6himuW1FZtscBJFkkiQ7Fe0fej7g2Ooo2aLy9ViA33mD0ztkqX+IDPzpihkrRdhjuT
 wyAttzio0ihjYe5PfL+A4BA9eiYdSKTh6FiBK7Bs=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net
 (3c-app-mailcom-bs03.server.lan [172.19.170.169]) (via HTTP); Tue, 17 Nov
 2020 17:37:45 +0100
MIME-Version: 1.0
Message-ID: <trinity-e62c6f85-73d9-4b27-bc7c-ad4726df9959-1605631065424@3c-app-mailcom-bs03>
From: Christopher Dimech <dimech@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: Background Colour on State, bleeds into Headline Numbering
Content-Type: text/plain; charset=UTF-8
Date: Tue, 17 Nov 2020 17:37:45 +0100
Importance: normal
Sensitivity: Normal
X-Priority: 3
X-Provags-ID: V03:K1:DzBwlziYdhYq+4xs3YTsIZrk46Vx1SfbOyACGpJEAEiHmNXxxPDGrtAzl/HvFK6NYHMas
 RouylYt6R/je5guMhf5yDH1+FHZRt/8B58wSxdVCqODE1Cr6yyD6wPSxKniJwVXKfQYkToJfVyU3
 pY/vPImP1o9pFHGMYZM+2RsQNWlobsE952dzqLofIbRilZv0JtJpgJsJIfigIaE4VsbYDS4JyQkW
 9n/4mVoqKn40KYw0F8XH76dMcZ2nGqwkJgJiIMP2+ql1EBxmf8zWvKtfG1Qkjc2v3Qp2Vk/Q//se
 J4=
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:aMaMskcZu/A=:gL41J2em3jxeIW8MxBtDIA
 NDSPTl269Ihhhpgq6VySVdFK4HRzxDF6c5Y670BcpDf62es8FYeywu+KnEr36rFlZSg0GLjL4
 b374pOXNGb1I+Q743iJGZsDUbKC9oIk63B+WEebeqxcTsiH4F/iom0trB1RRLjd5HtenOwMEz
 1vF1Eb812PSKAJtJOJu5R8MEGQEiSAIKzEH74h5EPe22o7hymQlw28uYNsw06zbbJb34HNWGk
 vZiMsQpr9VZwvcmAezPkPKuUaFOb7BhwjMi43mrzm/NpQ2S7mRQ1sQphA98F6rXfi950Noq9+
 KZ1G65R23lvc8a0gJ0L0H6gWeWWqrxLznJI4EC0875n4aLx+eO/+x2FgwkARgoCCFLLRGiZWa
 sk/h06ki2IlX30H+5O9wGp8Ai+JBxThAYcZVQzcxmJRPeNirgBkBj1LiQBX1OTvJPmMwNvr1y
 LwtWqxgNzmId4uVBJstpUiH/0yf9cCEBIV3JYX6vYFifVB7GpvhNurNQtCP2SIY59XYN7YuAP
 757xIxQmvKLK2DXU7OXlscQMwwM3cFXVxbhW6FDeWV2UUZV0FB8KUItbwzMy98nVigfqemUPX
 RrTrYg2z+CuOo=
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=212.227.15.15; envelope-from=dimech@HIDDEN;
 helo=mout.gmx.net
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/17 11:37:45
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic] [fuzzy]
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,
 RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

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 bol=
d))
      ("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.

=2D--------------------
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





Acknowledgement sent to Christopher Dimech <dimech@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#44708; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 24 Nov 2020 08:15:02 UTC

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