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#22637: 25.1.50; `mode-line` face `:height` incompatible with `scroll-conservatively 101`. Date: Tue, 16 Feb 2016 17:51:28 +0200 Message-ID: <83oabgwt4v.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1455637942 6479 80.91.229.3 (16 Feb 2016 15:52:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Feb 2016 15:52:22 +0000 (UTC) Cc: 22637@debbugs.gnu.org To: Keith David Bershatsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 16 16:52:11 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 1aVhv8-0002cR-3S for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Feb 2016 16:52:10 +0100 Original-Received: from localhost ([::1]:47276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVhv7-0007tM-9o for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Feb 2016 10:52:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVhv3-0007t1-MO for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2016 10:52:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVhv0-0004MY-G9 for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2016 10:52:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVhv0-0004MQ-CP for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2016 10:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aVhv0-0001IR-65 for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2016 10:52: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: Tue, 16 Feb 2016 15:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22637 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22637-submit@debbugs.gnu.org id=B22637.14556378914945 (code B ref 22637); Tue, 16 Feb 2016 15:52:02 +0000 Original-Received: (at 22637) by debbugs.gnu.org; 16 Feb 2016 15:51:31 +0000 Original-Received: from localhost ([127.0.0.1]:38208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aVhuV-0001Hg-JV for submit@debbugs.gnu.org; Tue, 16 Feb 2016 10:51:31 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38772) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aVhuS-0001HT-G1 for 22637@debbugs.gnu.org; Tue, 16 Feb 2016 10:51:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVhuK-0004AT-2B for 22637@debbugs.gnu.org; Tue, 16 Feb 2016 10:51:23 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVhuJ-0004AP-V2; Tue, 16 Feb 2016 10:51:19 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3023 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aVhuJ-0002dZ-7l; Tue, 16 Feb 2016 10:51:19 -0500 In-reply-to: (message from Keith David Bershatsky on Mon, 15 Feb 2016 18:51:26 -0800) 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113134 Archived-At: > Date: Mon, 15 Feb 2016 18:51:26 -0800 > From: Keith David Bershatsky > Cc: 22637@debbugs.gnu.org > > The same situation mentioned in my email earlier today (02/15/2016) is also present in the first test case that we looked at for #22637. I.e., after an insertion in the first test case, the `window-scroll-functions` hook never fires after `window-start` is corrected. So a user seeking to use the `window-scroll-functions` hook following a large insertion (e.g., a large yank, and so forth) is out of luck in that situation in terms of using a correct `window-start`. I have already dealt with it for the `window-start-end-hook` by forcing a call every command loop thereby bypassing "optimization 3"; however, the WSF has no fix at this time. The reason window-scroll-functions aren't run in both of these test cases is that what happens there is not considered "scrolling". Scrolling is informally defined as either an explicit call to a function that scrolls the window, or a pseudo-scroll done by the display engine when it detects that some part of the window's previous display is still present, but in a different vertical position. Moving point to an arbitrary location is neither.