From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Setting bidi-paragraph-direction in comint modes Date: Wed, 15 Feb 2012 08:49:18 +0800 Message-ID: <87haysgbu9.fsf@gnu.org> References: <87vcn9zzuf.fsf@gnu.org> <83d39hxptw.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1329266973 992 80.91.229.3 (15 Feb 2012 00:49:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Feb 2012 00:49:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 15 01:49:32 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RxT3s-0004DZ-GY for ged-emacs-devel@m.gmane.org; Wed, 15 Feb 2012 01:49:32 +0100 Original-Received: from localhost ([::1]:37561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxT3s-0001eB-5Q for ged-emacs-devel@m.gmane.org; Tue, 14 Feb 2012 19:49:32 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:36695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxT3p-0001e6-Gv for emacs-devel@gnu.org; Tue, 14 Feb 2012 19:49:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RxT3o-0005gL-9H for emacs-devel@gnu.org; Tue, 14 Feb 2012 19:49:29 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:38639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxT3o-0005gE-7W for emacs-devel@gnu.org; Tue, 14 Feb 2012 19:49:28 -0500 Original-Received: from bb121-7-229-69.singnet.com.sg ([121.7.229.69]:44267 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RxT3n-0005PL-2P; Tue, 14 Feb 2012 19:49:28 -0500 In-Reply-To: <83d39hxptw.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 14 Feb 2012 19:55:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148617 Archived-At: Eli Zaretskii writes: >> From: Chong Yidong >> Date: Tue, 14 Feb 2012 14:35:52 +0800 >> >> 1. emacs -Q >> 2. M-x shell RET >> 3. ls /usr/share/doc (Prints about 2000 lines on my computer) >> 4. Repeat step 3 many times. >> >> As the buffer gets to about 8000 lines, redisplay slows to a crawl. > > I cannot reproduce this here. I tried the same in a directory with > 2190 files, generated a 10K-line buffer with no empty lines, and I see > no "crawl", only some minor slowdown. Maybe I didn't try the commands > you did? Which Emacs commands caused such a slow redisplay on your > machine? Like I said, it's simply `ls /usr/share/doc'. You say that there is "some minor slowdown": that's the same slowdown I'm referring to, I think. On my machine, the performance difference with and without bidi-paragraph-direction is extremely noticeable.