GNU bug report logs - #66167
29.1; wrap-prefix text property with :align-to space keyword broken

Previous Next

Package: emacs;

Reported by: "Paul W. Rankin" <hello <at> paulwrankin.com>

Date: Sat, 23 Sep 2023 08:06:02 UTC

Severity: normal

Tags: notabug, wontfix

Merged with 65015, 65018, 65019, 65020, 65021

Found in version 29.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "Paul W. Rankin" <hello <at> paulwrankin.com>
Subject: bug#66167: closed (Re: bug#66167: 29.1; wrap-prefix text property
 with :align-to space keyword broken)
Date: Sun, 24 Sep 2023 05:38:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#66167: 29.1; wrap-prefix text property with :align-to space keyword broken

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 66167 <at> debbugs.gnu.org.

-- 
66167: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66167
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: "Paul W. Rankin" <hello <at> paulwrankin.com>
Cc: 66167-done <at> debbugs.gnu.org
Subject: Re: bug#66167: 29.1; wrap-prefix text property with :align-to space
 keyword broken
Date: Sun, 24 Sep 2023 08:36:45 +0300
> Date: Sun, 24 Sep 2023 14:56:02 +1000
> From: "Paul W. Rankin" <hello <at> paulwrankin.com>
> Cc: 66167 <at> debbugs.gnu.org
> 
> On 2023-09-23 19:38, Eli Zaretskii wrote:
> > It _is_ applied.  Try giving wrap-prefix a value that is a string, and
> > you will see that it is applied.
> > 
> > The problem is not with wrap-prefix, the problem is with the
> > (space :align-to 10) form, and specifically with the value 10.
> > The value 10 is too small for wrapped lines (in most cases).
> 
> I see now what it means. Sorry, my mistake. And what I want can be 
> achieved with (space :width 10). Thanks.

Yes, '(space :width 10)' is exactly what you want, AFAIU.

So I'm now closing this bug.

[Message part 3 (message/rfc822, inline)]
From: "Paul W. Rankin" <hello <at> paulwrankin.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.1; wrap-prefix text property with :align-to space keyword broken
Date: Sat, 23 Sep 2023 18:04:27 +1000
Description:

The wrap-prefix text property with :align-to space keyword has been 
broken. (Regression).

To reproduce:

1. emacs -Q
2. in *scratch*, ensure visual-line-mode is enabled
3. insert enough text to wrap lines
4. M-: (put-text-property (point-min) (point-max) 'wrap-prefix '(space 
:align-to 10))

Expected results:

Wrapped text should align to column 10.

Actual result:

Wrapped text does not align. (No effect.)



This bug report was last modified 1 year and 294 days ago.

Previous Next


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