From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Jost Subject: Customizing checkbox statistics faces Date: Tue, 23 Feb 2010 16:10:44 +0100 Message-ID: <4B83EFF4.3000305@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1367691987==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NjwPa-0002p1-1t for emacs-orgmode@gnu.org; Tue, 23 Feb 2010 10:10:58 -0500 Received: from [140.186.70.92] (port=56194 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjwPZ-0002oY-52 for emacs-orgmode@gnu.org; Tue, 23 Feb 2010 10:10:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NjwPX-0007mv-Fu for emacs-orgmode@gnu.org; Tue, 23 Feb 2010 10:10:57 -0500 Received: from mail-fx0-f222.google.com ([209.85.220.222]:49047) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjwPW-0007mb-MS for emacs-orgmode@gnu.org; Tue, 23 Feb 2010 10:10:55 -0500 Received: by fxm22 with SMTP id 22so3932619fxm.26 for ; Tue, 23 Feb 2010 07:10:53 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1367691987== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig25FF640B2C4491FAFD516513" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig25FF640B2C4491FAFD516513 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: http://code.schnouki.net/p/org-mode/source/commit/937dffeeb112e6ee6d02c0f= e31767cee3b57275c/ 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: http://github.com/Schnouki/emacs-config/commit/d7ce3da1dbd40b3c4e425d069c= 3cf17b940644f8 Regards, --=20 Thomas/Schnouki --------------enig25FF640B2C4491FAFD516513 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuD7/QACgkQuew3J1eVs7I3ewCeIlwI6nmf0/5lRl97/kudSqjU HQ0AoLKELn5Ky4xXgmPqI0onFK0TGBpF =Odrq -----END PGP SIGNATURE----- --------------enig25FF640B2C4491FAFD516513-- --===============1367691987== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1367691987==--