From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fisherss Newsgroups: gmane.emacs.help Subject: Emacs 22 font-lock comment color problem Date: Wed, 6 Dec 2006 15:50:33 +0800 Message-ID: <25fd1f750612052350i5e2d9f40i1efe8ddd62c2d44@mail.gmail.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1165404993 15857 80.91.229.10 (6 Dec 2006 11:36:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Dec 2006 11:36:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 06 12:36:32 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Grv4f-0002uy-5J for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Dec 2006 12:36:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Grv4e-0002c9-Km for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Dec 2006 06:36:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GrrY5-0001E2-7F for help-gnu-emacs@gnu.org; Wed, 06 Dec 2006 02:50:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GrrY3-0001Cz-DB for help-gnu-emacs@gnu.org; Wed, 06 Dec 2006 02:50:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GrrY3-0001Cn-9J for help-gnu-emacs@gnu.org; Wed, 06 Dec 2006 02:50:35 -0500 Original-Received: from [66.249.92.170] (helo=ug-out-1314.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GrrY3-0000NB-6b for help-gnu-emacs@gnu.org; Wed, 06 Dec 2006 02:50:35 -0500 Original-Received: by ug-out-1314.google.com with SMTP id j3so70887ugf for ; Tue, 05 Dec 2006 23:50:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dcvBnUQ2yvcMPOfSvAWeklLJSMTsuPw3aG9EGs6vW5MrQYTI/PQv5QXtfMjoUNpLSNITrMyKPkTyZL+Bl/Zc6DrpAnFILCMnWOlPs8kDdWoeNi1jfdVoObi3WZf0UKRMVqPj0q5BQyMXYCnN+hPFMRLWS3zAJC/mrSeIl0OeIdc= Original-Received: by 10.67.100.17 with SMTP id c17mr245051ugm.1165391433479; Tue, 05 Dec 2006 23:50:33 -0800 (PST) Original-Received: by 10.67.100.13 with HTTP; Tue, 5 Dec 2006 23:50:33 -0800 (PST) Original-To: help-gnu-emacs@gnu.org Content-Disposition: inline X-Mailman-Approved-At: Wed, 06 Dec 2006 06:36:01 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39281 Archived-At: 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