emacs-devel
[Top][All Lists]
Advanced

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

Re: incomplete comment colorization in terminals


From: Dan Nicolaescu
Subject: Re: incomplete comment colorization in terminals
Date: Tue, 11 Mar 2008 21:45:38 -0700

Rob Riepel <address@hidden> writes:

  > 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.




reply via email to

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