GNU bug report logs - #76018
31.0.50; wrap-prefix properties from visual-wrap-prefix-mode proliferate

Previous Next

Package: emacs;

Reported by: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>

Date: Sun, 2 Feb 2025 17:51:02 UTC

Severity: normal

Found in version 31.0.50

Done: Jim Porter <jporterbugs <at> gmail.com>

Full log


Message #20 received at 76018 <at> debbugs.gnu.org (full text, mbox):

From: Jim Porter <jporterbugs <at> gmail.com>
To: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>,
 76018 <at> debbugs.gnu.org, eliz <at> gnu.org
Subject: Re: bug#76018: 31.0.50; wrap-prefix properties from
 visual-wrap-prefix-mode proliferate
Date: Mon, 26 May 2025 18:30:34 -0700
[Message part 1 (text/plain, inline)]
On 5/26/2025 5:11 PM, Jim Porter wrote:
> Eli, what do you think? I've also moved an internal Eshell utility 
> function ('eshell--append-text-property') to subr-x.el, since it would 
> be useful for the visual-wrap code. I've updated the manual and NEWS to 
> mention this function as well so that others can use it if they like.

After some further thought, I noticed that 'visual-wrap-prefix-mode' 
doesn't clean up after itself properly. Attached is a fix, taking 
advantage of a new function called 'remove-display-text-properties', 
which does what you might expect.
[0001-Make-wrap-prefix-nonsticky-when-using-visual-wrap-pr.patch (text/plain, attachment)]
[0002-Properly-clean-up-after-deactivating-visual-wrap-pre.patch (text/plain, attachment)]

This bug report was last modified 6 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.