From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode Date: Fri, 17 Feb 2012 13:41:37 +0800 Message-ID: <87mx8idnji.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1329457342 12820 80.91.229.3 (17 Feb 2012 05:42:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Feb 2012 05:42:22 +0000 (UTC) To: 10835@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 17 06:42:17 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1RyGaH-0000fe-Kk for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Feb 2012 06:42:17 +0100 Original-Received: from localhost ([::1]:35712 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyGaH-00060b-81 for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Feb 2012 00:42:17 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:55555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyGaD-00060W-IK for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2012 00:42:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RyGaC-0005IP-1Q for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2012 00:42:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyGaB-0005IL-Uq for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2012 00:42:12 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RyGby-0007mC-S5 for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2012 00:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Feb 2012 05:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10835 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.132945743429869 (code B ref -1); Fri, 17 Feb 2012 05:44:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Feb 2012 05:43:54 +0000 Original-Received: from localhost ([127.0.0.1]:43214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RyGbl-0007ld-7m for submit@debbugs.gnu.org; Fri, 17 Feb 2012 00:43:51 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37445) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RyGbi-0007lR-7t for submit@debbugs.gnu.org; Fri, 17 Feb 2012 00:43:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RyGZo-0005Hi-Dc for submit@debbugs.gnu.org; Fri, 17 Feb 2012 00:41:49 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:42187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyGZo-0005He-CC for submit@debbugs.gnu.org; Fri, 17 Feb 2012 00:41:48 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:55520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyGZn-0005yp-AM for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2012 00:41:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RyGZl-0005HS-Tp for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2012 00:41:47 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:42476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyGZl-0005HO-SN for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2012 00:41:45 -0500 Original-Received: from [155.69.16.255] (port=55201 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RyGZl-00048F-7B for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2012 00:41:45 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56952 Archived-At: See thread discussion here: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00517.html To recap: 1. emacs -Q 2. M-x shell RET 3. ls /usr/share/doc (Prints about 2000 lines on my computer) 4. Repeat step 6-7 times (e.g. M-p RET) The insertion of the shell output is significantly slower than in Emacs 23. If you set `bidi-paragraph-direction' to `left-to-right', the slowdown mostly disappears. If you scroll the shell buffer, it is also more sluggish when `bidi-paragraph-direction' is nil. Another observation: if you save the *shell* buffer to a file and visit the file in another Emacs instance, there is no sluggishness if the file is opened in (say) text mode. Maybe something in Shell mode is interacting badly with the bidi code, but I don't know what. In GNU Emacs 24.0.93.7 (x86_64-unknown-linux-gnu, GTK+ Version 3.2.0) of 2012-02-15 on furball Windowing system distributor `The X.Org Foundation', version 11.0.11004000 Configured using: `configure '--with-x-toolkit=gtk3' 'CFLAGS=-g'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: en_US.UTF-8 value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp