From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#43835: 28.0.50; auto-hscroll-mode/current-line + show-paren-mode + gnus-summary-mode = bug Date: Tue, 06 Oct 2020 22:10:26 +0300 Message-ID: <83lfgj9nml.fsf@gnu.org> References: <87lfgjnq2m.fsf@gmx.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29910"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43835@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 06 21:11:40 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPsN9-0007hL-Vz for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Oct 2020 21:11:39 +0200 Original-Received: from localhost ([::1]:60018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPsN8-0001O3-UJ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Oct 2020 15:11:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPsMY-0001Nk-HY for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2020 15:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42637) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPsMY-0002lR-1B for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2020 15:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kPsMX-0007Ou-SP for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2020 15:11: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: Tue, 06 Oct 2020 19:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43835 X-GNU-PR-Package: emacs Original-Received: via spool by 43835-submit@debbugs.gnu.org id=B43835.160201143028406 (code B ref 43835); Tue, 06 Oct 2020 19:11:01 +0000 Original-Received: (at 43835) by debbugs.gnu.org; 6 Oct 2020 19:10:30 +0000 Original-Received: from localhost ([127.0.0.1]:54182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPsM1-0007O5-RZ for submit@debbugs.gnu.org; Tue, 06 Oct 2020 15:10:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPsLz-0007Np-VD for 43835@debbugs.gnu.org; Tue, 06 Oct 2020 15:10:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57715) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPsLu-0002ep-Hw; Tue, 06 Oct 2020 15:10:22 -0400 Original-Received: from [176.228.60.248] (port=2386 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kPsLt-0006Th-Ub; Tue, 06 Oct 2020 15:10:22 -0400 In-Reply-To: <87lfgjnq2m.fsf@gmx.net> (message from Stephen Berman on Tue, 06 Oct 2020 20:53:53 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189933 Archived-At: > From: Stephen Berman > Date: Tue, 06 Oct 2020 20:53:53 +0200 > > I have observed a quirk in auto hscrolling the current line under > specific conditions. I have only seen it in gnus-summary-mode, but > there can reproduce it reliably with the following recipe: Thanks, but having Gnus in the picture is too much. Debugging redisplay issues involved in these momentary movements is hard as it is already. You could perhaps help me come up with ideas if, in a build configured with --enable-checking='yes,glyphs', you did the following: emacs -Q M-x blink-cursor-mode RET M-x global-eldoc-mode RET Then perform your recipe up to and excluding step 8. M-x trace-redisplay RET Wait till there are no more messages printed to stderr, then perform step 8 and notice the messages it causes to be printed, after you type C-e. Then do the same experiment, but with some other buffer, where you say that the problem doesn't happen, and tell what messages were printed by trace-redisplay in that case after C-e. If there's any difference between these two scenarios visible in the trace, that could give some ideas regarding the possible cause(s). Thanks. > I can reproduce this problem in Emacs 26, 27 and master, but I have only > been able to reproduce it in Gnus summary buffers, and only on the last > line of the summary and only when this line is longer than window-width > (so that hscrolling can happen) and the line ends with a pair of paren > characters (brackets and braces also show the effect) and > show-paren-mode is enabled. Sometimes I have seen the hscroll get > restored after a several seconds, but other times this does not happen > (though I haven't tried waiting for more than maybe 15-20 seconds). Does the hscroll get restored if you type "M-x"? P.S. Please remember performing all these tests with both blink-cursor-mode and global-eldoc-mode disabled. Those two cause frequent redisplay cycles that can completely obscure the actual problems.