From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: name of face for dates in org agenda? Date: Sun, 28 Jun 2009 14:00:05 -0400 Message-ID: <8021.1246212005@gamaville.dokosmarshall.org> References: <4A470CEF.6040707@gmail.com> <87tz20bizk.fsf@fastmail.fm> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKyh5-0007ne-WB for emacs-orgmode@gnu.org; Sun, 28 Jun 2009 14:01:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKyh0-0007Z3-P2 for emacs-orgmode@gnu.org; Sun, 28 Jun 2009 14:01:34 -0400 Received: from [199.232.76.173] (port=60604 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKyh0-0007Yk-Ke for emacs-orgmode@gnu.org; Sun, 28 Jun 2009 14:01:30 -0400 Received: from vms173019pub.verizon.net ([206.46.173.19]:60069) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MKyh0-0002wb-9W for emacs-orgmode@gnu.org; Sun, 28 Jun 2009 14:01:30 -0400 Received: from gamaville.dokosmarshall.org ([98.110.172.221]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KLY00ELGNBKRW6G@vms173019.mailsrvcs.net> for emacs-orgmode@gnu.org; Sun, 28 Jun 2009 12:59:44 -0500 (CDT) In-reply-to: Message from Matthew Lundin of "Sun, 28 Jun 2009 08:11:59 CDT." <87tz20bizk.fsf@fastmail.fm> 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: Matthew Lundin Cc: emacs-orgmode Matthew Lundin wrote: > Brian van den Broek writes: > > > I've changed my overall emacs colour scheme and, as a result, the > > dates in the weekly agenda view are a bit hard to read (dark blue on > > black). I've looked through the interface that M-x org-customize > > brings up, but I don't seem able to find the governing face variable > > name. Little help? > > On a general note (I'll add an FAQ about this), here are two tips for > finding the names of faces in org-mode (or any other emacs mode): > > 1) While on the relevant text, simply type M-x customize-face and you > will be given the option of customizing all faces at the point. > > 2) Type M-x list-faces-display and browse through the org-mode faces. > In addition to Matthew's points, the following might be useful: 3) While on the relevant text, `C-u C-x =' (what-cursor-position with a prefix argument) shows (extra) information about the text under the cursor, including the face: ,---- | character: 0 (48, #o60, #x30) | preferred charset: ascii (ASCII (ISO646 IRV)) | code point: 0x30 | syntax: w which means: word | category: .:Base, a:ASCII, l:Latin, r:Roman | buffer code: #x30 | file code: #x30 (encoded by coding system utf-8-unix) | display: by this font (glyph code) | x:-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1 (#x30) | | Character code properties: customize what to show | name: DIGIT ZERO | general-category: Nd (Number, Decimal Digit) | | There are text properties here: | face org-date | fontified t | keymap [Show] | mouse-face highlight | org-category [Show] | org-no-flyspell t `---- 4) While on the relevant text, M-x describe-face (also available from the menu Help/Describe/Describe face...) gives you information about the face and also allows you to customize it: ,---- | Face: org-date (sample) (customize this face) | Documentation: Face for links. | Defined in `org-faces.el'. | | Family: unspecified | Foundry: unspecified | Width: unspecified | Height: unspecified | Weight: unspecified | Slant: unspecified | Foreground: Cyan | Background: unspecified | Underline: t | Overline: unspecified | Strike-through: unspecified | Box: unspecified | Inverse: unspecified | Stipple: unspecified | Font: unspecified | Fontset: unspecified | Inherit: unspecified `---- BTW, I noticed that the face documentation for org-date is wrong - probably a cut-n-paste error. Thanks, Nick