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#15760: Bug #15760: 24.3; move-to-window-line goes to wrong line Date: Sun, 26 Jun 2016 22:25:05 +0300 Message-ID: <83ziq7ycq6.fsf@gnu.org> References: <72E011E11337B24D9D93F8DDEFEC7F30D6983CEC@us01wembx1.internal.synopsys.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1466969183 22316 80.91.229.3 (26 Jun 2016 19:26:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jun 2016 19:26:23 +0000 (UTC) Cc: John.Hagerman@synopsys.com, 15760@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 26 21:26:12 2016 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 1bHFh5-0003fB-RC for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Jun 2016 21:26:12 +0200 Original-Received: from localhost ([::1]:54989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHFh4-00021K-VL for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Jun 2016 15:26:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHFgz-000214-3k for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2016 15:26:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHFgv-00010g-UT for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2016 15:26:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHFgv-00010b-RL for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2016 15:26:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bHFgv-0007i0-Kn for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2016 15:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Jun 2016 19:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15760 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 15760-submit@debbugs.gnu.org id=B15760.146696914729603 (code B ref 15760); Sun, 26 Jun 2016 19:26:01 +0000 Original-Received: (at 15760) by debbugs.gnu.org; 26 Jun 2016 19:25:47 +0000 Original-Received: from localhost ([127.0.0.1]:57055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHFgh-0007hP-6K for submit@debbugs.gnu.org; Sun, 26 Jun 2016 15:25:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58147) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHFgf-0007h9-LG for 15760@debbugs.gnu.org; Sun, 26 Jun 2016 15:25:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHFgZ-0000xs-Fc for 15760@debbugs.gnu.org; Sun, 26 Jun 2016 15:25:40 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHFgU-0000w0-FQ; Sun, 26 Jun 2016 15:25:34 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2801 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bHFgP-0004hG-Qg; Sun, 26 Jun 2016 15:25:32 -0400 In-reply-to: (message from Noam Postavsky on Sun, 26 Jun 2016 12:59:42 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:120114 Archived-At: > From: Noam Postavsky > Date: Sun, 26 Jun 2016 12:59:42 -0400 > Cc: John Hagerman > > I think this happens simply because a GUI window can show partial > lines, and move-to-window-line only considers fully displayed lines. > Compare behaviour in a TTY where only whole lines can be displayed. Does pos-visible-in-window-p return nil for the line you think is only partially visible, when invoked with only 1 argument -- the last position in the buffer? If it does, then you are right. But if it returns t, then that line is fully visible, and some other factor is at work here.