From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: incomplete comment colorization in terminals Date: Thu, 13 Mar 2008 11:01:18 -0400 Message-ID: References: <20080311231514.B718249C0BB@daedalus.stanford.edu> <200803120445.m2C4jcDe015828@sallyv1.ics.uci.edu> <200803130640.m2D6eoM5011012@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205420530 7268 80.91.229.12 (13 Mar 2008 15:02:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Mar 2008 15:02:10 +0000 (UTC) Cc: Rob Riepel , emacs-pretest-bug@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 13 16:02:38 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 1JZowj-00081l-Ot for ged-emacs-devel@m.gmane.org; Thu, 13 Mar 2008 16:02:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZowA-0004FM-Ib for ged-emacs-devel@m.gmane.org; Thu, 13 Mar 2008 11:01:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZow6-0004EV-M6 for emacs-devel@gnu.org; Thu, 13 Mar 2008 11:01:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZow5-0004E0-OF for emacs-devel@gnu.org; Thu, 13 Mar 2008 11:01:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZow5-0004Dp-9H for emacs-devel@gnu.org; Thu, 13 Mar 2008 11:01:37 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JZow4-0005FG-QE for emacs-devel@gnu.org; Thu, 13 Mar 2008 11:01:36 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JZow4-0005aR-KP for emacs-pretest-bug@gnu.org; Thu, 13 Mar 2008 11:01:36 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JZow1-0005Dw-GX for emacs-pretest-bug@gnu.org; Thu, 13 Mar 2008 11:01:36 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JZow1-0005Di-2Q for emacs-pretest-bug@gnu.org; Thu, 13 Mar 2008 11:01:33 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id C9BAD2CF7DE; Thu, 13 Mar 2008 11:01:32 -0400 (EDT) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 62CC13FE1; Thu, 13 Mar 2008 11:01:18 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 4FC016C9DC; Thu, 13 Mar 2008 11:01:18 -0400 (EDT) In-Reply-To: <200803130640.m2D6eoM5011012@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Wed, 12 Mar 2008 23:40:50 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:92412 gmane.emacs.pretest.bugs:21555 Archived-At: >> >> 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. >> >> > A good way to avoid this, and the recommended way run emacs in a >> > terminal emulator, is to set TERM to xterm-256color. All current >> > xterm compatible terminal emulators support 256 colors, when using that >> > your colors will look almost the same in the terminal as the do in X. >> >> The NEWS entry for font-lock-comment-delimiter-face in Emacs-22 is >> insufficient I believe. It should explain the effect of the >> introduction of this new face and should point to xterm-256color as well >> as other methods to recover the previous behavior. > Should we add a new entry for emacs-22.2 to correct these issues? Yes, please. > It might be too close to the release, but maybe we could apply the > change for the light background case? If noone objects, it's fine by me. Stefan