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#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width Date: Tue, 20 Mar 2018 19:10:28 +0200 Message-ID: <83sh8ullkr.fsf@gnu.org> References: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> <837eriyojf.fsf@gnu.org> <9C3F79F1-DCBD-42C9-B105-FA03A8911270@paulwrankin.com> <833725zd0e.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1521565771 9503 195.159.176.226 (20 Mar 2018 17:09:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Mar 2018 17:09:31 +0000 (UTC) Cc: 30432@debbugs.gnu.org To: Paul Rankin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 20 18:09:27 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 1eyKlL-0002Md-Ef for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Mar 2018 18:09:27 +0100 Original-Received: from localhost ([::1]:50777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyKnM-0006Cq-Sd for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Mar 2018 13:11:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyKmw-0005uY-0c for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2018 13:11:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyKms-0006JU-R1 for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2018 13:11:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36252) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyKms-0006JO-NG for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2018 13:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eyKms-0000j7-I1 for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2018 13:11:02 -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, 20 Mar 2018 17:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30432-submit@debbugs.gnu.org id=B30432.15215658272744 (code B ref 30432); Tue, 20 Mar 2018 17:11:02 +0000 Original-Received: (at 30432) by debbugs.gnu.org; 20 Mar 2018 17:10:27 +0000 Original-Received: from localhost ([127.0.0.1]:44149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyKmI-0000iC-Se for submit@debbugs.gnu.org; Tue, 20 Mar 2018 13:10:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyKmH-0000i0-8O for 30432@debbugs.gnu.org; Tue, 20 Mar 2018 13:10:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyKm8-0005ib-Js for 30432@debbugs.gnu.org; Tue, 20 Mar 2018 13:10:19 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyKm8-0005iX-G6; Tue, 20 Mar 2018 13:10:16 -0400 Original-Received: from [176.228.60.248] (port=4738 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eyKm7-0003ts-WD; Tue, 20 Mar 2018 13:10:16 -0400 In-reply-to: (message from Paul Rankin on Tue, 13 Feb 2018 15:57:16 +1000) 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:144459 Archived-At: > From: Paul Rankin > Date: Tue, 13 Feb 2018 15:57:16 +1000 > Cc: 30432@debbugs.gnu.org > > > I agree the result is not good even if Emacs behaves like it does on > > my system, which is not a total freeze. I'll try to see if I can find > > some reasonable way out of this situation. > > A few more bits of info: > > - I think the freeze is entirely temporary, however the time frozen *seems* to increase linearly depending on the number of offending lines, so a buffer with only one or two extending lines might recover in a second or two, but a buffer with many offending lines will appear permanently frozen. > > - Move attempted point motion on offending lines appears to prolong the freeze. > > - The freeze will be very minimal (a second or two) if point skips over the wrap-prefix text entirely, e.g. apply wrap-prefix to lines in the middle of buffer, then M-> to eobp. > > - No freeze occurs if point is at eobp and moves back to bobp with M-< in the same circumstances as above. > > - The freeze will occur if the wrapped text is scrolled into view from below, e.g. same circumstances as above, move point to eobp then mouse wheel up. > > - When point moves to an affected position and things become frozen, the line number in the mode line will display as "??" Thanks, I think I fixed this. Please try the latest master branch. (It turns out wrap-prefix handling already had a smart defense against such calamities, but it needed help when the prefix was created by the likes of (space ...) properties.)