From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bidi,gmane.emacs.devel Subject: Re: merge emacs-bidi into the main tree Date: 10 Aug 2003 08:34:23 +0200 Sender: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Message-ID: References: <87lluax3ch.fsf@emacswiki.org> <7458-Sun03Aug2003224354+0300-eliz@elta.co.il> <87smoi9p64.fsf@emacswiki.org> <87he4x5v7x.fsf_-_@emacswiki.org> <86brv0wfyn.fsf@gerd.free-bsd.org> <6480-Fri08Aug2003180204+0300-eliz@elta.co.il> <8665l886vu.fsf@gerd.free-bsd.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1060493866 32025 80.91.224.253 (10 Aug 2003 05:37:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Aug 2003 05:37:46 +0000 (UTC) Cc: gerd.moellmann@t-online.de, alex@emacswiki.org, emacs-bidi@gnu.org, developer@arabeyes.org, emacs-devel@gnu.org Original-X-From: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Sun Aug 10 07:37:44 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19litk-0002JD-00 for ; Sun, 10 Aug 2003 07:37:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19liqx-000649-Tx for gnu-emacs-bidi@m.gmane.org; Sun, 10 Aug 2003 01:34:51 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19liqn-0005va-0z for emacs-bidi@gnu.org; Sun, 10 Aug 2003 01:34:41 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19lipo-0003sW-Bh for emacs-bidi@gnu.org; Sun, 10 Aug 2003 01:34:11 -0400 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.20) id 19liou-0001M5-Ss; Sun, 10 Aug 2003 01:32:45 -0400 Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Sat, 09 Aug 2003 10:21:17 -0400) X-BeenThere: emacs-bidi@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Discussion of Emacs support for multi-directional text. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bidi:131 gmane.emacs.devel:15863 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15863 > From: Richard Stallman > Date: Sat, 09 Aug 2003 10:21:17 -0400 > > > IIRC, you were worried about the performance hit: the code as written > > in the display engine part required to disable all the optimizations > > and shortcuts that exist for the left-to-right languages, > > Does it disable the optimizations always, or only when there is > right-to-left text? Handa-san should give the definitive answer, but I think it was always, as long as Emacs was told that the buffer _could_ contain right-to-left text. This is because Emacs doesn't know whether there actually is right-to-left text in the buffer, and cannot do so easily without getting a significant performance hit (what would we do? search the buffer for certain ranges of characters after each change to buffer's text?). > If the change requires disabling optimizations always, even for people > who don't use right-to-left text, that is potentially a serious > problem. Maybe it can be solved by adding a flag that people must set > in order to use right-to-left text. Such a flag indeed existed in the implementation I saw a few years ago, when I was in Japan. But perhaps things have changed since then. However, it doesn't seem right to me to have an Emacs that cannot scroll fast enough just because I've set such a flag, assuming that Gerd's intuition is correct. IMHO, of course.