[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: format padding and text properties
From: |
Eric Abrahamsen |
Subject: |
Re: format padding and text properties |
Date: |
Wed, 22 Jun 2016 16:38:40 +0800 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) |
Lars Magne Ingebrigtsen <lmi@gnus.org> writes:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> (setq ss "bubba")
>> (put-text-property 0 (length ss) 'face 'my-face ss)
>> (format "%10s" ss)
>>
>> --> #(" bubba" 0 5 (face my-face))
>
> Is this with an up-to-date trunk? This should have been fixed a few
> weeks ago:
>
> commit 1c09423880e1c48d6ba02a196430e829d1d87d57
> Author: Eli Zaretskii <eliz@gnu.org>
> Date: Thu Jun 9 16:52:08 2016 +0300
>
> Fix copying text properties by 'format'
Ah! No wonder the bug seemed to crop up out of nowhere.
The bad news is the problem still seems to be there. I pulled and built
the master branch this morning, and can see Eli's patch in git log.
"GNU Emacs 25.1.50.5 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.6)
of 2016-06-22"
Eric