From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#32839: 27.0.50; recenter doesn't redisplay Date: Tue, 25 Sep 2018 22:11:59 +0300 Organization: LINKOV.NET Message-ID: <8736txjvkg.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1537904180 18762 195.159.176.226 (25 Sep 2018 19:36:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Sep 2018 19:36:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) To: 32839@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 25 21:36:16 2018 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 1g4t83-0004l4-OG for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Sep 2018 21:36:16 +0200 Original-Received: from localhost ([::1]:54970 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4tAA-0007gd-Dl for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Sep 2018 15:38:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4t9u-0007fe-T0 for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 15:38:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4t9p-0006Os-SC for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 15:38:10 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49781) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g4t9m-0006Lu-91 for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 15:38:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g4t9m-0000ri-70 for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 15:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Sep 2018 19:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32839 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15379042323240 (code B ref -1); Tue, 25 Sep 2018 19:38:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Sep 2018 19:37:12 +0000 Original-Received: from localhost ([127.0.0.1]:54034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4t8y-0000qB-3K for submit@debbugs.gnu.org; Tue, 25 Sep 2018 15:37:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4t8w-0000pe-9X for submit@debbugs.gnu.org; Tue, 25 Sep 2018 15:37:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4t8q-0005cF-2i for submit@debbugs.gnu.org; Tue, 25 Sep 2018 15:37:04 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35977) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g4t8p-0005be-FQ for submit@debbugs.gnu.org; Tue, 25 Sep 2018 15:37:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4t8o-0006U5-85 for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 15:37:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4t8m-0005Z9-Qv for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 15:37:01 -0400 Original-Received: from pop.dreamhost.com ([64.90.62.162]:46588 helo=pdx1-sub0-mail-a31.g.dreamhost.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g4t8m-0005Y8-Im for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 15:37:00 -0400 Original-Received: from pdx1-sub0-mail-a31.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a31.g.dreamhost.com (Postfix) with ESMTP id 5948A7F37D for ; Tue, 25 Sep 2018 12:36:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to :subject:date:message-id:mime-version:content-type; s= linkov.net; bh=HnE9I/m2O9erl0BZQKTw9wsr0Bc=; b=fLOzO0fuPS9ol00uO lnLiOK9rXaaf8nTPFqDy1iBoWb5rohp/7a0n/abgIQ5Sg4Z/hThr+NVCdsLR+Lvf VqKuzb0taR/4Jc/RU3XhNauIY5syQzJSEtsTkujFhvtnRiOa9iyeSLz+nNdCMXj9 8c2cxPm3mL/Qv9Zlfh7nr0MD+o= Original-Received: from localhost.linkov.net (m91-129-111-128.cust.tele2.ee [91.129.111.128]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a31.g.dreamhost.com (Postfix) with ESMTPSA id 9F4657F32E for ; Tue, 25 Sep 2018 12:36:58 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a31 X-DH-BACKEND: pdx1-sub0-mail-a31 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:150659 Archived-At: As noted in bug#32672, maybe this is a regression, possibly caused by bug#31325 0. emacs -Q 1. Eval: (setq recenter-redisplay t) (add-to-list 'window-scroll-functions (lambda (window display-start) (message "window-scroll-functions %S %S %S" window (window-buffer window) display-start))) 2. Open *Messages* in adjacent window with 'C-h e' 3. Put point in *scratch* preferably not on the first line 4. Type 'C-l' (recenter-top-bottom) with different arguments, e.g. C-0 C-l C-1 C-l C-2 C-l etc. The *Messages* buffer is not refreshed to show new logged messages from the calls of the window-scroll-functions. This means that C-l (recenter-top-bottom) doesn't redisplay the frame - which is strange since it calls 'recenter' with non-nil arg REDISPLAY. Only after switching to the *Messages* buffer with 'C-x o' it gets redisplayed and all previously emitted messages appear in it. 5. Typein *scratch* again: C-l C-l C-l only when C-l puts point to the center of the window, the *Messages* buffer gets redisplayed (but then for some reason window-scroll-functions is not called in this case).