From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: incomplete comment colorization in terminals Date: Tue, 11 Mar 2008 23:44:07 -0700 Message-ID: <200803120644.m2C6i8fa000584@sallyv1.ics.uci.edu> References: <20080311231514.B718249C0BB@daedalus.stanford.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205309130 23512 80.91.229.12 (12 Mar 2008 08:05:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Mar 2008 08:05:30 +0000 (UTC) Cc: Rob Riepel , emacs-pretest-bug@gnu.org To: Eli Zaretskii , Stefan Monnier , Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 12 09:05:57 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JZLxs-0002Ru-9S for ged-emacs-devel@m.gmane.org; Wed, 12 Mar 2008 09:05:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZLxJ-0004gJ-F9 for ged-emacs-devel@m.gmane.org; Wed, 12 Mar 2008 04:04:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZLxB-0004dn-Ru for emacs-devel@gnu.org; Wed, 12 Mar 2008 04:04:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZLx7-0004aP-IE for emacs-devel@gnu.org; Wed, 12 Mar 2008 04:04:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZLx6-0004Zi-Ru for emacs-devel@gnu.org; Wed, 12 Mar 2008 04:04:45 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JZLx6-0008W0-FV for emacs-devel@gnu.org; Wed, 12 Mar 2008 04:04:44 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JZKhd-00061s-6n for emacs-pretest-bug@gnu.org; Wed, 12 Mar 2008 02:44:41 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JZKhZ-0006Uw-SF for emacs-pretest-bug@gnu.org; Wed, 12 Mar 2008 02:44:40 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JZKhZ-0006Up-FL; Wed, 12 Mar 2008 02:44:37 -0400 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JZKhY-000267-Kb; Wed, 12 Mar 2008 02:44:36 -0400 X-ICS-MailScanner-Watermark: 1205909048.70065@jCCtDs1UQJLAwYsnzUZOvw Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m2C6i8fa000584; Tue, 11 Mar 2008 23:44:08 -0700 (PDT) In-Reply-To: (Eli Zaretskii's message of "Wed, 12 Mar 2008 06:26:08 +0200") Original-Lines: 28 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by mx20.gnu.org: Solaris 10 (beta) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:92250 gmane.emacs.pretest.bugs:21537 Archived-At: Eli Zaretskii writes: > > From: Rob Riepel > > Date: Tue, 11 Mar 2008 16:15:14 -0700 (PDT) > > Cc: > > > > When using font-locking in a terminal window (xterm and the like) > > single-line comments are only highlighted to the first non-space > > character after a space. This happens in more than one language- > > specific mode - I've tried Emacs-lisp and CPerl modes. > > > > The bug does not occur when running Emacs under X, only in a terminal, > > and only for certain terminal types. The bug is present when TERM is > > set to xterm or xterm-color, but not when TERM is set to xterm-16color. > > This is not a bug, but a deliberate feature. There's a new face named > font-lock-comment-delimiter-face. This feature was introduced because on the Linux console the comment face was hard to read (red on black). But this feature also applies to the 8 color xterm with a white background, which nobody complained about! The comment face is quite readable on such a terminal. The face was changed in that case for no reason. So can we please switch the 8 color light background case back to normal? Stefan and Yidong, what do you think?