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: Sun, 14 Feb 2016 21:26:47 +0200 Message-ID: <83ziv3xfd4.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1455478041 1264 80.91.229.3 (14 Feb 2016 19:27:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Feb 2016 19:27:21 +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 Sun Feb 14 20:27:10 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 1aV2K5-0001Gk-I7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Feb 2016 20:27:09 +0100 Original-Received: from localhost ([::1]:53111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV2K4-0004LY-Nt for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Feb 2016 14:27:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV2K1-0004Km-7A for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2016 14:27:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aV2Jx-0003RN-Us for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2016 14:27:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV2Jx-0003RJ-Rb for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2016 14:27:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aV2Jx-0005oK-LI for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2016 14:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Feb 2016 19:27:01 +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.145547801522323 (code B ref 22637); Sun, 14 Feb 2016 19:27:01 +0000 Original-Received: (at 22637) by debbugs.gnu.org; 14 Feb 2016 19:26:55 +0000 Original-Received: from localhost ([127.0.0.1]:39062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aV2Jq-0005nz-QF for submit@debbugs.gnu.org; Sun, 14 Feb 2016 14:26:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36791) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aV2Jo-0005nm-HU for 22637@debbugs.gnu.org; Sun, 14 Feb 2016 14:26:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aV2Jg-0003QE-6q for 22637@debbugs.gnu.org; Sun, 14 Feb 2016 14:26:47 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV2Jg-0003Q6-2u; Sun, 14 Feb 2016 14:26:44 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3462 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aV2Jf-0007RR-B2; Sun, 14 Feb 2016 14:26:43 -0500 In-reply-to: (message from Keith David Bershatsky on Sat, 13 Feb 2016 23:55:50 -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:113032 Archived-At: > Date: Sat, 13 Feb 2016 23:55:50 -0800 > From: Keith David Bershatsky > Cc: 22637@debbugs.gnu.org > > The following example of problem 22637 is for emacs-25 branch built this evening (February 13, 2016) on Windows (XP). I believe this relates to the "recenter" portion of `xdisp.c`. The cursor looks like it is resting at the top of the window, when point is actually beneath the bottom of the window. Recentering had nothing to do with this. It was due to a stupid typo made 2.5 years ago. Now fixed on the emacs-25 branch. For the record, here's a variant of your test case that avoids triggering the undo timer (provided you don't move the mouse after pressing F1) and also makes the lines of text different to make it evident when cursor jumps or the window is scrolled: (face-spec-set 'mode-line '((((class color) (min-colors 88)) :box (:line-width -1 :style released-button) :background "grey75" :foreground "black" :height 120) (t :inverse-video t))) (setq scroll-conservatively 101) (global-eldoc-mode -1) (global-font-lock-mode -1) (blink-cursor-mode -1) (defun test () (interactive) (switch-to-buffer (get-buffer-create "*foo*")) (buffer-disable-undo) (setq undo-auto-current-boundary-timer t timer-list (delq 'undo-auto--boundary-timer timer-list)) (dotimes (i 200) (insert (format "I will not obey absurd orders %d.\n" i))) (goto-char (point-min)) (goto-char (- (point-max) 1000))) (global-set-key [f1] 'test)