GNU bug report logs - #72721
31.0.50; Visual-wrap-prefix-mode breaks Magit log buffers

Previous Next

Package: emacs;

Reported by: Gautier Ponsinet <gautier <at> gautierponsinet.xyz>

Date: Mon, 19 Aug 2024 22:29:02 UTC

Severity: normal

Merged with 72710

Found in version 31.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: 72721 <at> debbugs.gnu.org, gautier <at> gautierponsinet.xyz
Subject: Re: bug#72721: 31.0.50; Visual-wrap-prefix-mode breaks Magit log
 buffers
Date: Thu, 22 Aug 2024 15:54:27 +0300
> Date: Wed, 21 Aug 2024 12:12:00 -0700
> From: Jim Porter <jporterbugs <at> gmail.com>
> Cc: 72721 <at> debbugs.gnu.org, gautier <at> gautierponsinet.xyz
> 
> ... and here's a new test case (overlay-min-width). This shows that now 
> you can apply 'min-width' as an overlay property, which would be great 
> for 'visual-wrap-prefix-mode'. I could then convert that code to use 
> overlays (at least for 'min-width', maybe for 'wrap-prefix' too), which 
> would make it easier to clean up when deactivating the mode.

Doesn't adding support for overlays boils down to replacing
Fget_text_property in get_display_property with Fget_char_property,
and otherwise keeping the code intact?  display_min_width is the only
caller of get_display_property, so we can change that at will.




This bug report was last modified 316 days ago.

Previous Next


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