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

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

Re: font highlighting in emacs 22.1.1, os x build


From: Dan Nicolaescu
Subject: Re: font highlighting in emacs 22.1.1, os x build
Date: Fri, 13 Jul 2007 16:38:36 -0700

"Eric Johnson" <address@hidden> 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.




reply via email to

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