From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs awfully slow on some files Date: Mon, 10 Aug 2009 22:01:38 +0300 Message-ID: <83zla7jxwt.fsf@gnu.org> References: <7b501d5c0908101104v6fb4d56axe3f5ea28628d7fe3@mail.gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1249931136 16860 80.91.229.12 (10 Aug 2009 19:05:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Aug 2009 19:05:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Deniz Dogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 10 21:05:29 2009 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 1MaaBS-0003Ln-EK for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2009 21:05:26 +0200 Original-Received: from localhost ([127.0.0.1]:57573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaaBR-0000iM-Eh for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2009 15:05:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Maa7v-0007xs-SN for emacs-devel@gnu.org; Mon, 10 Aug 2009 15:01:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Maa7u-0007x4-OA for emacs-devel@gnu.org; Mon, 10 Aug 2009 15:01:47 -0400 Original-Received: from [199.232.76.173] (port=35294 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Maa7u-0007x0-KR for emacs-devel@gnu.org; Mon, 10 Aug 2009 15:01:46 -0400 Original-Received: from mtaout5.012.net.il ([84.95.2.13]:36353) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Maa7t-0007Hc-VP for emacs-devel@gnu.org; Mon, 10 Aug 2009 15:01:46 -0400 Original-Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KO600M00COHN000@i_mtaout5.012.net.il> for emacs-devel@gnu.org; Mon, 10 Aug 2009 22:01:37 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.224.142]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KO60009SCUPWW50@i_mtaout5.012.net.il>; Mon, 10 Aug 2009 22:01:37 +0300 (IDT) In-reply-to: <7b501d5c0908101104v6fb4d56axe3f5ea28628d7fe3@mail.gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:113995 Archived-At: > Date: Mon, 10 Aug 2009 20:04:08 +0200 > From: Deniz Dogan > > I have a file which is 1 MB long and all of the content is on a single > line. Using Emacs on this file is pretty much impossible due to the > super-sluggish behavior. It's embarrassing. Why is this? Can it be > fixed? IIRC, this is a fundamental limitation of the current implementation of the Emacs display engine. Too long lines make it very slow. Does it help to set truncate-lines to a non-nil value?