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 #38 received at 76018 <at> debbugs.gnu.org (full text, mbox):

From: Jim Porter <jporterbugs <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Po Lu <luangruo <at> yahoo.com>, 76018 <at> debbugs.gnu.org,
 Eli Zaretskii <eliz <at> gnu.org>, kevin.legouguec <at> gmail.com
Subject: Re: bug#76018: 31.0.50; wrap-prefix properties from
 visual-wrap-prefix-mode proliferate
Date: Tue, 27 May 2025 18:05:14 -0700
[Message part 1 (text/plain, inline)]
On 5/27/2025 1:23 PM, Stefan Monnier via Bug reports for GNU Emacs, the 
Swiss army knife of text editors wrote:
> So far, we generally don't try to interact properly with other packages
> using the same property.  It's usually good enough.
> In the present case, our minor mode tends to place a `wrap-prefix`
> property over pretty much the hole buffer anyway, so there's not much
> room for another package to use that property without conflict.

How about something like this? This should also address Juri and Eli's 
comments elsewhere in the bug.

One remaining bit that might be valuable is adding a few regression 
tests for 'append-text-property' and 'remove-display-text-property'.
[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.