From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bidi,gmane.emacs.devel Subject: Re: Mixed L2R and R2L paragraphs and horizontal scroll Date: Sun, 07 Feb 2010 06:08:35 +0200 Message-ID: <83vde9elh8.fsf@gnu.org> References: <83tyu3iu6b.fsf@gnu.org> <201002011400.o11E0jMQ007420@beta.mvs.co.il> <83vdeghfqg.fsf@gnu.org> <201002012205.o11M5Sci011809@beta.mvs.co.il> <83k4uvh09o.fsf@gnu.org> <201002031310.o13DAqXd019253@beta.mvs.co.il> <83eil2gn7i.fsf@gnu.org> <837hqshl1g.fsf@gnu.org> <83pr4jg67p.fsf@gnu.org> <83hbpvfj61.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1265515783 3498 80.91.229.12 (7 Feb 2010 04:09:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Feb 2010 04:09:43 +0000 (UTC) Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Sun Feb 07 05:09:40 2010 Return-path: Envelope-to: gnu-emacs-bidi@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NdySY-0006PR-Sd for gnu-emacs-bidi@m.gmane.org; Sun, 07 Feb 2010 05:09:35 +0100 Original-Received: from localhost ([127.0.0.1]:43484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdySG-000303-1o for gnu-emacs-bidi@m.gmane.org; Sat, 06 Feb 2010 23:09:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NdySA-0002zy-4f for emacs-bidi@gnu.org; Sat, 06 Feb 2010 23:08:58 -0500 Original-Received: from [140.186.70.92] (port=47843 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdyS7-0002zq-4x for emacs-bidi@gnu.org; Sat, 06 Feb 2010 23:08:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NdyS3-0001HI-9u for emacs-bidi@gnu.org; Sat, 06 Feb 2010 23:08:51 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:43338) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NdyS2-0001H8-Ub; Sat, 06 Feb 2010 23:08:51 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0KXG00500DY46M00@a-mtaout21.012.net.il>; Sun, 07 Feb 2010 06:08:32 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.70.67.249]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KXG002UOE67YZ80@a-mtaout21.012.net.il>; Sun, 07 Feb 2010 06:08:32 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-bidi@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of Emacs support for multi-directional text." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Errors-To: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bidi:550 gmane.emacs.devel:121005 Archived-At: > From: Richard Stallman > CC: monnier@IRO.UMontreal.CA, emacs-bidi@gnu.org, ehud@unix.mvs.co.il, > emacs-devel@gnu.org > Date: Sat, 06 Feb 2010 17:55:25 -0500 > > > > You didn't say what to do when the (to be introduced) ``line length'' > > > variable is nil. > > > > Wouldn't that be window-width? > > Maybe, but I'm not sure. Richard, could you please elaborate on your > suggestion? > > I am not entirely sure what the issue is. > > Perhaps it is my suggestion to create a variable to control where the > right margin should be for R2L lines. I don't remember all the > details, but if it's an integer, that value should be the column at > which the beginning of an R2L line appears. When it is nil, use the > window width (same as now). This means we need to allow scroll either left or right past the point where the first character is at the window's edge. That is, window-hscroll will no longer return only zero or positive values. Is that reasonable?