From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Mark Hepburn" Newsgroups: gmane.emacs.bugs Subject: bug#72681: 31.0.50; visual-wrap-prefix-mode interacts badly with plain lists in org-mode Date: Sun, 18 Aug 2024 19:53:36 +1000 Message-ID: <10e7d27d-0891-4e7c-a42a-ddc448ad91f7@app.fastmail.com> References: <6aa9c901-b469-4d19-b86e-60ccccdf95fb@app.fastmail.com> <8634n362gv.fsf@gnu.org> <418fb258-c318-9aa2-8bd1-73b34611fb32@gmail.com> <976ffa0e-fff3-42c4-951e-f82c91e81754@app.fastmail.com> <7342c229-29c3-055c-e453-3f661197f441@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=4acfece21a89410b947dba5f36f25126 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1556"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72681-done@debbugs.gnu.org To: "Jim Porter" , "Eli Zaretskii" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 18 11:55:01 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sfccl-0000Du-PQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Aug 2024 11:55:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfccU-00036L-LV; Sun, 18 Aug 2024 05:54:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sfccA-00035R-66 for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 05:54:29 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sfcc9-0004Iz-Nc for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 05:54:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:MIME-Version:To:Subject; bh=mA35HM1FafAqVg+7fftomGZKEaFgPL5xZnGrl0XMkDs=; b=CPiXNO+1xzWISXN/RoyZMmnnM3eBdzHWxb456XzPX9RtMKkJ4d+P6QFEe5wyf5Td36VZp6cvjLzkjExoglOWeslSfJ+xsAgRKRUJcYldA712rT67NN+MH/g8+riSyYJrWi3BNSCfur4daJLw7Yw5VIw9FfWBIWtmi2fyXZI81fQCLe+kNq28dbZG/+zzNvhphxo16FM0LhZwNffEZe1IC4jRuYjCiOA2VSPQofHypfZ42ZmF7+hCOmuOrznqBnwY98RAj2Q5lYgQ6MhwEydazE5HvTgp885PU6tqyARk9a7zIaZoONnkXWyTWOpEJpyuB+fN/93eN+7xST4eapJtVg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfccn-0000d7-Pd for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 05:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Mark Hepburn" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Aug 2024 09:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72681 X-GNU-PR-Package: emacs Original-Received: via spool by 72681-done@debbugs.gnu.org id=D72681.17239748872399 (code D ref 72681); Sun, 18 Aug 2024 09:55:01 +0000 Original-Received: (at 72681-done) by debbugs.gnu.org; 18 Aug 2024 09:54:47 +0000 Original-Received: from localhost ([127.0.0.1]:55480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfccZ-0000cc-4n for submit@debbugs.gnu.org; Sun, 18 Aug 2024 05:54:47 -0400 Original-Received: from fhigh8-smtp.messagingengine.com ([103.168.172.159]:36117) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfccW-0000cM-DZ for 72681-done@debbugs.gnu.org; Sun, 18 Aug 2024 05:54:45 -0400 Original-Received: from phl-compute-06.internal (phl-compute-06.nyi.internal [10.202.2.46]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 250E91151ADD; Sun, 18 Aug 2024 05:53:59 -0400 (EDT) Original-Received: from phl-imap-12 ([10.202.2.86]) by phl-compute-06.internal (MEProxy); Sun, 18 Aug 2024 05:53:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=markhepburn.com; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1723974839; x= 1724061239; bh=mA35HM1FafAqVg+7fftomGZKEaFgPL5xZnGrl0XMkDs=; b=w o1HexdgVDRLe0FpqSCQQsTHhAfghAPKtPEuFnt412Ob5Ev96jm5B7Vruvhv06aum Gwq95TJ136gWWegA4Gcx/gq5LKjN6nVvPej5WcBCSjBam6KRlTK6j3t5zx7rwMX/ jyRLx89lf4nZWL3tIVb9pIVq/aukv8cvh2ExUknqrOxpZf9qiOT3vcmGOrujFIu9 RAgweyn8oahloycdCe3ZtTDp3U54kO1E+zV1Wvd0dO42g6KK2BkQ//hxuB7D6S5N KYw0GgFz+vyIsivM56Ii0yguTHGPNlauUnR9s9NesseiQ/Nz9Gs+kPbPQp+QvSrf 6PKMYmMgOZxAJ5ylT6Ong== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1723974839; x=1724061239; bh=mA35HM1FafAqVg+7fftomGZKEaFg PL5xZnGrl0XMkDs=; b=XoEojYTx7ZveorgSXv4mkRoS1PrCaOE9xmuNzj3tfuv7 pOUPs79KDrPdm7ydZgSfGfjN5dLcoGg6znwRXGHAJCyfAHDPuzAg8az6itPysqn2 /MwmxRfdm7cOdQiMRL5x2gUbAxJZcu4+J6uf1xL/y3wQkQ/wrlTj3SPIKBCpvItf /LddNYnz3h8tUTYE18C26PpYzLGaRFe0K7LFDrNLIyctePYCk3sNu2yr9eQRMG0/ 0QN3PNmFmbvv3PmeozGgnI95rIJU6BSFAzFL0NDm+r4xsPZJ1C4Bs7iGoRqA+zCb 4wmg2cC4Y11GYjod98ZomDnqeg3QiEgCK/KLZaXmeA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudduvddgvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepofggfffhvfevkfgjfhfutgesrgdtreerredttden ucfhrhhomhepfdforghrkhcujfgvphgsuhhrnhdfuceomhgrrhhksehmrghrkhhhvghpsg hurhhnrdgtohhmqeenucggtffrrghtthgvrhhnpeejkeejteduleevhedujeevgeelhfdt teekkeefheetffetleetkeeggfduhefhgeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrghrkhesmhgrrhhkhhgvphgsuhhrnhdrtghomhdp nhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjedvie ekuddqughonhgvseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepjhhpohhr thgvrhgsuhhgshesghhmrghilhdrtghomhdprhgtphhtthhopegvlhhiiiesghhnuhdroh hrgh X-ME-Proxy: Feedback-ID: id27146ce:Fastmail Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id D70B41C4005E; Sun, 18 Aug 2024 05:53:58 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <7342c229-29c3-055c-e453-3f661197f441@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:290310 Archived-At: --4acfece21a89410b947dba5f36f25126 Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi again Jim, I haven't isolated this one yet, but I'm flagging in case it rings any bells for you -- I'm getting rendering-lockups with dart-mode when I enable visual-wrap-prefix-mode. I've checked a couple of other programming modes which seem fine. My money was on lsp-mode (and maybe lens display), but I've disabled lsp entirely and it still locks up. I don't get a backtrace (with debug-on-error), but I can get this (when I hit C-n to see anything is happening, as the screen goes blank): === Debugger entered--Lisp error: (args-out-of-range 519 519) line-move-visual(1 nil) line-move(1 nil nil 1) next-line(1 1) funcall-interactively(next-line 1 1) command-execute(next-line) === I'll keep trying to isolate it. So far my repo is "open .dart file, M-x visual-wrap-prefix-mode". cheers, Mark On Sun, Aug 18, 2024, at 11:40 AM, Jim Porter wrote: > On 8/17/2024 5:02 PM, Mark Hepburn wrote: > > Thanks Jim, nice work -- yes that seems to work perfectly again for all > > the problematic files I had before. > > Great, thanks for checking. I've therefore merged this to the master > branch as 135da3556bb. Closing this bug now. > > (Though of course if you find any other issues with the new > 'visual-wrap-prefix-mode' code, just let me know and I'll try to fix it.) > --4acfece21a89410b947dba5f36f25126 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
Hi again Jim,

I haven't isolated this one yet, but I'm fla= gging in case it rings any bells for you -- I'm getting rendering-lockup= s with dart-mode when I enable visual-wrap-prefix-mode.  I've check= ed a couple of other programming modes which seem fine.  My money w= as on lsp-mode (and maybe lens display), but I've disabled lsp entirely = and it still locks up.

I don't get a backtr= ace (with debug-on-error), but I can get this (when I hit C-n to see any= thing is happening, as the screen goes blank):
=3D=3D=3D
Debugger entered--Lisp error: (args-out-of-range 519 519)
  line-move-visual(1 nil)
  line-mo= ve(1 nil nil 1)
  next-line(1 1)
 = funcall-interactively(next-line 1 1)
  command-execu= te(next-line)
=3D=3D=3D

I'll = keep trying to isolate it.  So far my repo is "open .dart file, M-x= visual-wrap-prefix-mode".

cheers, Mark
=

On Sun, Aug 18, 2024, at 11:40 AM, Jim Porter = wrote:
On 8= /17/2024 5:02 PM, Mark Hepburn wrote:
> Thanks Jim, nic= e work -- yes that seems to work perfectly again for all 
=
> the problematic files I had before.

Great, thanks for checking. I've therefore merged this to the master&= nbsp;
branch as 135da3556bb. Closing this bug now.

(Though of course if you find any other issues wit= h the new 
'visual-wrap-prefix-mode' code, just let m= e know and I'll try to fix it.)


--4acfece21a89410b947dba5f36f25126--