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: Mon, 01 Feb 2010 23:51:34 +0200 Message-ID: <83r5p4hbfd.fsf@gnu.org> References: <83tyu3iu6b.fsf@gnu.org> <837hqyi1h7.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1265061161 9996 80.91.229.12 (1 Feb 2010 21:52:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Feb 2010 21:52:41 +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 Mon Feb 01 22:52:36 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 1Nc4C8-0001wC-AU for gnu-emacs-bidi@m.gmane.org; Mon, 01 Feb 2010 22:52:32 +0100 Original-Received: from localhost ([127.0.0.1]:40044 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nc4C7-0002kz-N2 for gnu-emacs-bidi@m.gmane.org; Mon, 01 Feb 2010 16:52:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nc4C5-0002kX-At for emacs-bidi@gnu.org; Mon, 01 Feb 2010 16:52:29 -0500 Original-Received: from [199.232.76.173] (port=35810 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nc4C5-0002kP-1z for emacs-bidi@gnu.org; Mon, 01 Feb 2010 16:52:29 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nc4C3-0002ZK-Lb for emacs-bidi@gnu.org; Mon, 01 Feb 2010 16:52:28 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:50614) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nc4C3-0002Yw-6Y; Mon, 01 Feb 2010 16:52:27 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0KX600E00N9E8700@a-mtaout22.012.net.il>; Mon, 01 Feb 2010 23:51:29 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.70.67.249]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KX600CBXNDSRF60@a-mtaout22.012.net.il>; Mon, 01 Feb 2010 23:51:28 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.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:496 gmane.emacs.devel:120797 Archived-At: > From: Richard Stallman > Date: Mon, 01 Feb 2010 16:05:19 -0500 > Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org > > > > Horizontal scrolling should apply to the whole window contents > > in a rigid fashion. > > But that cannot be done in this case, because the second line cannot > be scrolled to the left without moving its first character A from the > right margin. > > Horizontal scrolling does whatever we make it do. The question > is what behavior is best. > > I'm saying that horizontal scrolling should move the window contents > rigidly left or right, just as vertical scrolling moves the contents > rigidly up or down. That can be done, but then we will probably need to introduce some new display features to indicate that the first character is scrolled off the margin. Otherwise, the display will look confusing wrt where each line begins. For example, we could draw special glyphs at the left margin in L2R lines and on the right margin in R2L lines, or we might use something similar to trailing-whitespace display. > The definition of hscroll is not the same as how we number columns for > indentation purposes. That's true, but the effect of hscroll is defined in terms of columns, so I think it's best not to break the relation between column numbering and hscroll.