From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.bugs Subject: bug#15555: Re: bug#15555: 24.3; Bidirectional display very slow with long lines Date: Wed, 19 Feb 2014 14:49:39 +0400 Message-ID: <53048C43.7090304@yandex.ru> References: <83wqlo461e.fsf@gnu.org> <8338obskk4.fsf@gnu.org> <83iox6qt1t.fsf@gnu.org> <53035588.3080705@dev.rtsoft.ru> <838ut871wu.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1392807013 17017 80.91.229.3 (19 Feb 2014 10:50:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Feb 2014 10:50:13 +0000 (UTC) Cc: 15555@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 19 11:50:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WG4jK-0001de-TA for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Feb 2014 11:50:19 +0100 Original-Received: from localhost ([::1]:58177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WG4jK-0007LB-H2 for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Feb 2014 05:50:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WG4jB-0007Ku-TF for bug-gnu-emacs@gnu.org; Wed, 19 Feb 2014 05:50:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WG4j5-0003mN-UM for bug-gnu-emacs@gnu.org; Wed, 19 Feb 2014 05:50:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WG4j5-0003lY-RT for bug-gnu-emacs@gnu.org; Wed, 19 Feb 2014 05:50:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WG4j4-0007LA-Py for bug-gnu-emacs@gnu.org; Wed, 19 Feb 2014 05:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Antipov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Feb 2014 10:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15555 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15555-submit@debbugs.gnu.org id=B15555.139280699028190 (code B ref 15555); Wed, 19 Feb 2014 10:50:02 +0000 Original-Received: (at 15555) by debbugs.gnu.org; 19 Feb 2014 10:49:50 +0000 Original-Received: from localhost ([127.0.0.1]:59539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WG4ir-0007KZ-Db for submit@debbugs.gnu.org; Wed, 19 Feb 2014 05:49:49 -0500 Original-Received: from forward5l.mail.yandex.net ([84.201.143.138]:59108) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WG4io-0007KL-Jz for 15555@debbugs.gnu.org; Wed, 19 Feb 2014 05:49:47 -0500 Original-Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward5l.mail.yandex.net (Yandex) with ESMTP id E2779C40F52; Wed, 19 Feb 2014 14:49:39 +0400 (MSK) Original-Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id 8B04FE4012F; Wed, 19 Feb 2014 14:49:39 +0400 (MSK) Original-Received: from unknown (unknown [37.139.80.10]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5h4tKZlPVe-ndk0AApS; Wed, 19 Feb 2014 14:49:39 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 64b9f98d-7f40-4ee0-8d03-b25983400b2f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1392806979; bh=5W8vJwduD8NJl1yNpMH7IZwuq7W7W6iehchcvOUfrkU=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=ZcuYJT0yanml5fMXnZNKw3gTP1G7QfWFgOMc0M0WfzDEeK/NUeiCNf2lDVQTYgHob dGP/3VORteLDoDWLoMyn+Oc0x1CKmMc8bhxGNXDmNyP2/6NeNnvqqwy6sDz2q5rjPQ xTIfL4Dyb5FdcBc3/YackulFpF8zW/GcSSohrXGo= Authentication-Results: smtp13.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <838ut871wu.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:85879 Archived-At: On 02/18/2014 09:42 PM, Eli Zaretskii wrote: > Anyway, just moving cursor horizontally cannot possibly be slow due to > bidi, especially as long as point stays in the same screenful. The > redisplay becomes unbearably slow with long lines only when you either > scroll the display (e.g., C-v) or for vertical cursor motion, because > these require the display engine to traverse many buffer positions, > many more than is needed to just move the cursor, and it currently can > only start that traversal from the beginning of a physical line. 1) I realize that vertical motion is slower than horizontal, but [2] from http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15555#65 shows that the major slowdown happens when cursor is moved horizontally (by right-char) within the same line. 2) (setq bidi-display-reordering nil) helps bug15555 to run over 4000.txt just as expected. Dmitry