From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel,gmane.emacs.bidi Subject: Re: Mixed L2R and R2L paragraphs and horizontal scroll Date: Sat, 30 Jan 2010 18:22:27 +0100 Message-ID: <4B646AD3.1010102@gmx.at> References: <83tyu3iu6b.fsf@gnu.org> <4B645FF4.30205@gmx.at> <83ockbil1v.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1264872165 13391 80.91.229.12 (30 Jan 2010 17:22:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Jan 2010 17:22:45 +0000 (UTC) Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 30 18:22:42 2010 Return-path: Envelope-to: ged-emacs-devel@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 1NbH1u-00005A-1n for ged-emacs-devel@m.gmane.org; Sat, 30 Jan 2010 18:22:42 +0100 Original-Received: from localhost ([127.0.0.1]:59443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbH1r-0001hE-3a for ged-emacs-devel@m.gmane.org; Sat, 30 Jan 2010 12:22:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NbH1l-0001g1-Rf for emacs-devel@gnu.org; Sat, 30 Jan 2010 12:22:33 -0500 Original-Received: from [199.232.76.173] (port=54213 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbH1l-0001fp-Hc for emacs-devel@gnu.org; Sat, 30 Jan 2010 12:22:33 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NbH1i-0004n6-Uw for emacs-devel@gnu.org; Sat, 30 Jan 2010 12:22:33 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:39776) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NbH1i-0004mr-5K for emacs-devel@gnu.org; Sat, 30 Jan 2010 12:22:30 -0500 Original-Received: (qmail invoked by alias); 30 Jan 2010 17:22:28 -0000 Original-Received: from 62-47-62-71.adsl.highway.telekom.at (EHLO [62.47.62.71]) [62.47.62.71] by mail.gmx.net (mp052) with SMTP; 30 Jan 2010 18:22:28 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/73Glkw1/73FiFfaoIP6zJei3EBzSSmkV6a9deyC damspC/1GJ298H User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <83ockbil1v.fsf@gnu.org> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.66000000000000003 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:120709 gmane.emacs.bidi:471 Archived-At: > Why should it change from what it returns now? Because it's no more a window but a line property, IIUC. When, after scrolling the first line, you move `point' to show another portion of the second line like this +---------+---------+-------------------+ |$ijk |abcdefgh$|abcdefghijk | |KJIHGFED$|$HGFEDCBA| KJIHGFEDCBA| | | | | +---------+---------+-------------------+ you get two different non-zero values of `window-hscroll'. Or am I missing something? > Or are you saying that we should scroll the R2L lines to the right by > as much as we scroll the L2R lines to the left? That is, are you > saying we should display the last example as > > > +---------+---------+-------------------+ > |$ijk |abcdefgh$|abcdefghijk | > | KJI$|$HGFEDCBA| KJIHGFEDCBA| > | | | | > +---------+---------+-------------------+ > > Is this what you are suggesting? This would be needlessly inconvenient. Hence, `window-hscroll' should probably return the value for the line `window-point' is on. martin