From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: Re: font highlighting in emacs 22.1.1, os x build Date: Fri, 13 Jul 2007 16:38:36 -0700 Message-ID: <200707132338.l6DNcaQ9011782@oogie-boogie.ics.uci.edu> References: <4a8127b0707130647kcdb2274xd7e3cc576174265c@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184370059 11320 80.91.229.12 (13 Jul 2007 23:40:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2007 23:40:59 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: "Eric Johnson" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 14 01:40:58 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I9Ukr-0007kD-Qn for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jul 2007 01:40:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I9Ukr-00077m-Eo for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jul 2007 19:40:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I9Ukp-00077Z-0X for bug-gnu-emacs@gnu.org; Fri, 13 Jul 2007 19:40:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I9Uko-00077K-FF for bug-gnu-emacs@gnu.org; Fri, 13 Jul 2007 19:40:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I9Uko-00077E-9U for bug-gnu-emacs@gnu.org; Fri, 13 Jul 2007 19:40:54 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I9Ukn-0001zC-SC for bug-gnu-emacs@gnu.org; Fri, 13 Jul 2007 19:40:54 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l6DNcaQ9011782; Fri, 13 Jul 2007 16:38:36 -0700 (PDT) In-Reply-To: <4a8127b0707130647kcdb2274xd7e3cc576174265c@mail.gmail.com> (Eric Johnson's message of "Fri\, 13 Jul 2007 08\:47\:40 -0500") Original-Lines: 30 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: Solaris 9 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16161 Archived-At: "Eric Johnson" writes: > I built emacs 22.1.1 on OS X (ppc). I was excited to hear that I would > be able to run in both "aqua" mode and in console mode. However, font > highlighting is not consistent between the two. In particular, the > "aqua" mode seems to behave correctly (as per my experience with emacs > 21.x), but console mode does not. It is sufficient to create a file > named test.c, containing the following contents: > > /* this is a test */ > > In the "aqua" version, all of the text within the comment will be > colored to the appropriate comment color. However, in the console > version, only the /* and */ are colored to the comment color; the > remaining text is white. > > I am excited to use the latest version of emacs; however, I mainly use > emacs from within the terminal. Consequently, I hope that a fix for > this problem is possible, as otherwise I will continue to use version > 21.x. This only happens if your terminal supports only 8 colors. Ideally, if you had a terminal that supported 256 colors then the syntax coloring difference for emacs running in a terminal and in windowing mode is almost indistinguishable. I am not sure about your platform, but for GNU/Linux most recent terminals support 256 colors, you'd just need to set TERM to xterm-256color.