From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Very long lines in shell-mode Date: Wed, 06 Dec 2006 18:44:30 +0100 Organization: orebokech dot com Message-ID: <87zma0gbr5.fsf@pacem.orebokech.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165427070 9213 80.91.229.10 (6 Dec 2006 17:44:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Dec 2006 17:44:30 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 06 18:44:29 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 1Gs0og-0001Di-Hd for ged-emacs-devel@m.gmane.org; Wed, 06 Dec 2006 18:44:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gs0og-0000FV-2J for ged-emacs-devel@m.gmane.org; Wed, 06 Dec 2006 12:44:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gs0oQ-0000Cg-9b for emacs-devel@gnu.org; Wed, 06 Dec 2006 12:44:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gs0oP-0000CU-U5 for emacs-devel@gnu.org; Wed, 06 Dec 2006 12:44:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gs0oP-0000CR-Od for emacs-devel@gnu.org; Wed, 06 Dec 2006 12:44:05 -0500 Original-Received: from [82.67.41.165] (helo=yeast.orebokech.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gs0oP-0003W5-P2 for emacs-devel@gnu.org; Wed, 06 Dec 2006 12:44:05 -0500 Original-Received: from pacem.orebokech.com (pacem.orebokech.com [192.168.1.3]) by yeast.orebokech.com (Postfix) with ESMTP id 72C3112D36 for ; Wed, 6 Dec 2006 18:44:04 +0100 (CET) Original-Received: by pacem.orebokech.com (Postfix, from userid 1000) id D67D55243B; Wed, 6 Dec 2006 18:44:30 +0100 (CET) Original-To: emacs-devel@gnu.org X-Face: }9mYu,e_@+e!`Z-P5kVXa3\_b:hdJ"B)ww[&=b<2=awG:GOIM 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:63362 Archived-At: We recently fixed a similar issue in sgml-mode so we might want to have a look at this one, it's been around for ever: very very long lines in shell-mode cause Emacs to slow down considerably, eating CPU constantly. For example, try: emacs -Q -f shell perl -e 'print "a" x 2000000; print "\n"' This is probably due to the font-lock keywords set up by shell mode. Unfortunately, they probably can't be anchored properly. (And they're very useful, so we can't just get rid of them...) (This is not a regression compared to Emacs 21.) -- Romain Francoise | The sea! the sea! the open it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the | ever free! --Bryan W. Procter