emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Matthew Lundin <mdl@imapmail.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Re: name of face for dates in org agenda?
Date: Sun, 28 Jun 2009 14:00:05 -0400	[thread overview]
Message-ID: <8021.1246212005@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Matthew Lundin <mdl@imapmail.org> of "Sun, 28 Jun 2009 08:11:59 CDT." <87tz20bizk.fsf@fastmail.fm>

Matthew Lundin <mdl@imapmail.org> wrote:

> Brian van den Broek <vanden@gmail.com> 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

  reply	other threads:[~2009-06-28 18:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-28  6:25 Brian van den Broek
2009-06-28  7:32 ` Manish
2009-06-28 13:11 ` Matthew Lundin
2009-06-28 18:00   ` Nick Dokos [this message]
2009-06-28 18:28     ` Carsten Dominik
2009-06-29  0:54     ` Brian van den Broek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8021.1246212005@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.org \
    --subject='Re: Re: name of face for dates in org agenda?' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).