From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19060: [FIX INCLUDED] Off-by-one-line scrolling bug in window_scroll_pixel_based Date: Sat, 15 Nov 2014 15:47:57 +0200 Message-ID: <83bno8fucy.fsf@gnu.org> References: <83wq6wg6fq.fsf@gnu.org> <5467354D.3000600@gmx.at> <83lhncg1b8.fsf@gnu.org> <5467433F.4020906@gmx.at> <83d28ofwch.fsf@gnu.org> <54675528.7070401@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1416059369 14366 80.91.229.3 (15 Nov 2014 13:49:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Nov 2014 13:49:29 +0000 (UTC) Cc: kelly@prtime.org, 19060@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 15 14:49:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Xpdj7-0006BV-6h for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Nov 2014 14:49:21 +0100 Original-Received: from localhost ([::1]:40640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xpdj6-00015s-T0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Nov 2014 08:49:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xpdiu-00015T-Oq for bug-gnu-emacs@gnu.org; Sat, 15 Nov 2014 08:49:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xpdip-0006zO-2A for bug-gnu-emacs@gnu.org; Sat, 15 Nov 2014 08:49:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xpdio-0006zH-SX for bug-gnu-emacs@gnu.org; Sat, 15 Nov 2014 08:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xpdio-0004F8-Bg for bug-gnu-emacs@gnu.org; Sat, 15 Nov 2014 08:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Nov 2014 13:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19060 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19060-submit@debbugs.gnu.org id=B19060.141605929716246 (code B ref 19060); Sat, 15 Nov 2014 13:49:02 +0000 Original-Received: (at 19060) by debbugs.gnu.org; 15 Nov 2014 13:48:17 +0000 Original-Received: from localhost ([127.0.0.1]:33387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xpdi4-0004Dx-Iq for submit@debbugs.gnu.org; Sat, 15 Nov 2014 08:48:16 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:34357) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xpdi2-0004Do-5p for 19060@debbugs.gnu.org; Sat, 15 Nov 2014 08:48:15 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NF300L001YB1J00@a-mtaout20.012.net.il> for 19060@debbugs.gnu.org; Sat, 15 Nov 2014 15:48:12 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NF300KSY2CCPP90@a-mtaout20.012.net.il>; Sat, 15 Nov 2014 15:48:12 +0200 (IST) In-reply-to: <54675528.7070401@gmx.at> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96061 > Date: Sat, 15 Nov 2014 14:29:12 +0100 > From: martin rudalics > CC: kelly@prtime.org, 19060@debbugs.gnu.org > > Just a few informations. I tried on Windows XP with the current trunk > (the release doesn't allow to resize frames pixelwise easily). I did > emacs -Q, displayed xdisp.c, did C-x 3 and resized the frame with the > mouse to make sure that the last lines of the windows showing xdisp.c do > get displayed only partially. Now pgup/pgdn in the right window always > gets me to the same line it had before when scrolling in the other > direction. Am I missing something? Since the issue is rounding vs truncating, perhaps try playing with the portion of the last displayed line, trying both less and greater than half the canonical line height.