[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Comment body colourless in eight-colour terminal.
From: |
Trent Buck |
Subject: |
Re: Comment body colourless in eight-colour terminal. |
Date: |
Mon, 24 Oct 2005 10:45:36 +1000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Nick Roberts <address@hidden> writes:
> Trent Buck writes:
> > Using Debian GNU/Linux, in a stock xterm or on the console, run
> >
> > TERM=linux emacs -nw -Q -fg black -bg white -f global-font-lock-mode
> ~/.emacs
> > TERM=linux emacs -nw -Q -fg white -bg black -f global-font-lock-mode
> ~/.emacs
> >
> > The comment characters (;) are coloured red, but comment bodies (after ;'s)
> > are the same colour as ordinary text.
>
> This has been done to save battery power on aging Laptops.
Are there a lot of people using aging laptops? Could these people leave font
lock off (it is off by default) or set font-lock-comment-face's definition to
nil?
> > I contend that a better default would be for the comment bodies to be the
> > same colour as the comment characters. This is already the case when
> > running under X11 and under Emacs 21.
>
> You're out of luck. You'll have to customize font-lock-comment-face. I
> think you just need to get it to inherit from
> font-lock-comment-delimiter-face.
Actually, font-lock-comment-delimiter-face inherits from
font-lock-comment-face, so that would create a circular inheritance. Currently
I am simply face-spec-set to set the entire face.
--
Trent Buck, Student Errant