GNU bug report logs - #40856
Feature request: support arbitrary propertized strings in wrap-prefix specifications

Previous Next

Package: emacs;

Reported by: Clément Pit-Claudel <cpitclaudel <at> gmail.com>

Date: Sat, 25 Apr 2020 21:25:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Clément Pit-Claudel <cpitclaudel <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 40856 <at> debbugs.gnu.org
Subject: bug#40856: Feature request: support arbitrary propertized strings in wrap-prefix specifications
Date: Sun, 26 Apr 2020 14:25:32 -0400
On 26/04/2020 13.43, Eli Zaretskii wrote:
>> Cc: 40856 <at> debbugs.gnu.org
>> From: Clément Pit-Claudel <cpitclaudel <at> gmail.com>
>> Date: Sun, 26 Apr 2020 13:23:15 -0400
>>
>> What I meant to say is that if it's cheap enough to draw this:
>>
>> ⟝ bbbbbbbbbbb
>> ⟝ bbbbbbbbbbb
>> ⟝ bbbbbbbbbbb
>> ⟝ bbbbbbbbbbb
>> ⟝ bbbbbbbbbbb
>>
>> (where "⟝" is a wrap-prefix on all lines but the first)
>>
>> … then it should be cheap enough to draw this:
>>
>> ⟝ bbbbbbbbbbb
>>    bbbbbbbbbbb
>>    bbbbbbbbbbb
>>    bbbbbbbbbbb
>>    bbbbbbbbbbb
>>
>> where the indentation is a specified space as wide as "⟝".
> 
> And what I meant is that the second one is more expensive, because for
> each line but the first, Emacs will have to produce glyphs both for
> "⟝" (to obtain its width) and for the stretch of space.

Got it. I assumed that producing a stretch of space was cheap.




This bug report was last modified 5 years and 54 days ago.

Previous Next


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