[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Customizing checkbox statistics faces

From: Thomas Jost
Subject: [Orgmode] Customizing checkbox statistics faces
Date: Tue, 23 Feb 2010 16:10:44 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100120 Lightning/1.0b1 Shredder/3.0.1

Hello world,

In my TODO-list, I like to have custom colors for TODO keywords, such as
described in http://orgmode.org/worg/org-hacks.php#sec-19.
However I find it annoying to have different colors for the checkbox
statistics: instead of org-checkbox-statistics-done and
org-checkbox-statistics-todo, I'd like to have the same colors as for
the TODO keywords.

In order to do that, I tried to use org-font-lock-hook, I tried to
redefine the org-get-checkbox-statistics-face function, ... but it did
not work, because the regexp used to detect checkbox statistics does not
capture the TODO keyword.

So I wrote a little patch that changes this behavior. It matches the
TODO-keywords too, so that I can redefine
org-get-checkbox-statistics-face in my .emacs to do what I want.

The patch is available in my git repo:

Could you please merge it in the official git tree?

My .emacs is available on GitHub. The necessary code for customizingthe
checkbox statistics faces is here:



Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]