From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#9470: 24.0.50; Possible bidi-related slowness Date: Sat, 10 Sep 2011 22:11:08 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1315685702 5097 80.91.229.12 (10 Sep 2011 20:15:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Sep 2011 20:15:02 +0000 (UTC) Cc: 9470@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 10 22:14:57 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R2Tx1-0007DI-F1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Sep 2011 22:14:55 +0200 Original-Received: from localhost ([::1]:58886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2Tx0-00059r-KY for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Sep 2011 16:14:54 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2Twx-00059l-Ou for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2011 16:14:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R2Tww-0002yU-Ny for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2011 16:14:51 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2Tww-0002yQ-Js for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2011 16:14:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R2U0z-0006hX-LP; Sat, 10 Sep 2011 16:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Sep 2011 20:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9470 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9470-submit@debbugs.gnu.org id=B9470.131568591225705 (code B ref 9470); Sat, 10 Sep 2011 20:19:01 +0000 Original-Received: (at 9470) by debbugs.gnu.org; 10 Sep 2011 20:18:32 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2U0W-0006gX-Dw for submit@debbugs.gnu.org; Sat, 10 Sep 2011 16:18:32 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2U0T-0006gO-DO for 9470@debbugs.gnu.org; Sat, 10 Sep 2011 16:18:31 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1R2TwH-0005pT-TK; Sat, 10 Sep 2011 22:14:09 +0200 In-Reply-To: (Eli Zaretskii's message of "Sat, 10 Sep 2011 16:10:39 -0400") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEURCQ1bQ1CekYtCLTcp GyLWId+gAAACf0lEQVQ4jTWTi5XjMAhF8ZgCjOQCRiQFWEYFSAv917QPT+Kc/HTF40/B3vUkipjE RcXwTR6DYoZJmwAB0HoCHjbI0qScMR6LZg4+F8Aak62bjzFp19cZTEFuwHjHGO6wWFoH035NG0Ew S88BTreOa5JRJODALYYNQJGYcztjmoGGjxnueaeJHNQnQFeaiApKj4smekAzRi+KXGbvDwjFc/m1 j9FVM+OQblL0ecgmHIqmVP+cPY/b3N1wgqieg4ZXXhiDdpc0ZWrf2wUvYaRd02Ly97znx3FN76jv IvoDraiXVsOJXUSAaH4tBqG+KIlXqQBMj8Gxt5MnjS1imfSLiXncRRvSPtkHnRRrLEEM0wP6hgKe vFRQafQVpvkDOVysJWLTa+NwWwcjqvEj+nttbU3zth97uHS5BbXqotlwPFwWhBCudWgyJmWkbl27 2XWhf2YCsIlVyyM7vwAZVnokoivs45mhL/Ba2phb69MNDUSQlsVtFLVUpp9Xp+jtleYfsLmeQXdF yl0nHxfLH/DVIFwSLP1Nn/K0GX9fCVC2uDELAP0D7rojs3syliB90OpPawOTTiwdZb6V2TDaH4B5 xQzWB7wHPVqP8xYAr1/MEaQnfZxc9E8WOtoOmrumD7RxSUHTAbKsV45Lw8qwJyhvMsFm7mVyjsux 4351WMBH/QVoGIpNnzy62h+ACu0vgFX0Ddebji4AURDJ/sZGbhkLAtHTE3iD/PamK8FBkkGh27DA 8tPPCQCptg7K3V2iGLQ5acspzK3A7/Dyws4gD2S+vzdKgMixkUUHdygiczoBcJAFCZT/hN/oHf+q Y+yz7IZtXQ+YqyU4sxGqjIIiR2j8B8BUlkyS2jVvAAAAAElFTkSuQmCC X-Now-Playing: Various's _New Wave to New Beat Volume 2_: "Colourbox - Breakdown" X-MailScanner-ID: 1R2TwH-0005pT-TK MailScanner-NULL-Check: 1316290450.57859@8jqN/ziQ8bNoP1WRQqlUzA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 10 Sep 2011 16:19:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:50801 Archived-At: Eli Zaretskii writes: > Then I don't see how can I fix this specific case. The bidi display > must know the paragraph direction in order to DTRT. Ideas are > welcome. Doing something simple, like force left-to-right paragraph > direction if paragraph start isn't found in N lines, doesn't sound > right, as this will cause different display depending on how far we > are from the text beginning. Hmmm... If the algorithm has looked at N lines (where N is a reasonably big number, like 10K), and found nothing exciting, then it would be reasonable to bail out, won't it? "Paragraphs" like the one presented, with 200K lines, are a pretty terminal case, and no "real" text ever looks like that. I think. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/