[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: name of face for dates in org agenda?
From: |
Nick Dokos |
Subject: |
Re: [Orgmode] Re: name of face for dates in org agenda? |
Date: |
Sun, 28 Jun 2009 14:00:05 -0400 |
Matthew Lundin <address@hidden> wrote:
> Brian van den Broek <address@hidden> 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