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, 18 Mar 2008 21:02:38 -0700

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

Yidong also approved the change, so I checked it in 22.2.




reply via email to

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