[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Global Font Lock by default
From: |
Dan Nicolaescu |
Subject: |
Re: Global Font Lock by default |
Date: |
Mon, 31 Oct 2005 13:24:04 -0800 |
Romain Francoise <address@hidden> writes:
> Dan Nicolaescu <address@hidden> writes:
>
> > IMO font-lock-comment-face is missing a default as in the patch below.
>
> It's probably the wrong fix -- the face definition appears to work fine
> on window-system displays. What makes it behave differently on ttys?
It seems that the difference is the fact that on 8 color ttys the face
does not specify any properties.
Try adding the faces test1 and test2 to font-lock.el:
(defface test1
'((((class color) (min-colors 88))
(:foreground "Firebrick"))
(((class color) (min-colors 8))
(:background "magenta4" :foreground "cyan1"))
(t (:weight bold :slant italic)))
"test1"
:group 'font-lock-highlighting-faces)
(defface test2
'((((class color) (min-colors 88))
(:foreground "Firebrick"))
(((class color) (min-colors 8))
)
(t (:weight bold :slant italic)))
"test2"
:group 'font-lock-highlighting-faces)
then you can observe that test1 is not bold, but face2 is on an 8
color xterm.
- Global Font Lock by default, Richard M. Stallman, 2005/10/29
- Re: Global Font Lock by default, Kim F. Storm, 2005/10/29
- Re: Global Font Lock by default, David Kastrup, 2005/10/29
- Re: Global Font Lock by default, Richard M. Stallman, 2005/10/30
- Re: Global Font Lock by default, Dan Nicolaescu, 2005/10/31
- Re: Global Font Lock by default, Romain Francoise, 2005/10/31
- Re: Global Font Lock by default, Dan Nicolaescu, 2005/10/31
- Re: Global Font Lock by default, Romain Francoise, 2005/10/31
- Re: Global Font Lock by default, Dan Nicolaescu, 2005/10/31
- Re: Global Font Lock by default, Romain Francoise, 2005/10/31
- Re: Global Font Lock by default,
Dan Nicolaescu <=
- Re: Global Font Lock by default, Romain Francoise, 2005/10/31
- Re: Global Font Lock by default, Dan Nicolaescu, 2005/10/31
- Re: Global Font Lock by default, Stefan Monnier, 2005/10/31
- Re: Global Font Lock by default, Dan Nicolaescu, 2005/10/31
- Re: Global Font Lock by default, Stefan Monnier, 2005/10/31
- Re: Global Font Lock by default, Miles Bader, 2005/10/31
- Re: Global Font Lock by default, Eli Zaretskii, 2005/10/31