I have DOING defined as a DONE state. (Odd, I know.) I'm trying to get the font face for the DOING headline to appear the same as DONE. How can I do this? (Using Doom.)
2 Answers
Customize the variable org-todo-keywords
and include DOING
in the same sequence as DONE
, and/or customize the variable org-todo-keyword-faces
to set the appearance of DOING
. The latter solution (customizing org-todo-keyword-faces
) gives Org no persistent association between DOING
and DONE
; in other words, if the appearance of DONE
changes, DOING
will not change until you go in to make it match again. The former solution (customizing org-todo-keywords
) should be sufficient.
[I believe that @gusbrs had offered the correct solution but he deleted his answer. I hope he undeletes it, but for the time being, I'm posting his answer in his stead: I will happily delete this answer if he undeletes his.]
Set org-fontify-done-headline
to nil
:
(setq org-fontify-done-headline nil)
or use Customize
to do the same thing permanently.
The doc string of the variable says:
Non-nil means change the face of a headline if it is marked DONE. Normally, only the TODO/DONE keyword indicates the state of a headline. When this is non-nil, the headline after the keyword is set to the ‘org-headline-done’ as an additional indication.
Its default value is t
, so the whole headline's face is changed for better visibility. If you set it to nil
, then only the DONE
keyword changes face.
-
@gusbrs I believe that what you propose here is necessary but insufficient. The same applies to my proposed answer above. I think the correct answer is both. Without my answer, DOING will not be recognized as a "done" state, and without your answer, DOING headlines will not be fontified, only the DOING keyword. Do you concur? Mar 27, 2022 at 20:56
-
@PhilHudson Your accepted answer worked. So simple – and (now) obvious.– GavinMar 28, 2022 at 14:52
-
DOING
state? Is it aTODO
state or aDONE
state?TODO
state.