From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Changes in frame/window code Date: Sat, 16 Aug 2014 17:43:47 +0300 Message-ID: <837g28ebq4.fsf@gnu.org> References: <53CE6A44.1010708@gmx.at> <83tx62hane.fsf@gnu.org> <53D6172A.5010909@gmx.at> <83fvhlhad5.fsf@gnu.org> <53D656BB.3010201@gmx.at> <83egx5h86z.fsf@gnu.org> <53D68806.9080101@gmx.at> <838undgxiu.fsf@gnu.org> <53D76758.2030707@gmx.at> <831tt4h58x.fsf@gnu.org> <83y4vcfoqi.fsf@gnu.org> <53D77BDB.1090500@gmx.at> <83wqawflgj.fsf@gnu.org> <53D7A981.30909@gmx.at> <83lhrctdzr.fsf@gnu.org> <53D7C10C.4010402@gmx.at> <83k36wta5m.fsf@gnu.org> <53D7E6B0.7040504@gmx.at> <83egx4t3nq.fsf@gnu.org> <53D917B5.2050604@gmx.at> <837g2uu80w.fsf@gnu.org> <53D9211C.7010000@gmx.at> <834mxyu5jg.fsf@gnu.org> <53D92D04.3010006@gmx.at> <83zjfqspfw.fsf@gnu.org> <53DA0310.4010706@gmx.at> <53DA15C4.5050006@gmx.at> <83mwbpss6s.fsf@gnu.org> <53DA29EC.3000504@gmx.at> <837g2ssg30.fsf@gnu.org> <53DB6B08.7000305@gmx.at> <834mxws6a0.fsf@gnu.org> <53DBB268.2020909@gmx.at> <831tt0rwyp.fsf@gnu.org> <53EE2CD5.50603@gmx.a> <83tx5demej.fsf@gnu.org> <53EF25F2.9010909@gmx.at> <83iolsekqd.fsf@gnu.org> <53EF609C.2090303@gmx> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1408200275 7627 80.91.229.3 (16 Aug 2014 14:44:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Aug 2014 14:44:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 16 16:44:27 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XIfDW-0006eR-JQ for ged-emacs-devel@m.gmane.org; Sat, 16 Aug 2014 16:44:26 +0200 Original-Received: from localhost ([::1]:35682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIfDW-00025F-8i for ged-emacs-devel@m.gmane.org; Sat, 16 Aug 2014 10:44:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIfDE-000259-TA for emacs-devel@gnu.org; Sat, 16 Aug 2014 10:44:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XIfD9-0003tU-N2 for emacs-devel@gnu.org; Sat, 16 Aug 2014 10:44:08 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:54866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIfD9-0003tQ-Ed for emacs-devel@gnu.org; Sat, 16 Aug 2014 10:44:03 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NAE00500LPPWJ00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Sat, 16 Aug 2014 17:44:00 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NAE0050QM9BN250@a-mtaout23.012.net.il>; Sat, 16 Aug 2014 17:44:00 +0300 (IDT) Sun-Java-System-SMTP-Warning: Lines longer than SMTP allows found and truncated. In-reply-to: <53EF609C.2090303@gmx.at> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173711 Archived-At: > Date: Sat, 16 Aug 2014 15:46:04 +0200 > From: martin rudalics > CC: emacs-devel@gnu.org >=20 > > At > > least the scroll bar is on the wrong side here. >=20 > You mean the slider/thumb for hscroll equal zero? That is the cruc= ial > point. Moving it to the other side causes all problems I've seen s= o > far. Understood, but I cannot say anything about how the scroll bar works until it gets that initial position right. The current state of affairs is a non-starter. > > Commit the changes we were discussing, and we could then talk > > meaningfully about whatever problems are left. Right now, I can= not > > even try reproducing those problems. >=20 > I'll do that as soon as you fixed bug#18277. I don't see the relevance of 18277 to this issue. That bug is about clicking inside the text area, not about clicking on the scroll bar o= r hscrolling. Why do you think they are related? > I see three problems currently: >=20 > (1) When dragging I cannot move the slider entirely to the right an= d > make the first column of R2L lines visible until I release the= mouse > button. I suppose this is due to some off-by-one failure here= but > there might be more to it. >=20 > (2) Sometimes during dragging the slider starts moving for-/backwar= d in > some erratic fashion. I'm not yet sure whether this is caused= by an > hmargin issue or something else. >=20 > (3) Line 121 (written backwards as) >=20 > =D7=90=D7=9D =D7=94=D7=A1=D7=9E=D7=9F =D7=A0=D7=9E=D7=A6=D7=90 = =D7=91=D7=90=D7=9E=D7=A6=D7=A2 =D7=9E=D7=99=D7=9C=D7=94, M-f =D7=96= =D7=96 =D7=9C=D7=A1=D7=95=D7=A3 =D7=94=D7=9E=D7=99=D7=9C=D7=94. =D7= =90=D7=9D =D7=94=D7=A1=D7=9E=D7=9F =D7=A0=D7=9E=D7=A6=D7=90 =D7=91= =D7=99=D7=9F =D7=A9=D7=AA=D7=99 =D7=9E=D7=9C=D7=99=D7=9D, >=20 > of the tutorial presents a special problem: When I'm repeatedly= doing > `next-line' on the rightmost column before that line and are ab= out > to move to that line I enter some strange sort of loop with the > slider in the center of the scroll bar trying to move back- and > forward. C-g gets me out of it but I can't tell so far why I'm= stuck > there. >=20 > If (2) or (3) are caused by bug#18277 (or a common underlying probl= em) > it should be easier to resolve the remaining issues. I could be wrong, but I don't think they are related to 18277 at all. E.g., there's nothing in common between vertical-motion (which is wha= t you do in (3)) and moving point by clicking the mouse. As for 2, does this happen around line 655? That line, and the one that follows, are L2R, and so are lines 918 and 919. This could confuse the code. Another possible reason could be short lines that disappear entirely under some large enough hscroll. To summarize, I think you should commit your changes, and we should deal with the fallout with later commits. After all, these problems went unnoticed until now, and they only happen if one turns on truncate-lines in the tutorial, which sounds an unlikely situation. It makes little sense to me to delay the horizontal scroll-bar fixes due to these anomalies, which are unlikely to be related to your un-installed changes. But it's your call.