From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: JD Smith Newsgroups: gmane.emacs.devel Subject: Font-lock in COMINT modes Date: Wed, 06 Dec 2006 17:57:36 -0700 Message-ID: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1165453149 22333 80.91.229.10 (7 Dec 2006 00:59:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Dec 2006 00:59:09 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 07 01:59:07 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gs7bM-0005Lp-G6 for ged-emacs-devel@m.gmane.org; Thu, 07 Dec 2006 01:59:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gs7bM-0001B3-5K for ged-emacs-devel@m.gmane.org; Wed, 06 Dec 2006 19:59:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gs7aN-0000X0-SY for emacs-devel@gnu.org; Wed, 06 Dec 2006 19:58:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gs7aM-0000Uw-4D for emacs-devel@gnu.org; Wed, 06 Dec 2006 19:58:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gs7aL-0000Ul-Oa for emacs-devel@gnu.org; Wed, 06 Dec 2006 19:58:01 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gs7aL-0004st-MI for emacs-devel@gnu.org; Wed, 06 Dec 2006 19:58:02 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gs7aE-0000Xn-Va for emacs-devel@gnu.org; Thu, 07 Dec 2006 01:57:54 +0100 Original-Received: from turtle.as.arizona.edu ([128.196.208.207]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Dec 2006 01:57:54 +0100 Original-Received: from jdsmith by turtle.as.arizona.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Dec 2006 01:57:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 14 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: turtle.as.arizona.edu User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) 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:63385 Archived-At: In Emacs 22, my idlwave-shell mode font-lock fontifies comments/strings/etc. without having been asked to. This can be problematic if you miss a closing quote, and all subsequent text gets string fontification. In Emacs 21, the only fontification was comint coloring the prompt blue. I don't mind the fontification so much (in fact I like it), it's just that missing string quotes allow it to run away, latching onto parts of the subsequent input and output in a way that's hard to cancel. Perhaps there is an easy way to inhibit scanning through the prompt? JD