unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* incomplete comment colorization in terminals
@ 2008-03-11 23:15 Rob Riepel
  2008-03-12  4:26 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 27+ messages in thread
From: Rob Riepel @ 2008-03-11 23:15 UTC (permalink / raw)
  To: emacs-pretest-bug

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.

This bug is in 22.1 and the pretest version of Emacs, so it is not new.
Emacs 21 does not have this bug.

Here are some screen shots showing the problem:

xterm-color with the bug:

  http://www.stanford.edu/~riepel/emacs/bug/xterm.png

xterm-16color without the bug:

  http://www.stanford.edu/~riepel/emacs/bug/xterm-16color.png

xterm-color with X selection to show exact end of highlights:

  http://www.stanford.edu/~riepel/emacs/bug/xterm-hilited.png

xterm-16color with X selection for completeness:

  http://www.stanford.edu/~riepel/emacs/bug/xterm-16color-hilited.png

If this bug turns out to be in ncurses or term{cap,info} please let me
know so I can submit a bug report to them.



In GNU Emacs 22.1.92.1 (i686-pc-linux-gnu, X toolkit)
 of 2008-03-11 on daedalus
configured using `configure  '--prefix=/usr/yocal''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  tpu-edt-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-j C-n r e p o r t - e m TAB RET

Recent messages:
Loading minibuffer-complete-cycle...
Loading byte-opt...done
Loading minibuffer-complete-cycle...done
Loading /home/riepel/.tpu-control...done
For information about GNU Emacs and the GNU system, type <f1> C-a.
(New file)
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done
call-interactively: Text is read-only [3 times]




^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2008-03-19  4:02 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-11 23:15 incomplete comment colorization in terminals Rob Riepel
2008-03-12  4:26 ` Eli Zaretskii
2008-03-12  6:44   ` Dan Nicolaescu
2008-03-12  8:17     ` Nick Roberts
2008-03-12 13:54       ` Stefan Monnier
2008-03-12 15:07         ` Dan Nicolaescu
2008-03-12 17:51       ` Richard Stallman
2008-03-13  6:38         ` Dan Nicolaescu
2008-03-13 22:24           ` Richard Stallman
2008-03-13 22:44             ` Dan Nicolaescu
2008-03-14  0:21               ` Nick Roberts
2008-03-14  0:34                 ` Dan Nicolaescu
2008-03-15  4:46                   ` Nick Roberts
2008-03-15  8:34                     ` Dan Nicolaescu
2008-03-15  0:49   ` Rob Riepel
2008-03-15 14:34     ` Eli Zaretskii
2008-03-12  4:45 ` Dan Nicolaescu
2008-03-12 13:57   ` Stefan Monnier
2008-03-13  6:40     ` Dan Nicolaescu
2008-03-13 15:01       ` Stefan Monnier
2008-03-13 18:55         ` Glenn Morris
2008-03-13 21:52           ` Dan Nicolaescu
2008-03-14  4:16           ` Dan Nicolaescu
2008-03-14 15:08             ` Stefan Monnier
2008-03-19  4:02         ` Dan Nicolaescu
2008-03-15  0:50     ` Rob Riepel
2008-03-12 13:10 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).