bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9009: 24.0.50; format does not zero pad hex numbers higher than 9


From: Remco van 't Veer
Subject: bug#9009: 24.0.50; format does not zero pad hex numbers higher than 9
Date: Wed, 06 Jul 2011 18:29:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

On 2011/07/06 18:05, Lars Magne Ingebrigtsen wrote:

> Remco van 't Veer <address@hidden> writes:
>
>> Here's an example:
>>
>>   (format "%04x"  9) ; "0009"
>>   (format "%04x" 10) ; "   a"
>
> It works for me in Emacs 24:
>
> (format "%04x" 10)
> => "000a"

I've updated my emacs (was using a snapshot of 2011-05-31) and the
problem went away.  It's fixed on 2011-06-05 (emacs/trunk revision
104506).

Sorry for the noise.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]