From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rob Riepel Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: incomplete comment colorization in terminals Date: Tue, 11 Mar 2008 16:15:14 -0700 (PDT) Message-ID: <20080311231514.B718249C0BB@daedalus.stanford.edu> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1205294941 23377 80.91.229.12 (12 Mar 2008 04:09:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Mar 2008 04:09:01 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 12 05:09:29 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JZIHP-00004y-DS for ged-emacs-devel@m.gmane.org; Wed, 12 Mar 2008 05:09:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZIGq-000612-Q5 for ged-emacs-devel@m.gmane.org; Wed, 12 Mar 2008 00:08:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZDgo-00083q-CJ for emacs-devel@gnu.org; Tue, 11 Mar 2008 19:15:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZDgn-00083e-QM for emacs-devel@gnu.org; Tue, 11 Mar 2008 19:15:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZDgn-00083b-KY for emacs-devel@gnu.org; Tue, 11 Mar 2008 19:15:21 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JZDgn-00068U-Hk for emacs-devel@gnu.org; Tue, 11 Mar 2008 19:15:21 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JZDgn-0006og-5r for emacs-pretest-bug@gnu.org; Tue, 11 Mar 2008 19:15:21 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JZDgk-00067o-4j for emacs-pretest-bug@gnu.org; Tue, 11 Mar 2008 19:15:21 -0400 Original-Received: from smtp2.stanford.edu ([171.67.20.25]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JZDgj-00067F-OF for emacs-pretest-bug@gnu.org; Tue, 11 Mar 2008 19:15:17 -0400 Original-Received: from smtp2.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 63ABD65A70F for ; Tue, 11 Mar 2008 16:15:15 -0700 (PDT) Original-Received: from daedalus.stanford.edu (daedalus.Stanford.EDU [171.64.20.42]) by smtp2.stanford.edu (Postfix) with ESMTP id 0135665A6AC for ; Tue, 11 Mar 2008 16:15:14 -0700 (PDT) Original-Received: by daedalus.stanford.edu (Postfix, from userid 1000) id B718249C0BB; Tue, 11 Mar 2008 16:15:14 -0700 (PDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Wed, 12 Mar 2008 00:06:14 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:92245 gmane.emacs.pretest.bugs:21533 Archived-At: 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 C-a. (New file) Loading emacsbug... Loading regexp-opt...done Loading emacsbug...done call-interactively: Text is read-only [3 times]