From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Rankin Newsgroups: gmane.emacs.bugs Subject: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width Date: Mon, 12 Feb 2018 16:49:39 +1000 Message-ID: <94B0ABFC-0319-4CB5-944C-14E3B43310C6@paulwrankin.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1518418097 24486 195.159.176.226 (12 Feb 2018 06:48:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Feb 2018 06:48:17 +0000 (UTC) To: 30432@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 12 07:48:12 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 1el7uK-0005np-AJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Feb 2018 07:48:08 +0100 Original-Received: from localhost ([::1]:46916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1el7wL-0004nJ-MA for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Feb 2018 01:50:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1el7wF-0004mP-2Z for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 01:50:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1el7wB-0005tO-1W for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 01:50:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59209) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1el7wA-0005t1-TR for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 01:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1el7wA-0008VS-K6 for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 01:50:02 -0500 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.151841819932683 (code B ref -1); Mon, 12 Feb 2018 06:50:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Feb 2018 06:49:59 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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: Original-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) 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-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:143190 Archived-At: 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