emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Faces
@ 2009-05-15  2:58 srandby
  0 siblings, 0 replies; 5+ 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] 5+ messages in thread

* Re: Faces
@ 2009-05-15  3:51 srandby
  0 siblings, 0 replies; 5+ 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] 5+ messages in thread

* Re: Faces
@ 2009-05-16  0:01 srandby
  2009-05-16 21:58 ` Faces Eraldo Helal
  0 siblings, 1 reply; 5+ 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] 5+ messages in thread

* Re: Re: Faces
  2009-05-16  0:01 Faces srandby
@ 2009-05-16 21:58 ` Eraldo Helal
  2009-05-16 22:37   ` Samuel Wales
  0 siblings, 1 reply; 5+ messages in thread
From: Eraldo Helal @ 2009-05-16 21:58 UTC (permalink / raw)
  To: srandby; +Cc: [Orgmode]


[-- Attachment #1.1: Type: text/plain, Size: 967 bytes --]

thank you for sharing the answer.

On Sat, May 16, 2009 at 02:01, <srandby@gmail.com> wrote:

> 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
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

[-- Attachment #1.2: Type: text/html, Size: 1544 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Re: Faces
  2009-05-16 21:58 ` Faces Eraldo Helal
@ 2009-05-16 22:37   ` Samuel Wales
  0 siblings, 0 replies; 5+ messages in thread
From: Samuel Wales @ 2009-05-16 22:37 UTC (permalink / raw)
  To: Eraldo Helal; +Cc: srandby, [Orgmode]

What I use is describe-text-properties.  This works for describing most faces.

-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering
worse than MS.  Conflicts of interest are destroying research.  /You/ can
get the disease at any time permanently.  Do science and justice matter to
you?  Posters: http://www.mefreeforall.org/fileadmin/PDFs/ME_Awareness_Posters_2009.pdf
Overview: http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm

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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-16  0:01 Faces srandby
2009-05-16 21:58 ` Faces Eraldo Helal
2009-05-16 22:37   ` Samuel Wales
  -- strict thread matches above, loose matches on Subject: below --
2009-05-15  3:51 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).