help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs 22 font-lock comment color problem


From: Fisherss
Subject: Emacs 22 font-lock comment color problem
Date: Wed, 6 Dec 2006 15:50:33 +0800

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]