From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place Date: Sat, 13 Aug 2016 20:25:23 +0300 Message-ID: <83oa4wd1j0.fsf@gnu.org> References: <87y448s2k8.fsf@gmail.com> <83vazchtm2.fsf@gnu.org> <8737mfyfxy.fsf@gmail.com> <83shufi8er.fsf@gnu.org> <87r39zkyli.fsf@gmail.com> <83fuqfi4e9.fsf@gnu.org> <87invbkwfe.fsf@gmail.com> <83inv7fiq5.fsf@gnu.org> <87fuqb3q3s.fsf@gmail.com> <83k2fmdqc0.fsf@gnu.org> <87h9apzlxs.fsf@gmail.com> <83fuq9duud.fsf@gnu.org> <87k2fkwqos.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1471109185 26980 195.159.176.226 (13 Aug 2016 17:26:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 13 Aug 2016 17:26:25 +0000 (UTC) Cc: 24179@debbugs.gnu.org To: Alex Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 13 19:26:21 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYchQ-0006rC-NK for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Aug 2016 19:26:20 +0200 Original-Received: from localhost ([::1]:58087 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYchN-00075O-Lq for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Aug 2016 13:26:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYchE-00075D-9E for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2016 13:26:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYch8-0002Wp-4F for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2016 13:26:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYch8-0002Wk-0q for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2016 13:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bYch7-0000Jr-Nz for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2016 13: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: Sat, 13 Aug 2016 17:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24179 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 24179-submit@debbugs.gnu.org id=B24179.14711091561214 (code B ref 24179); Sat, 13 Aug 2016 17:26:01 +0000 Original-Received: (at 24179) by debbugs.gnu.org; 13 Aug 2016 17:25:56 +0000 Original-Received: from localhost ([127.0.0.1]:56555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYch1-0000JW-Nq for submit@debbugs.gnu.org; Sat, 13 Aug 2016 13:25:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYch0-0000JJ-BO for 24179@debbugs.gnu.org; Sat, 13 Aug 2016 13:25:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYcgq-0002UN-EB for 24179@debbugs.gnu.org; Sat, 13 Aug 2016 13:25:49 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYcgq-0002UC-Aw; Sat, 13 Aug 2016 13:25:44 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1763 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bYcgm-0005X4-EI; Sat, 13 Aug 2016 13:25:42 -0400 In-reply-to: <87k2fkwqos.fsf@gmail.com> (message from Alex on Sat, 13 Aug 2016 10:59:15 -0600) 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:122178 Archived-At: > From: Alex > Cc: 24179@debbugs.gnu.org > Date: Sat, 13 Aug 2016 10:59:15 -0600 > > I meant that if it was necessary to show the point in the wrong position > in this case even for a very brief period of time. That is, could Emacs > correct the position before displaying the point to the user? Teaching Emacs not to get into such situations is what takes to fix these problems. Until then, no, Emacs cannot correct the position before showing the window, because if it did, the problem wouldn't have existed in the first place. When Emacs is about to redisplay a window, its main task is to figure out what should be the window-start position. If it decides incorrectly (which is what happens in this case), the window will display incorrectly. The display engine tries to detect these situations and recover from them, but it sometimes fails.