emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Faces
@ 2009-05-15  2:58 srandby
  0 siblings, 0 replies; 3+ messages in thread
From: srandby @ 2009-05-15  2:58 UTC (permalink / raw)
  To: [Orgmode]

Hi,

I've been customizing faces for org-mode. Everything is easy to do 
except I can't figure out how to customize the face of lines which begin 
with # such as the following:

#+STARTUP: hidestars overview

How do I customize the face of these lines?

Scott Randby

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Faces
@ 2009-05-15  3:51 srandby
  0 siblings, 0 replies; 3+ messages in thread
From: srandby @ 2009-05-15  3:51 UTC (permalink / raw)
  To: [Orgmode]

Please disregard my previous message. I figured out how to change the face.

Scott Randby

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Faces
@ 2009-05-16  0:01 srandby
  0 siblings, 0 replies; 3+ messages in thread
From: srandby @ 2009-05-16  0:01 UTC (permalink / raw)
  To: [Orgmode]

I received a request to tell the list how I managed to change the face 
for lines that begin with # in an org file, so here it is.

Lines that begin with # are comment lines. The face of comment lines is 
determined by font-lock-comment-face. In my .emacs, I now have:

'(font-lock-comment-face ((((class color) (min-colors 88) (background 
light)) (:foreground "cornflowerblue"))))

One may also do the following:

M-x customize
Go to the "Faces" group.
Go to the "Font Lock" group.
Go to the "Font Lock Faces" group.
Customize "Font Lock Comment Face."

I'm sure there are other ways to do this as well.

Scott Randby

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-16  0:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-15  3:51 Faces srandby
  -- strict thread matches above, loose matches on Subject: below --
2009-05-16  0:01 Faces srandby
2009-05-15  2:58 Faces srandby

Code repositories for project(s) associated with this public 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).