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: Wed, 20 Aug 2014 18:49:45 +0300 Message-ID: <831tsbcg9y.fsf@gnu.org> References: <53CE6A44.1010708@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> <83wqa7cfoy.fsf@gnu.org> <53F1B9EA.6030808@gmx.at> <83lhqldeqf.fsf@gnu.org> <53F225A7.6030103@gmx.at> <83ha19day1.fsf@gnu.org> <83bnrgcxxt.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1408549826 867 80.91.229.3 (20 Aug 2014 15:50:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Aug 2014 15:50:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 20 17:50:19 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 1XK89Q-0005CP-Ks for ged-emacs-devel@m.gmane.org; Wed, 20 Aug 2014 17:50:16 +0200 Original-Received: from localhost ([::1]:56358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XK89Q-0007xO-AG for ged-emacs-devel@m.gmane.org; Wed, 20 Aug 2014 11:50:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XK898-0007vm-NK for emacs-devel@gnu.org; Wed, 20 Aug 2014 11:50:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XK890-0007Zx-MX for emacs-devel@gnu.org; Wed, 20 Aug 2014 11:49:58 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:51196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XK890-0007Zm-DY for emacs-devel@gnu.org; Wed, 20 Aug 2014 11:49:50 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NAM00M003S8DO00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Wed, 20 Aug 2014 18:49:49 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NAM00ML83Z0DU00@a-mtaout23.012.net.il>; Wed, 20 Aug 2014 18:49:49 +0300 (IDT) Sun-Java-System-SMTP-Warning: Lines longer than SMTP allows found and truncated. In-reply-to: <53F4BF7B.8000402@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:173781 Archived-At: > Date: Wed, 20 Aug 2014 17:32:11 +0200 > From: martin rudalics > CC: emacs-devel@gnu.org > > > I found the reason for this: w32_horizontal_scroll_bar_handle_click > > reported bogus (always -1) values in the Y part of '(X . Y)' member of > > the click event, when I drag the thumb. That value is not used in L2R > > paragraphs, so L2R buffers were not affected. > > I noticed the -1 but attributed it to the fact that I made the thumb > larger by one and decided to take care of this later. I wouldn't have > suspected this to be the root of almost all evil and would probably have > spent another week looking elsewhere. The crucial finding was that set-window-hscroll is always called with its NCOL argument set to zero, when I drag the thumb. The rest was very easy.