* Re: Emacs 22 font-lock comment color problem
[not found] <mailman.1594.1165404962.2155.help-gnu-emacs@gnu.org>
@ 2006-12-06 13:21 ` Johan Bockgård
0 siblings, 0 replies; 2+ messages in thread
From: Johan Bockgård @ 2006-12-06 13:21 UTC (permalink / raw)
Fisherss <fisherssml@gmail.com> writes:
> The contents of commented lines are not full-colored, I mean, only
> the delimiters, "/*'" and "*/" are red, the characters between them
> are still white.
Just change the color of font-lock-comment-face (and
font-lock-comment-delimiter-face) in your ~/.emacs.
> --- ./lisp/font-lock.el 2005-07-19 13:31:31.000000000 +0200
> +++ lispfont-lock.el 2005-08-05 10:35:31.000000000 +0200
If you do it that way, you have to rebuild Emacs.
--
Johan Bockgård
^ permalink raw reply [flat|nested] 2+ messages in thread
* Emacs 22 font-lock comment color problem
@ 2006-12-06 7:50 Fisherss
0 siblings, 0 replies; 2+ messages in thread
From: Fisherss @ 2006-12-06 7:50 UTC (permalink / raw)
Hi all
When I edit C files with emacs 22 in console, I found a problem which
makes me very uncomfortable. The contents of commented lines are not
full-colored, I mean, only the delimiters, "/*'" and "*/" are red, the
characters between them are still white.
I found that there is a emacs-snapshot patch from debian, it does this
to the ./lisp/font-lock.el file :
----
--- ./lisp/font-lock.el 2005-07-19 13:31:31.000000000 +0200
+++ lispfont-lock.el 2005-08-05 10:35:31.000000000 +0200
@@ -1700,9 +1700,9 @@
(((class color) (min-colors 16) (background dark))
(:foreground "red1"))
(((class color) (min-colors 8) (background light))
- )
+ (:foreground "red"))
(((class color) (min-colors 8) (background dark))
- )
+ (:foreground "red1"))
(t (:weight bold :slant italic)))
"Font Lock mode face used to highlight comments."
:group 'font-lock-highlighting-faces)
----
Looks like it has solved this problem for many people, but not for me.
I still cannt get full-colored comment lines.
Anyone any idea for this ? Is that because of my framebuffer setting
or some other things ?
Thank you.
--
Fisherss
fisherss@gmail.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-06 13:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.1594.1165404962.2155.help-gnu-emacs@gnu.org>
2006-12-06 13:21 ` Emacs 22 font-lock comment color problem Johan Bockgård
2006-12-06 7:50 Fisherss
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.