From unknown Mon Jun 23 05:59:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width Resent-From: Paul Rankin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Feb 2018 06:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 30432@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.151841819932683 (code B ref -1); Mon, 12 Feb 2018 06:50:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2018 06:49:59 +0000 Received: from localhost ([127.0.0.1]:38873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1el7w6-0008V4-P4 for submit@debbugs.gnu.org; Mon, 12 Feb 2018 01:49:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1el7w5-0008Uq-67 for submit@debbugs.gnu.org; Mon, 12 Feb 2018 01:49:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1el7vy-0005hX-Sj for submit@debbugs.gnu.org; Mon, 12 Feb 2018 01:49:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59291) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1el7vy-0005hD-OT for submit@debbugs.gnu.org; Mon, 12 Feb 2018 01:49:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1el7vx-0004hC-Jw for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 01:49:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1el7vt-0005b6-DO for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 01:49:49 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:52823) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1el7vt-0005Yg-57 for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 01:49:45 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 241CB2096D for ; Mon, 12 Feb 2018 01:49:43 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Mon, 12 Feb 2018 01:49:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=EvsNzYBZNQgS95pHig4O86OEgSn37Z3hWHs+/k/6ZCA=; b=D1t6dtCF EUtPBTzWLnUATfUgUjPaSy9sovTJOI8WAEY/XM7ejYglnQrftCwdxIJlTWrzWkTJ QIaqFlNZp41ZcQ/SLdr4v0OUk8SUxMsrS//+SsPgpDqDblAHlxnYLmNkC8OgV4NO 7paqhN25xfjZumkcJ5dvbgVRBGP9VniF93hzxOHex4y9GfzDT2bbNOW3KG2/CL0n 5yA9XPbLubIOdQZt3uJHpPRh6gCwcUoMezFoIJ/EzGs+XvcfSteSGtcFTxmRAGUN PEgrB6BiFQ2le5WXX3TUjEIByT68dcCzVzP22wYfbEBFTsoma8dENdHe4D519PvJ yOdkYhCez0mCXg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=EvsNzYBZNQgS95pHig4O86OEgSn37 Z3hWHs+/k/6ZCA=; b=MJ95YBBwyp+hdmMtP9PQNsWMBkZfDKYPLfsvzzIxQJ+Rd 1ARN5HVZsjaLF7Oz1+jgEjz0eec/GTS2ahz+Wm45E6ilbQzFBK+qBbFIYCOflmXU wy8VUQGwEsZdOj2WwsqvwxI7P/89r6nQQoyCpgLTT6p9UtjOWPs1H+fOp0UPi4NE GxfmsyfwJHAcjiNcnEunEQ5UsYx6JVqeZxLRyXRs+kmU22JMiRNxXp5iTGg7oKwB Qra7Oh0fMFaybVP/NoyODOiTwOp8HlgR7FdGDQY6spC6r8pIjFSN2nv5kgC50YI/ bc9XyuGjtZNZzkXGM19FtvWyJdnjL5rmygJat5BKA== X-ME-Sender: Received: from [10.64.98.209] (182.173.70.115.static.exetel.com.au [115.70.173.182]) by mail.messagingengine.com (Postfix) with ESMTPA id 6FFAE2469C for ; Mon, 12 Feb 2018 01:49:42 -0500 (EST) From: Paul Rankin Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Message-Id: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> Date: Mon, 12 Feb 2018 16:49:39 +1000 X-Mailer: Apple Mail (2.3445.5.20) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) So this took me a while to track down because it seemed so = unpredictable, but I can now reliably freeze Emacs when some text has a = wrap-prefix that exceeds the window text width. To reproduce: 1. emacs -Q 2. make sure window is 80 columns wide 3. insert a block of text that exceeds the window text width and causes = wrapping 4. set region over this text 5. (put-text-property (region-beginning) (region-end) 'wrap-prefix = '(space :align-to 81)) 6. move point to or past this text Expected result: I'm not sure, but I guess window should scroll horizontally to display = point. Actual results: Emacs freezes and needs to be killed. Real-world use case: In Fountain Mode (a major mode for screenwriting) text needs to aligned = using line-prefix and wrap-prefix. Text for scene transitions uses a = space of 45 columns. When the font size is increased, it's very easy for = the 45-column space plus the transition text to exceed the current = window text width. In Emacs versions prior to 26, this use to just wrap the transition = text, but something has changed with 26 to cause the freezing. ** Please do not reply asking me to change Fountain Mode to use = auto-fill. The existing syntax doesn't work this way. ** --=20 https://www.paulwrankin.com From unknown Mon Jun 23 05:59:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Feb 2018 19:53:01 +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: To: Paul Rankin Cc: 30432@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30432-submit@debbugs.gnu.org id=B30432.151846512228707 (code B ref 30432); Mon, 12 Feb 2018 19:53:01 +0000 Received: (at 30432) by debbugs.gnu.org; 12 Feb 2018 19:52:02 +0000 Received: from localhost ([127.0.0.1]:40063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elK8v-0007Sw-Te for submit@debbugs.gnu.org; Mon, 12 Feb 2018 14:52:02 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elK8u-0007SR-Ic for 30432@debbugs.gnu.org; Mon, 12 Feb 2018 14:52:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elK8k-0003s0-89 for 30432@debbugs.gnu.org; Mon, 12 Feb 2018 14:51:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elK8k-0003rs-0b; Mon, 12 Feb 2018 14:51:50 -0500 Received: from [176.228.60.248] (port=3047 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1elK8i-00086C-Dq; Mon, 12 Feb 2018 14:51:49 -0500 Date: Mon, 12 Feb 2018 21:51:32 +0200 Message-Id: <837eriyojf.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> (message from Paul Rankin on Mon, 12 Feb 2018 16:49:39 +1000) References: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Paul Rankin > Date: Mon, 12 Feb 2018 16:49:39 +1000 > > 1. emacs -Q > 2. make sure window is 80 columns wide > 3. insert a block of text that exceeds the window text width and causes wrapping > 4. set region over this text > 5. (put-text-property (region-beginning) (region-end) 'wrap-prefix '(space :align-to 81)) > 6. move point to or past this text > > Expected result: > > I'm not sure, but I guess window should scroll horizontally to display point. It can't. (And anyway, horizontal scrolling only happens when lines are truncated.) What the above wrap-prefix does is ask for 81 columns of whitespace each time we need to continue a line on the next screen line, before the text of that continuation line. But 81 columns is more than the window can show, so the wrap prefix itself causes another continuation line to appear, which then needs another wrap prefix, etc. etc., ad nauseam. IOW, asking for a 81-column wrap-prefix in a 80-column wide window makes no sense, and leaves redisplay no way of showing point -- or even showing more than one screen line of text. > Actual results: > > Emacs freezes and needs to be killed. I don't think I see a freeze here. What I see is that the cursor disappears, and Emacs repeatedly enters redisplay (because point is not visible) -- which is why you might think Emacs freezes. But if you type C-b enough times, or even just type M-<, cursor will eventually reappear, the "freezing" will stop, and Emacs will start behaving normally again. Although you sometimes need to wait for that to happen for a few dozen seconds. Is that what you see? Or do you see something different? (For the record, I inserted a 90-character line into *scratch*, then marked it, and typed the put-text-property form.) > In Emacs versions prior to 26, this use to just wrap the transition text, but something has changed with 26 to cause the freezing. What do you mean by "just wrap the transition text"? Can you tell what you see in previous versions with the recipe above? What I see in previous versions of Emacs is something similar to Emacs 26, except that the cursor instead of disappearing jumps to the end of the first screen line (which is a clearly bogus location), and stays there until you type C-b enough times to get point into the visible portion of the text line inserted at the beginning of the recipe. Do you see something different? Thanks. From unknown Mon Jun 23 05:59:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width Resent-From: Paul Rankin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Feb 2018 02:16: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: To: Eli Zaretskii Cc: 30432@debbugs.gnu.org Received: via spool by 30432-submit@debbugs.gnu.org id=B30432.151848812619680 (code B ref 30432); Tue, 13 Feb 2018 02:16:02 +0000 Received: (at 30432) by debbugs.gnu.org; 13 Feb 2018 02:15:26 +0000 Received: from localhost ([127.0.0.1]:40301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elQ7x-00057M-PE for submit@debbugs.gnu.org; Mon, 12 Feb 2018 21:15:26 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:38409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elQ7u-00057D-Vm for 30432@debbugs.gnu.org; Mon, 12 Feb 2018 21:15:23 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 9B27120CEB; Mon, 12 Feb 2018 21:15:22 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Mon, 12 Feb 2018 21:15:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=w5Pvp0Xt9lxS9sWM+ CZ2uDLgnHFeQJFOm7qyK+zJh84=; b=F9zAnifjbWBkUadBig2HyfBuk53/RXPwC 1OOijfKdT/FL+HdwmYaOLrsWxWQkKMsqWNmW8TMgYTe8+U7u8tpyN2UPaqPvi4m0 YPoGGKMiFR5uv9d30nTHGL6n+LSCZeMlFj6Sw4wjBTtcvjdXRyaZNrc45tPSscH0 8glDAVQL8EX+/vS1XVzFC1OIpuSzq1/7jY8hsgpYgodgnz8Eo3C8C87bu7gn7wc9 TpTdVI/zbrExusMuKZliOCto38z0FJSuCyezrK4SzILaKPqpA1DGM5VYx2M4TWvt ZYhF49MZRTZRYmeig9ptRszt0ckcmEWSFX+Ix0tt2xmQhTTklIIcA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=w5Pvp0 Xt9lxS9sWM+CZ2uDLgnHFeQJFOm7qyK+zJh84=; b=YOjwHb4XfSgSjp43RkSe2Y eXWH2F4BiHS3ulQu5x8q7mU9LZrzatKcT+gNMBzN1hUEts9kaKmVRqSJEv27O64s 2zDqxRjVlPDI7r/djnMiY/yRVaR+iJQKNyQ8iZxNgR5xhIuAkrdcshgxR6pQeAu9 2jEtbBCzhxI1X/AF7wclqdFCszJHtfoW34doMJA8egDrq1dNZhK6xqeB0mBQoT5D wROfUy1P3bdKF6toxMryKG/cQSNa20dYkO+2nkICylQNa5jMPKGmXJIMeUfChMRr x8j51eKlyQvSQEx9u/46LpXRHGoUP7ejKQoQsJHUUULMqvm1jdzqZkXvsEBUSJ4g == X-ME-Sender: Received: from [10.64.98.209] (182.173.70.115.static.exetel.com.au [115.70.173.182]) by mail.messagingengine.com (Postfix) with ESMTPA id AAB4C240DB; Mon, 12 Feb 2018 21:15:21 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) From: Paul Rankin In-Reply-To: <837eriyojf.fsf@gnu.org> Date: Tue, 13 Feb 2018 12:15:17 +1000 Content-Transfer-Encoding: quoted-printable Message-Id: <9C3F79F1-DCBD-42C9-B105-FA03A8911270@paulwrankin.com> References: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> <837eriyojf.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.5.20) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Sorry I didn't include my system before: macOS High Sierra 10.13.3 (17D47) MacBook Pro (Retina, 15-inch, Mid 2015) Emacs.app built from emacs-26 branch It's definitely a freeze. Emacs becomes unresponsive and needs to be = force quit. I've recorded a video showing how it all goes down: https://gfycat.com/gifs/detail/ImmaculateLazyAfricanjacana I've included the on-screen keyboard viewer, but this isn't really = helpful, because when Emacs freezes it blocks the keystrokes, but you = can see when it freezes on C-n the n key remains depressed. After that = I'm hammering away at C-b and M-< and M-v trying to move point back into = view. You can see that mouse clicks on the tool bar or menu also have no = effect. =46rom the video you can also see that the window can be resized, and = when the force quit dialogue comes up the keystrokes are no longer = blocked, so I doubt it's a macOS issue. Finally, the errors printed to the terminal are: 2018-02-13 10:44:01.623 Emacs[9161:2638527] IMKClient Stall detected, = *please Report* your user scenario attaching a spindump (or sysdiagnose) = that captures the problem - (imkxpc_deadKeyStateWithReply:) block = performed very slowly (1.25 secs). I can understand that the real-world use case might not make sense to = your own use of Emacs, but in the use I described, it means Emacs = freezes by just changing the font size... not good. --=20 https://www.paulwrankin.com > On 13 Feb 2018, at 5:51 am, Eli Zaretskii wrote: >=20 >> From: Paul Rankin >> Date: Mon, 12 Feb 2018 16:49:39 +1000 >>=20 >> 1. emacs -Q >> 2. make sure window is 80 columns wide >> 3. insert a block of text that exceeds the window text width and = causes wrapping >> 4. set region over this text >> 5. (put-text-property (region-beginning) (region-end) 'wrap-prefix = '(space :align-to 81)) >> 6. move point to or past this text >>=20 >> Expected result: >>=20 >> I'm not sure, but I guess window should scroll horizontally to = display point. >=20 > It can't. (And anyway, horizontal scrolling only happens when lines > are truncated.) >=20 > What the above wrap-prefix does is ask for 81 columns of whitespace > each time we need to continue a line on the next screen line, before > the text of that continuation line. But 81 columns is more than the > window can show, so the wrap prefix itself causes another continuation > line to appear, which then needs another wrap prefix, etc. etc., ad > nauseam. >=20 > IOW, asking for a 81-column wrap-prefix in a 80-column wide window > makes no sense, and leaves redisplay no way of showing point -- or > even showing more than one screen line of text. >=20 >> Actual results: >>=20 >> Emacs freezes and needs to be killed. >=20 > I don't think I see a freeze here. What I see is that the cursor > disappears, and Emacs repeatedly enters redisplay (because point is > not visible) -- which is why you might think Emacs freezes. But if > you type C-b enough times, or even just type M-<, cursor will > eventually reappear, the "freezing" will stop, and Emacs will start > behaving normally again. Although you sometimes need to wait for that > to happen for a few dozen seconds. >=20 > Is that what you see? Or do you see something different? (For the > record, I inserted a 90-character line into *scratch*, then marked it, > and typed the put-text-property form.) >=20 >> In Emacs versions prior to 26, this use to just wrap the transition = text, but something has changed with 26 to cause the freezing. >=20 > What do you mean by "just wrap the transition text"? Can you tell > what you see in previous versions with the recipe above? >=20 > What I see in previous versions of Emacs is something similar to Emacs > 26, except that the cursor instead of disappearing jumps to the end of > the first screen line (which is a clearly bogus location), and stays > there until you type C-b enough times to get point into the visible > portion of the text line inserted at the beginning of the recipe. Do > you see something different? >=20 > Thanks. From unknown Mon Jun 23 05:59:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width Resent-From: Paul Rankin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Feb 2018 02:19:01 +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: To: Eli Zaretskii Cc: 30432@debbugs.gnu.org Received: via spool by 30432-submit@debbugs.gnu.org id=B30432.151848829219936 (code B ref 30432); Tue, 13 Feb 2018 02:19:01 +0000 Received: (at 30432) by debbugs.gnu.org; 13 Feb 2018 02:18:12 +0000 Received: from localhost ([127.0.0.1]:40308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elQAe-0005BT-AT for submit@debbugs.gnu.org; Mon, 12 Feb 2018 21:18:12 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:36533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elQAd-0005BN-GU for 30432@debbugs.gnu.org; Mon, 12 Feb 2018 21:18:11 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6A86820CB8; Mon, 12 Feb 2018 21:18:11 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Mon, 12 Feb 2018 21:18:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=KDCTga+7hMUVh9aXp HIwpffHOFxPWen/1GhCTilrMCY=; b=sly9wNxkwtVpLiOA8/V9ioMu3Ou/IZmQJ h0W7JT05wOF9UmACWQG3t9WD0PKSJD9huTG65aEQ7lCWNMKez1ZONDQnVHYf7Dr9 Gmn5maShWF8IpPFkiHG4zEnp5Z9D8khTKyk3kclWmXjBsSUHgDl/UYCPIHVF9IQ8 VaanOtoj5dVx1P4+3w752h1ow7J2fnrdfUtkvkqPugjB0fipZePGbsk3/xR52uAv JzqIBLKHesahJ29OiQmtkVj4Y7he0X6p2HaRYhItNzZeRNlI41ALWeOmQfcLRzHr ett9Le+ZLjVbCwIjtDnMT0kd45otZpRRk/aSiTg4U++QD99biXrcg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=KDCTga +7hMUVh9aXpHIwpffHOFxPWen/1GhCTilrMCY=; b=c1c8T3V83Sbjr5ECFj8l2N FCIhIBEK7cguAafY9w2GBJYRFI0SKuQcTZAVT9BkUM5KeWG0F5I/fXkRlcUbnQQA NmhZXBEOW0SsCh+9pzTJ5ogP7vOOC5911ZtvUu6JJ/aSgNksdUtvccUidlmjDNmM M4ZUPepnVxt51GlshdWkPSv4AzO7nfmD+fmG8GkUM8JV8ZU9mxUNga/W4XQGDG+e 4sClsE/N0Bavu9H0QGPaQc+K3EokRWrCe5E8Ub8qJImf1V3kSVB/rJsTKog9ZqaK Ve3aBOSVcK3JJA7Zrs4vIn6kPw2TxyVXixvkWhCcBwVhrXOetoEpSzFmcHdLZNvQ == X-ME-Sender: Received: from [10.64.98.209] (182.173.70.115.static.exetel.com.au [115.70.173.182]) by mail.messagingengine.com (Postfix) with ESMTPA id 6F50A7E4AA; Mon, 12 Feb 2018 21:18:10 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) From: Paul Rankin In-Reply-To: <9C3F79F1-DCBD-42C9-B105-FA03A8911270@paulwrankin.com> Date: Tue, 13 Feb 2018 12:18:06 +1000 Content-Transfer-Encoding: quoted-printable Message-Id: <284C16BC-D7E0-47EA-8A7B-F6AEFAAD0147@paulwrankin.com> References: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> <837eriyojf.fsf@gnu.org> <9C3F79F1-DCBD-42C9-B105-FA03A8911270@paulwrankin.com> X-Mailer: Apple Mail (2.3445.5.20) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 13 Feb 2018, at 12:15 pm, Paul Rankin wrote: >=20 > It's definitely a freeze. Emacs becomes unresponsive and needs to be = force quit. I've recorded a video showing how it all goes down: >=20 > https://gfycat.com/gifs/detail/ImmaculateLazyAfricanjacana Sorry, I didn't realise this video site is truncated to 60 seconds, = which doesn't adequately illustrate the issue. I'm uploading a new one = now.= From unknown Mon Jun 23 05:59:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width Resent-From: Paul Rankin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Feb 2018 02:31: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: To: Eli Zaretskii Cc: 30432@debbugs.gnu.org Received: via spool by 30432-submit@debbugs.gnu.org id=B30432.151848903423793 (code B ref 30432); Tue, 13 Feb 2018 02:31:02 +0000 Received: (at 30432) by debbugs.gnu.org; 13 Feb 2018 02:30:34 +0000 Received: from localhost ([127.0.0.1]:40320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elQMb-0006B8-LR for submit@debbugs.gnu.org; Mon, 12 Feb 2018 21:30:34 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:57231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elQMa-000697-2s for 30432@debbugs.gnu.org; Mon, 12 Feb 2018 21:30:32 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id B9A21213F4; Mon, 12 Feb 2018 21:30:31 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Mon, 12 Feb 2018 21:30:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=m7Q9TJS7MbUvABMgS E+N5pJ1DGvDyyNuoHmS+wRx76M=; b=suQ+wf6K3mfdteo3ftFP37HKBcj/scQc8 LZ2+L6CMgZNEq424IpH/Gt4Gk1H+ahA2qZ4Ks083dQcnLoCUcZ7guMdLN4jlKu3Y SX7d3B1LtC4OhIF9dmQQK9AVaXo5TtChxHfJvfG9hIfiljfNaxTTRt/21HYJ8J73 TbalOMXeuVq494662tTyf2ikrU6uFySymG3ZT+shhjkYptn+sSUCbuPoYvHojV24 VZa28BXqmUuqWrMXkzIzWI/rkVKNr/Dn4NIAhsOAVxESS1iAI3SHLtprnJQJ+RMm eYqqDUbYseTGK61zs0IJrnVnYVX/rRPooAh36QYSM38SzgUzfsjIQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=m7Q9TJ S7MbUvABMgSE+N5pJ1DGvDyyNuoHmS+wRx76M=; b=nls9nPMPnPmnxdO6NIAxZ9 6tiGiQKE/WrzZVm6pxBwzd52KLHCRIqq//QYvAR1FKuI3256d43Iil6G+RGwxwW3 2TNybJkXIKaUEflgnIF7oxLHplU0EFftSewpE8qtgE6b8yyBhgADYRX8ufqbSA9W DSkut9NMhlkyEYcxTVxah32UfRo0WMRSUMnqxKFxfAyn7Pg/temgTBHZYjr03CvH Nw+80+FssmLFEZVZBa7YmpW/9NcwMUqHiLf0mpqiOVv914yiRDH26y0KxqrN/Roc Vnrn6Z8YwNYt9h3Cqs4/JL7n2JfUp7M992fzg/4sxQBneMwZg5cWga/ssWzIo7hg == X-ME-Sender: Received: from [10.64.98.209] (182.173.70.115.static.exetel.com.au [115.70.173.182]) by mail.messagingengine.com (Postfix) with ESMTPA id B8B9724547; Mon, 12 Feb 2018 21:30:30 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) From: Paul Rankin In-Reply-To: <284C16BC-D7E0-47EA-8A7B-F6AEFAAD0147@paulwrankin.com> Date: Tue, 13 Feb 2018 12:30:27 +1000 Content-Transfer-Encoding: quoted-printable Message-Id: <7E549FDE-603E-4CE9-BBDF-62D9C3055007@paulwrankin.com> References: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> <837eriyojf.fsf@gnu.org> <9C3F79F1-DCBD-42C9-B105-FA03A8911270@paulwrankin.com> <284C16BC-D7E0-47EA-8A7B-F6AEFAAD0147@paulwrankin.com> X-Mailer: Apple Mail (2.3445.5.20) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) This video has the whole show. I select a paragraph of lorem ipsum, put = the wrap-prefix of 90 and then zap, Emacs becomes a zombie. https://gfycat.com/WarpedImpureFlickertailsquirrel In the vid I'm both clicking and hitting C-b, M-<, etc. but nothing. --=20 https://www.paulwrankin.com > On 13 Feb 2018, at 12:18 pm, Paul Rankin = wrote: >=20 > On 13 Feb 2018, at 12:15 pm, Paul Rankin = wrote: >>=20 >> It's definitely a freeze. Emacs becomes unresponsive and needs to be = force quit. I've recorded a video showing how it all goes down: >>=20 >> https://gfycat.com/gifs/detail/ImmaculateLazyAfricanjacana >=20 > Sorry, I didn't realise this video site is truncated to 60 seconds, = which doesn't adequately illustrate the issue. I'm uploading a new one = now. From unknown Mon Jun 23 05:59:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Feb 2018 05:16: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: To: Paul Rankin Cc: 30432@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30432-submit@debbugs.gnu.org id=B30432.151849893411025 (code B ref 30432); Tue, 13 Feb 2018 05:16:02 +0000 Received: (at 30432) by debbugs.gnu.org; 13 Feb 2018 05:15:34 +0000 Received: from localhost ([127.0.0.1]:40353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elSwI-0002rl-A2 for submit@debbugs.gnu.org; Tue, 13 Feb 2018 00:15:34 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elSwG-0002rT-Vd for 30432@debbugs.gnu.org; Tue, 13 Feb 2018 00:15:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elSw8-0005di-Dn for 30432@debbugs.gnu.org; Tue, 13 Feb 2018 00:15:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elSw8-0005de-Ae; Tue, 13 Feb 2018 00:15:24 -0500 Received: from [176.228.60.248] (port=3369 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1elSw7-0007DV-MT; Tue, 13 Feb 2018 00:15:24 -0500 Date: Tue, 13 Feb 2018 07:15:13 +0200 Message-Id: <833725zd0e.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <9C3F79F1-DCBD-42C9-B105-FA03A8911270@paulwrankin.com> (message from Paul Rankin on Tue, 13 Feb 2018 12:15:17 +1000) References: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> <837eriyojf.fsf@gnu.org> <9C3F79F1-DCBD-42C9-B105-FA03A8911270@paulwrankin.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Paul Rankin > Date: Tue, 13 Feb 2018 12:15:17 +1000 > Cc: 30432@debbugs.gnu.org > > Sorry I didn't include my system before: > > macOS High Sierra 10.13.3 (17D47) > MacBook Pro (Retina, 15-inch, Mid 2015) > Emacs.app built from emacs-26 branch Yes, I tried the emacs-26 branch as well. What I reported was from that branch's build. > It's definitely a freeze. Emacs becomes unresponsive and needs to be force quit. Did you try C-g 2 or 3 times? If so, did it help? > I can understand that the real-world use case might not make sense to your own use of Emacs, but in the use I described, it means Emacs freezes by just changing the font size... not good. 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. From unknown Mon Jun 23 05:59:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width Resent-From: Paul Rankin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Feb 2018 05:58: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: To: Eli Zaretskii Cc: 30432@debbugs.gnu.org Received: via spool by 30432-submit@debbugs.gnu.org id=B30432.151850144214612 (code B ref 30432); Tue, 13 Feb 2018 05:58:02 +0000 Received: (at 30432) by debbugs.gnu.org; 13 Feb 2018 05:57:22 +0000 Received: from localhost ([127.0.0.1]:40378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elTak-0003nc-H3 for submit@debbugs.gnu.org; Tue, 13 Feb 2018 00:57:22 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:48495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elTaj-0003nT-35 for 30432@debbugs.gnu.org; Tue, 13 Feb 2018 00:57:21 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 9024E20C05; Tue, 13 Feb 2018 00:57:20 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Tue, 13 Feb 2018 00:57:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=5j6SHn9aJy5FDxppE KaAPy2AbIEFH7nYfKZXR42lmgs=; b=P4zzrJHMZ+yEJ4d6//oulis8Jleot87Sh b6jXPsC26T/lnZCaqy0zoxptDnOKRsbcp7Voo+oTrqqli3OylKVpXtPb6UnlVudl vzaWssPCD/UXmLvOnZZ6JYfMLBKpxjtDu2DfZQQ64HNZttuagltaKp29zcdZF06R Q9/VHxclFfvIARf1qlascOG2hg3Ottz6StnUZArhLXuLu8l4qjl5X3FA9qsx/Seu jkEAuTicekNj0/1ZULv8HVa+xSs0lBkeBzVsdXkZUdfPqHbEbbhP6XCkhXp1YhBp h8DL1tGza76jJCMDi/JnkdtN9XZnyinlCLYoFh/JXIdHjdqVrTphg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=5j6SHn 9aJy5FDxppEKaAPy2AbIEFH7nYfKZXR42lmgs=; b=VpvZQNtOJyEPJn0xOiV7HA oIfg3rdKdlaBiZ2uXrEDP2Op55JxCYvaI4nph8vLLY0z4LmzDZzrhN7vlYHkRnXX gVOpjf2KPuxqfqtFP5zXcbf9riTWWWB/tcEwt8ndgLihs/mAez9vYairb7b66emm 3orp2fmasLYgWzIAdW5dp0V1r/hhqTozIByLnGKvAnR5YVPI4S5asf7CvjkTt3Vm 2FqxdKNfk+oV/tgt7mzW04dm+tXHjGmS2rir5sVDSCbFG9Z3hp76dB7B+hIEIiDb PiMO+QBpKa9EbYFicDtOMydNoR1ClHFDqlwQV1Ftt09C5J973FscyqXbYLcpcg5Q == X-ME-Sender: Received: from [10.64.98.209] (182.173.70.115.static.exetel.com.au [115.70.173.182]) by mail.messagingengine.com (Postfix) with ESMTPA id 8855D7E520; Tue, 13 Feb 2018 00:57:19 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) From: Paul Rankin In-Reply-To: <833725zd0e.fsf@gnu.org> Date: Tue, 13 Feb 2018 15:57:16 +1000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> <837eriyojf.fsf@gnu.org> <9C3F79F1-DCBD-42C9-B105-FA03A8911270@paulwrankin.com> <833725zd0e.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.5.20) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 13 Feb 2018, at 3:15 pm, Eli Zaretskii wrote: >=20 >> From: Paul Rankin >> Date: Tue, 13 Feb 2018 12:15:17 +1000 >> Cc: 30432@debbugs.gnu.org >>=20 >> Sorry I didn't include my system before: >>=20 >> macOS High Sierra 10.13.3 (17D47) >> MacBook Pro (Retina, 15-inch, Mid 2015) >> Emacs.app built from emacs-26 branch >=20 > Yes, I tried the emacs-26 branch as well. What I reported was from > that branch's build. >=20 >> It's definitely a freeze. Emacs becomes unresponsive and needs to be = force quit. >=20 > Did you try C-g 2 or 3 times? If so, did it help? Yep, C-g many times but no help. >> I can understand that the real-world use case might not make sense to = your own use of Emacs, but in the use I described, it means Emacs = freezes by just changing the font size... not good. >=20 > 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 "??" From unknown Mon Jun 23 05:59:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width 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: To: Paul Rankin Cc: 30432@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30432-submit@debbugs.gnu.org id=B30432.15215658272744 (code B ref 30432); Tue, 20 Mar 2018 17:11:02 +0000 Received: (at 30432) by debbugs.gnu.org; 20 Mar 2018 17:10:27 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 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 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 Date: Tue, 20 Mar 2018 19:10:28 +0200 Message-Id: <83sh8ullkr.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Paul Rankin on Tue, 13 Feb 2018 15:57:16 +1000) References: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> <837eriyojf.fsf@gnu.org> <9C3F79F1-DCBD-42C9-B105-FA03A8911270@paulwrankin.com> <833725zd0e.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > 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.) From unknown Mon Jun 23 05:59:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width Resent-From: "Paul W. Rankin" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Mar 2018 05:01: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: To: Eli Zaretskii Cc: 30432@debbugs.gnu.org Received: via spool by 30432-submit@debbugs.gnu.org id=B30432.152229961517340 (code B ref 30432); Thu, 29 Mar 2018 05:01:02 +0000 Received: (at 30432) by debbugs.gnu.org; 29 Mar 2018 05:00:15 +0000 Received: from localhost ([127.0.0.1]:57835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1Pfb-0004Vc-EV for submit@debbugs.gnu.org; Thu, 29 Mar 2018 01:00:15 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:34455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1PfZ-0004VR-J7 for 30432@debbugs.gnu.org; Thu, 29 Mar 2018 01:00:14 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id E0DD72105E; Thu, 29 Mar 2018 01:00:12 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 29 Mar 2018 01:00:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=qBL2fLqotKDxNTnV6 FYjdGmnR1PKebmoBG6/EF7TZ+g=; b=KcRGyY87+GGdTUPPzT/ERHOxrm90/yUTJ pXFgH5qNjDNnncxXMrfNHkVCFf/ngLM0Wwb+aoB9w5Zuta7taEIDI4I1wdbW2KxM RZZEq7XXBFcxXVkD7fwHxJTCAXRzoZjNOpGCZcOXfHzuAmpwy8FXk5472kgFkzoF DmdjUezxOec9v1WJkqrg1r/e0SYSGAmWeqSQ+EafhqDJDfoenMgYypbEc80a2USj UQLErHOdRzPHpBKmHvY4hWDdBku5+xnv2wBGy2AM1csn31Td/LDupQ6TAY81B2nX n/aYg/tnswt/UTI7hAMay/IPsMvccJ+riQsMJNe+XpZUlppEIIA+Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=qBL2fL qotKDxNTnV6FYjdGmnR1PKebmoBG6/EF7TZ+g=; b=hFH9URKCWeGCX6//zho/K5 uDDGxY9CKtpLNGPv1s3EQVP1JLpcNZ1otFiV2785QZ3gZQlpTuX1hoqeL6WKN18x wST1BHd0QJPy2my48MbkQjLpp89hLXVlNijI3dVojmMGJo1roJ8+apdvtLrFyRJ6 hz4My4RKCpuPhLjlwJ7mdDcy2Eb5Mu7t2WYokf9Q4bp1f9jmdcQOC7sO6HAKLtpm qvc4SHSzCpCcX2rTmKTM1VoqwWMYzBMn6l3MDHqhYl1MlZV0Q4/8gytiGgmyqL2x r2nIwNMyXF/L3JHAdNn0h69mpEiDTQxFjMYiNhnd9OYKKOuQWhIEG3fbydtkFCbA == X-ME-Sender: Received: from [10.64.98.209] (182.173.70.115.static.exetel.com.au [115.70.173.182]) by mail.messagingengine.com (Postfix) with ESMTPA id F1F3610351; Thu, 29 Mar 2018 01:00:11 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) From: "Paul W. Rankin" In-Reply-To: <83sh8ullkr.fsf@gnu.org> Date: Thu, 29 Mar 2018 15:00:07 +1000 Content-Transfer-Encoding: quoted-printable Message-Id: <8C87C29E-942F-415A-9E72-C3F1886300FD@paulwrankin.com> References: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> <837eriyojf.fsf@gnu.org> <9C3F79F1-DCBD-42C9-B105-FA03A8911270@paulwrankin.com> <833725zd0e.fsf@gnu.org> <83sh8ullkr.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.5.20) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 21 Mar 2018, at 3:10 am, Eli Zaretskii wrote: >=20 > Thanks, I think I fixed this. Please try the latest master branch. >=20 > (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.) Thanks Eli. I built from master branch and this appears mostly fixed to = me, although I'm still getting a similar temporary freeze when moving = point backwards onto a problematic line, e.g. 1. Emacs -Q 2. In scratch buffer, M-x fundamental-mode (just to be sure) 3. M-^ on the second line (to join a line of 80+ chars) 4. M-: (put-text-property (region-beginning) (region-end) 'wrap-prefix = '(space :align-to 81)) 5. C-n until point is past text line 6. C-p Here I get a temporary freeze. However if I resize the window wider than 80 cols and navigate point = around, there is no freeze.= From unknown Mon Jun 23 05:59:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Mar 2018 13:01:01 +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: To: "Paul W. Rankin" Cc: 30432@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30432-submit@debbugs.gnu.org id=B30432.152241480518418 (code B ref 30432); Fri, 30 Mar 2018 13:01:01 +0000 Received: (at 30432) by debbugs.gnu.org; 30 Mar 2018 13:00:05 +0000 Received: from localhost ([127.0.0.1]:59532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1tdU-0004n0-Tc for submit@debbugs.gnu.org; Fri, 30 Mar 2018 09:00:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1tdT-0004lz-8g for 30432@debbugs.gnu.org; Fri, 30 Mar 2018 09:00:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1tdL-0005D1-1l for 30432@debbugs.gnu.org; Fri, 30 Mar 2018 08:59:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1tdK-0005Cx-Ug; Fri, 30 Mar 2018 08:59:54 -0400 Received: from [176.228.60.248] (port=1455 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f1tdK-0001DF-9F; Fri, 30 Mar 2018 08:59:54 -0400 Date: Fri, 30 Mar 2018 15:59:51 +0300 Message-Id: <83o9j590s8.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <8C87C29E-942F-415A-9E72-C3F1886300FD@paulwrankin.com> (hello@paulwrankin.com) References: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> <837eriyojf.fsf@gnu.org> <9C3F79F1-DCBD-42C9-B105-FA03A8911270@paulwrankin.com> <833725zd0e.fsf@gnu.org> <83sh8ullkr.fsf@gnu.org> <8C87C29E-942F-415A-9E72-C3F1886300FD@paulwrankin.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: "Paul W. Rankin" > Date: Thu, 29 Mar 2018 15:00:07 +1000 > Cc: 30432@debbugs.gnu.org > > Thanks Eli. I built from master branch and this appears mostly fixed to me, although I'm still getting a similar temporary freeze when moving point backwards onto a problematic line, e.g. > > 1. Emacs -Q > 2. In scratch buffer, M-x fundamental-mode (just to be sure) > 3. M-^ on the second line (to join a line of 80+ chars) > 4. M-: (put-text-property (region-beginning) (region-end) 'wrap-prefix '(space :align-to 81)) > 5. C-n until point is past text line > 6. C-p > > Here I get a temporary freeze. Right, a similar fix needed to be applied elsewhere. Should be fixed now. From debbugs-submit-bounces@debbugs.gnu.org Mon May 07 14:32:58 2018 Received: (at control) by debbugs.gnu.org; 7 May 2018 18:32:58 +0000 Received: from localhost ([127.0.0.1]:53158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fFkwU-0006th-4Y for submit@debbugs.gnu.org; Mon, 07 May 2018 14:32:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fFkwS-0006tU-Cf for control@debbugs.gnu.org; Mon, 07 May 2018 14:32:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFkwJ-0007WH-VR for control@debbugs.gnu.org; Mon, 07 May 2018 14:32:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFkwJ-0007WA-SE; Mon, 07 May 2018 14:32:47 -0400 Received: from [176.228.60.248] (port=1174 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fFkwI-0005Ev-1m; Mon, 07 May 2018 14:32:47 -0400 Date: Mon, 07 May 2018 21:32:42 +0300 Message-Id: <834ljjqpth.fsf@gnu.org> From: Eli Zaretskii To: Michael Ernst In-reply-to: <20180507.075832.350263020714223857.mernst@cs.washington.edu> (message from Michael Ernst on Mon, 07 May 2018 07:58:32 -0700 (PDT)) Subject: Re: bug#31378: 25.2; visual-line-mode freezes Emacs, unresponsive to C-g References: <20180507.075832.350263020714223857.mernst@cs.washington.edu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control Cc: 31378@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) merge 31378 30432 thanks > Date: Mon, 07 May 2018 07:58:32 -0700 (PDT) > From: Michael Ernst > > To reproduce the problem: > * emacs -Q > * visit the attached text (file long-visual-line-repro.el) in a buffer > * M-x eval-buffer > * C-n through the buffer until Emacs freezes, on the long "xxx...xxx" > line > > Emacs freezes, uses 100% of CPU, and is unresponsive to C-g keystrokes. Thanks, this is bug#30432, most of which is fixed in Emacs 26.1, and the rest is fixed on the master branch. From unknown Mon Jun 23 05:59:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 May 2018 18:39: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: To: hello@paulwrankin.com Cc: 30432@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30432-submit@debbugs.gnu.org id=B30432.152571829527036 (code B ref 30432); Mon, 07 May 2018 18:39:02 +0000 Received: (at 30432) by debbugs.gnu.org; 7 May 2018 18:38:15 +0000 Received: from localhost ([127.0.0.1]:53171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fFl1b-000720-HE for submit@debbugs.gnu.org; Mon, 07 May 2018 14:38:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fFl1a-00071n-0I for 30432@debbugs.gnu.org; Mon, 07 May 2018 14:38:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFl1R-0004kp-Hv for 30432@debbugs.gnu.org; Mon, 07 May 2018 14:38:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFl1R-0004kh-Dk; Mon, 07 May 2018 14:38:05 -0400 Received: from [176.228.60.248] (port=1216 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fFl1P-0004jT-Ip; Mon, 07 May 2018 14:38:04 -0400 Date: Mon, 07 May 2018 21:38:04 +0300 Message-Id: <8336z3qpkj.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <83o9j590s8.fsf@gnu.org> (message from Eli Zaretskii on Fri, 30 Mar 2018 15:59:51 +0300) References: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> <837eriyojf.fsf@gnu.org> <9C3F79F1-DCBD-42C9-B105-FA03A8911270@paulwrankin.com> <833725zd0e.fsf@gnu.org> <83sh8ullkr.fsf@gnu.org> <8C87C29E-942F-415A-9E72-C3F1886300FD@paulwrankin.com> <83o9j590s8.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Fri, 30 Mar 2018 15:59:51 +0300 > From: Eli Zaretskii > Cc: 30432@debbugs.gnu.org > > > From: "Paul W. Rankin" > > Date: Thu, 29 Mar 2018 15:00:07 +1000 > > Cc: 30432@debbugs.gnu.org > > > > Thanks Eli. I built from master branch and this appears mostly fixed to me, although I'm still getting a similar temporary freeze when moving point backwards onto a problematic line, e.g. > > > > 1. Emacs -Q > > 2. In scratch buffer, M-x fundamental-mode (just to be sure) > > 3. M-^ on the second line (to join a line of 80+ chars) > > 4. M-: (put-text-property (region-beginning) (region-end) 'wrap-prefix '(space :align-to 81)) > > 5. C-n until point is past text line > > 6. C-p > > > > Here I get a temporary freeze. > > Right, a similar fix needed to be applied elsewhere. > > Should be fixed now. Ping? Paul, if you had a chance to see whether this fixes your problems in the real-life use cases, I'd like to close the bug. Thanks. From unknown Mon Jun 23 05:59:20 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Paul Rankin Subject: bug#30432: closed (Re: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width) Message-ID: References: <83po26oynx.fsf@gnu.org> <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> X-Gnu-PR-Message: they-closed 30432 X-Gnu-PR-Package: emacs Reply-To: 30432@debbugs.gnu.org Date: Tue, 08 May 2018 17:18:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1525799883-7809-1" This is a multi-part message in MIME format... ------------=_1525799883-7809-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30432: 26.0.91; freeze when text wrap-prefix exceeds window text width which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 30432@debbugs.gnu.org. --=20 30432: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30432 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1525799883-7809-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30432-done) by debbugs.gnu.org; 8 May 2018 17:17:06 +0000 Received: from localhost ([127.0.0.1]:54454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fG6Ea-00020j-Ow for submit@debbugs.gnu.org; Tue, 08 May 2018 13:17:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50029) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fG6EY-00020B-AB for 30432-done@debbugs.gnu.org; Tue, 08 May 2018 13:17:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fG6EP-000804-R3 for 30432-done@debbugs.gnu.org; Tue, 08 May 2018 13:16:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fG6EP-000800-Nb; Tue, 08 May 2018 13:16:53 -0400 Received: from [176.228.60.248] (port=4420 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fG6EN-0007LP-Sl; Tue, 08 May 2018 13:16:53 -0400 Date: Tue, 08 May 2018 20:16:50 +0300 Message-Id: <83po26oynx.fsf@gnu.org> From: Eli Zaretskii To: "Paul W. Rankin" In-reply-to: <2F164141-0F75-45C9-8211-ADAF2B005C16@paulwrankin.com> (hello@paulwrankin.com) Subject: Re: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width References: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> <837eriyojf.fsf@gnu.org> <9C3F79F1-DCBD-42C9-B105-FA03A8911270@paulwrankin.com> <833725zd0e.fsf@gnu.org> <83sh8ullkr.fsf@gnu.org> <8C87C29E-942F-415A-9E72-C3F1886300FD@paulwrankin.com> <83o9j590s8.fsf@gnu.org> <8336z3qpkj.fsf@gnu.org> <0C03687D-D0D4-46CE-B409-6A2E55C8A5FA@paulwrankin.com> <2F164141-0F75-45C9-8211-ADAF2B005C16@paulwrankin.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30432-done Cc: 30432-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: "Paul W. Rankin" > Date: Tue, 8 May 2018 17:29:36 +1000 > > All look perfect on my end when built from master. Great, thanks for testing. I'm therefore closing this bug. ------------=_1525799883-7809-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 12 Feb 2018 06:49:59 +0000 Received: from localhost ([127.0.0.1]:38873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1el7w6-0008V4-P4 for submit@debbugs.gnu.org; Mon, 12 Feb 2018 01:49:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1el7w5-0008Uq-67 for submit@debbugs.gnu.org; Mon, 12 Feb 2018 01:49:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1el7vy-0005hX-Sj for submit@debbugs.gnu.org; Mon, 12 Feb 2018 01:49:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59291) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1el7vy-0005hD-OT for submit@debbugs.gnu.org; Mon, 12 Feb 2018 01:49:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1el7vx-0004hC-Jw for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 01:49:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1el7vt-0005b6-DO for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 01:49:49 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:52823) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1el7vt-0005Yg-57 for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 01:49:45 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 241CB2096D for ; Mon, 12 Feb 2018 01:49:43 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Mon, 12 Feb 2018 01:49:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=EvsNzYBZNQgS95pHig4O86OEgSn37Z3hWHs+/k/6ZCA=; b=D1t6dtCF EUtPBTzWLnUATfUgUjPaSy9sovTJOI8WAEY/XM7ejYglnQrftCwdxIJlTWrzWkTJ QIaqFlNZp41ZcQ/SLdr4v0OUk8SUxMsrS//+SsPgpDqDblAHlxnYLmNkC8OgV4NO 7paqhN25xfjZumkcJ5dvbgVRBGP9VniF93hzxOHex4y9GfzDT2bbNOW3KG2/CL0n 5yA9XPbLubIOdQZt3uJHpPRh6gCwcUoMezFoIJ/EzGs+XvcfSteSGtcFTxmRAGUN PEgrB6BiFQ2le5WXX3TUjEIByT68dcCzVzP22wYfbEBFTsoma8dENdHe4D519PvJ yOdkYhCez0mCXg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=EvsNzYBZNQgS95pHig4O86OEgSn37 Z3hWHs+/k/6ZCA=; b=MJ95YBBwyp+hdmMtP9PQNsWMBkZfDKYPLfsvzzIxQJ+Rd 1ARN5HVZsjaLF7Oz1+jgEjz0eec/GTS2ahz+Wm45E6ilbQzFBK+qBbFIYCOflmXU wy8VUQGwEsZdOj2WwsqvwxI7P/89r6nQQoyCpgLTT6p9UtjOWPs1H+fOp0UPi4NE GxfmsyfwJHAcjiNcnEunEQ5UsYx6JVqeZxLRyXRs+kmU22JMiRNxXp5iTGg7oKwB Qra7Oh0fMFaybVP/NoyODOiTwOp8HlgR7FdGDQY6spC6r8pIjFSN2nv5kgC50YI/ bc9XyuGjtZNZzkXGM19FtvWyJdnjL5rmygJat5BKA== X-ME-Sender: Received: from [10.64.98.209] (182.173.70.115.static.exetel.com.au [115.70.173.182]) by mail.messagingengine.com (Postfix) with ESMTPA id 6FFAE2469C for ; Mon, 12 Feb 2018 01:49:42 -0500 (EST) From: Paul Rankin Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: 26.0.91; freeze when text wrap-prefix exceeds window text width Message-Id: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> Date: Mon, 12 Feb 2018 16:49:39 +1000 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3445.5.20) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) So this took me a while to track down because it seemed so = unpredictable, but I can now reliably freeze Emacs when some text has a = wrap-prefix that exceeds the window text width. To reproduce: 1. emacs -Q 2. make sure window is 80 columns wide 3. insert a block of text that exceeds the window text width and causes = wrapping 4. set region over this text 5. (put-text-property (region-beginning) (region-end) 'wrap-prefix = '(space :align-to 81)) 6. move point to or past this text Expected result: I'm not sure, but I guess window should scroll horizontally to display = point. Actual results: Emacs freezes and needs to be killed. Real-world use case: In Fountain Mode (a major mode for screenwriting) text needs to aligned = using line-prefix and wrap-prefix. Text for scene transitions uses a = space of 45 columns. When the font size is increased, it's very easy for = the 45-column space plus the transition text to exceed the current = window text width. In Emacs versions prior to 26, this use to just wrap the transition = text, but something has changed with 26 to cause the freezing. ** Please do not reply asking me to change Fountain Mode to use = auto-fill. The existing syntax doesn't work this way. ** --=20 https://www.paulwrankin.com ------------=_1525799883-7809-1-- From unknown Mon Jun 23 05:59:20 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Michael Ernst Subject: bug#31378: closed (Re: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width) Message-ID: References: <83po26oynx.fsf@gnu.org> <20180507.075832.350263020714223857.mernst@cs.washington.edu> X-Gnu-PR-Message: they-closed 31378 X-Gnu-PR-Package: emacs Reply-To: 31378@debbugs.gnu.org Date: Tue, 08 May 2018 17:18:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1525799885-7809-3" This is a multi-part message in MIME format... ------------=_1525799885-7809-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30432: 25.2; visual-line-mode freezes Emacs, unresponsive to C-g which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 31378@debbugs.gnu.org. --=20 30432: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30432 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1525799885-7809-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30432-done) by debbugs.gnu.org; 8 May 2018 17:17:06 +0000 Received: from localhost ([127.0.0.1]:54454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fG6Ea-00020j-Ow for submit@debbugs.gnu.org; Tue, 08 May 2018 13:17:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50029) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fG6EY-00020B-AB for 30432-done@debbugs.gnu.org; Tue, 08 May 2018 13:17:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fG6EP-000804-R3 for 30432-done@debbugs.gnu.org; Tue, 08 May 2018 13:16:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fG6EP-000800-Nb; Tue, 08 May 2018 13:16:53 -0400 Received: from [176.228.60.248] (port=4420 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fG6EN-0007LP-Sl; Tue, 08 May 2018 13:16:53 -0400 Date: Tue, 08 May 2018 20:16:50 +0300 Message-Id: <83po26oynx.fsf@gnu.org> From: Eli Zaretskii To: "Paul W. Rankin" In-reply-to: <2F164141-0F75-45C9-8211-ADAF2B005C16@paulwrankin.com> (hello@paulwrankin.com) Subject: Re: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width References: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> <837eriyojf.fsf@gnu.org> <9C3F79F1-DCBD-42C9-B105-FA03A8911270@paulwrankin.com> <833725zd0e.fsf@gnu.org> <83sh8ullkr.fsf@gnu.org> <8C87C29E-942F-415A-9E72-C3F1886300FD@paulwrankin.com> <83o9j590s8.fsf@gnu.org> <8336z3qpkj.fsf@gnu.org> <0C03687D-D0D4-46CE-B409-6A2E55C8A5FA@paulwrankin.com> <2F164141-0F75-45C9-8211-ADAF2B005C16@paulwrankin.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30432-done Cc: 30432-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: "Paul W. Rankin" > Date: Tue, 8 May 2018 17:29:36 +1000 > > All look perfect on my end when built from master. Great, thanks for testing. I'm therefore closing this bug. ------------=_1525799885-7809-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 May 2018 15:16:05 +0000 Received: from localhost ([127.0.0.1]:52946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fFhrw-0001n5-I5 for submit@debbugs.gnu.org; Mon, 07 May 2018 11:16:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fFhbI-0001NN-NC for submit@debbugs.gnu.org; Mon, 07 May 2018 10:58:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFhbB-0000lB-HB for submit@debbugs.gnu.org; Mon, 07 May 2018 10:58:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44425) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fFhbB-0000km-9O for submit@debbugs.gnu.org; Mon, 07 May 2018 10:58:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFhb9-0006X2-2d for bug-gnu-emacs@gnu.org; Mon, 07 May 2018 10:58:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFhb5-0000Yw-TP for bug-gnu-emacs@gnu.org; Mon, 07 May 2018 10:58:43 -0400 Received: from mail-it0-x233.google.com ([2607:f8b0:4001:c0b::233]:35079) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fFhb5-0000PF-Il for bug-gnu-emacs@gnu.org; Mon, 07 May 2018 10:58:39 -0400 Received: by mail-it0-x233.google.com with SMTP id q72-v6so1872327itc.0 for ; Mon, 07 May 2018 07:58:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.washington.edu; s=goo201206; h=sender:date:message-id:to:subject:from:mime-version :content-transfer-encoding; bh=9crk/cGVJ+WD7+3+0ipogNX3JOlE0ewcbMUZpCeimZc=; b=CoXbB45BtwncWlF+tUYdBF18MapBNU5SdIiVknPUBZNxpJksXjeQc2xFc2D2cpXoOc jgllMGhNwyEv8JuCyHC+NwKUVOAUg+5iLkYYqZScfyn3/oezzQqkCKBmBzEx1UaIVGi6 gSwE/slXm7phnFJXA9zi/6d1vvgDllDMsKN/k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:message-id:to:subject:from :mime-version:content-transfer-encoding; bh=9crk/cGVJ+WD7+3+0ipogNX3JOlE0ewcbMUZpCeimZc=; b=f7PVrWNmoiP6ksOxu+ZyeBUGKIdcp9Yg6qYDmPn+gM8AHpuN75sB4KC0BMmLARCZxX LncOuutOUNWxOywRX+20/N0wVgvy/z0XSKg0HGxuUjENWYVW38dPMu9pC8JUGs5wTBgI qVzPWLqfjP11AboPZBVg+vUwRJZLNrx4Lvf1SeTTAHxgjzeozURU5W5+3XelGJV0rvRL GZWDzt3HSTq9XojJvZl7NqO0D/62aykH65MatUaY5nTmnMDj+/rfuN42liSUOUd4AvQP TNp3ef/LPT25DByav7uqXoiBk89o5usjJbcGflySdvZjYL1JnzswS9i3EyvwAYWy587o n0eg== X-Gm-Message-State: ALQs6tBMoE2YUN6uu0qtP2UjZMoq7LzdduFyWB7XWK1PaHTm1UL0+oOa mwl+In1WW0jpXmoPVh/v5F8Qf2zD X-Google-Smtp-Source: AB8JxZpNa7TbhUXmQo0tAdQrvQjVZ3VPgRov98UTgLQpZCMtxfkiQDEGx6XkDtTmBdTPMoE3TUT7nA== X-Received: by 2002:a17:902:b94c:: with SMTP id h12-v6mr6422194pls.322.1525705114916; Mon, 07 May 2018 07:58:34 -0700 (PDT) Received: from localhost (godwit.cs.washington.edu. [128.208.2.154]) by smtp.gmail.com with ESMTPSA id x84sm64315818pfi.160.2018.05.07.07.58.33 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 May 2018 07:58:34 -0700 (PDT) Date: Mon, 07 May 2018 07:58:32 -0700 (PDT) Message-Id: <20180507.075832.350263020714223857.mernst@cs.washington.edu> To: bug-gnu-emacs@gnu.org Subject: 25.2; visual-line-mode freezes Emacs, unresponsive to C-g From: Michael Ernst Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Mon_May__7_07_58_32_2018_173)--" Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 07 May 2018 11:16:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.8 (-----) ----Next_Part(Mon_May__7_07_58_32_2018_173)-- Content-Type: Text/Plain; charset=iso-8859-7; format=flowed Content-Transfer-Encoding: 8bit To reproduce the problem: * emacs -Q * visit the attached text (file long-visual-line-repro.el) in a buffer * M-x eval-buffer * C-n through the buffer until Emacs freezes, on the long "xxx...xxx" line Emacs freezes, uses 100% of CPU, and is unresponsive to C-g keystrokes. From cursory experimentation, the problem seems to occur when both the wrap-prefix, and a single word, are longer than the Emacs window is wide. This bug freezes my Emacs frequently. -Michael Ernst In GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) of 2017-09-22, modified by Debian built on lgw01-amd64-050 Windowing system distributor 'The X.Org Foundation', version 11.0.11905000 System Description: Ubuntu 17.10 Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs25-jYekUr/emacs25-25.2+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LC_ALL: en_US.utf8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: global-semanticdb-minor-mode: t global-semantic-idle-scheduler-mode: t semantic-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t diff-auto-refine-mode: t adaptive-wrap-prefix-mode: t dired-omit-mode: t global-edit-server-edit-mode: t type-break-mode: t dtrt-indent-mode: t ido-everywhere: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t visual-line-mode: t transient-mark-mode: t abbrev-mode: t Recent messages: Saving file /home/mernst/Mail/draft/1... Wrote /home/mernst/Mail/draft/1 Reverting buffer ¡mew-mde.el¢. command-execute: Command attempted to use minibuffer while in minibuffer Commands: d, s, x, u; f, o, 1, 2, m, v; ~, %; q to quit; ? for help. Mark set [3 times] nil Quit Saving file /home/mernst/sync/long-visual-line-repro.el... Wrote /home/mernst/sync/long-visual-line-repro.el Load-path shadows: /usr/share/emacs/25.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs25/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode Features: (shadow emacsbug semantic/html sgml-mode tramp-cmds tramp-cache tramp-sh bdiff semantic/tag-write semantic/decorate/mode semantic/edit semantic/dep semantic/tag-file semantic/db-find semantic/db-ref semantic/db-mode semantic/wisent/java-tags semantic/wisent/javat-wy semantic/wisent semantic/wisent/wisent google-c-style jdee-plugins jdee derived jdee-wiz jdee-test jdee-archive memoize jdee-stacktrace jdee-refactor jdee-project-file jdee-maven jdee-keys jdee-jdb jdee-java-grammar jdee-which-method jdee-font-lock jdee-issues jdee-help jdee-gen tempo jdee-find jdee-deps jdee-cygwin jdee-custom jdee-compile jdee-class jdee-bytecode jdee-bug jdee-run jdee-jdk-manager jdee-dbs jdee-dbo jdee-widgets tree-widget jdee-db jdee-open-source semantic/senator semantic/decorate pulse jdee-import jdee-complete semantic/idle jdee-parse jdee-backend jdee-bsh jdee-util jdee-parse-expr beanshell rx jdee-imenu semantic/imenu semantic/sb semantic/sort semantic/db-file data-debug cedet-files semantic/db eieio-base semantic/java semantic/format semantic/tag-ls semantic/find semantic/doc semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local efc eieio-compat avl-tree jdee-annotations jdee-abbrev jdee-classpath jdee-files jdee-activator jdee-log cus-edit cus-start cus-load wid-edit cedet compare-w bbdb-gui tabify imenu man url-http url-gw url-auth url-queue url-cache url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf mailcap shr-color color url-util shr dom subr-x bbdb-hooks mail-extr rmail-mde mail-simplify mailalias rmail bbdb-com qp network-stream nsm starttls tls gnutls bbdb-mew mew-varsx mew-unix mew-mde mew-auth mew-config mew-imap2 mew-imap mew-nntp2 mew-nntp mew-pop mew-smtp mew-ssl mew-ssh mew-net mew-highlight mew-sort mew-fib mew-ext mew-refile mew-demo mew-attach mew-draft mew-message mew-thread mew-virtual mew-summary4 mew-summary3 mew-summary2 mew-summary mew-search mew-pick mew-passwd mew-scan mew-syntax mew-bq mew-smime mew-pgp mew-header mew-exec mew-mark mew-mime mew-edit mew-decode mew-encode mew-cache mew-minibuf mew-complete mew-addrbook mew-local mew-vars3 mew-vars2 mew-vars mew-env mew-mule3 mew-mule mew-gemacs mew-key mew-func mew-blvs mew-const mew pp magit-extras dabbrev vc vc-dispatcher jka-compr eieio-opt speedbar sb-image ezimage dframe find-func misearch multi-isearch magit-obsolete magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-branch magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-autorevert autorevert filenotify magit-process magit-margin magit-mode magit-git magit-section magit-popup git-commit magit-utils crm log-edit message rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async dash vc-git pt grep diff-mode diff time-stamp adaptive-wrap dired-aux dired-mde arc-mode archive-mode dired-x dired dot-emacs bbdb-autoloads fill-column-indicator edit-server edmacro kmacro warnings server ff-paths ffap url-parse url-vars type-break ftp-mde sendmail-mde rmail-addresses-mde ispell mail-utils-mde startup-functions-mde etags-mde sendmail rfc2047 rfc2045 ietf-drums mail-utils prog-modes-mde honorary-compile inf-lisp perl-mode sh-script smie cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine yaml-mode dtrt-indent mode-hooks-mde mouse-goto-error etags xref project bibtex util-mde inleft darken-lighten-face buffer-menu-mde mailabbrev bbdb-mde bbdb timezone edebug benchmark-init finder-inf info package epg-config ido seq ess-toolbar ess-mouse mouseme thingatpt browse-url ess-menu ess-swv ess-noweb ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-dde ess-sp3-d ess-julia ess-r-d ess-r-syntax ess-r-completion ess-roxy essddr noutline outline easy-mmode hideshow ess-help ess-r-package ess-s-l ess ess-inf ess-tracebug compile tramp tramp-compat auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core gnus-util mm-util help-fns help-mode mail-prsvr password-cache tramp-loaddefs cl-macs trampver ucs-normalize shell pcomplete comint ansi-color ring format-spec advice ess-mode ess-noweb-mode ess-utils ess-generics cl gv cl-loaddefs pcase cl-lib ess-custom executable easymenu ess-compat ess-site time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1499516 923741) (symbols 48 103741 1) (miscs 40 23424 3276) (strings 32 368311 32240) (string-bytes 1 8130841) (vectors 16 132467) (vector-slots 8 2519468 56612) (floats 8 1661 1062) (intervals 56 37382 6051) (buffers 976 192)) ----Next_Part(Mon_May__7_07_58_32_2018_173)-- Content-Type: Text/Plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="long-visual-line-repro.el" ;;; To reproduce the problem: ;;; * emacs -Q ;;; * visit this text in a buffer ;;; * M-x eval-buffer ;;; * C-n through the buffer until Emacs freezes, on the long "xxx...xxx" line ;;; short line ;;; long line long line long line long line long line long line long line long line long line long line ;;; short line ;;; xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ;;; short line (progn ;; (find-file "~/tmp/longline.txt-BAD-1") (visual-line-mode 1) ;; wrap-prefix for second line is 100 spaces (put-text-property 199 302 'wrap-prefix (make-string 100 32)) ;; wrap-prefix for fourth line is 100 spaces (put-text-property 318 422 'wrap-prefix (make-string 100 32)) ) ;;; Emacs freezes, uses 100% of CPU, and is unresponsive to C-g keystrokes. ;;; From cursory experimentation, the problem seems to occur when both the ;;; wrap-prefix, and a single word, are longer than the Emacs window is wide. ----Next_Part(Mon_May__7_07_58_32_2018_173)---- ------------=_1525799885-7809-3--