emacs-devel
[Top][All Lists]
Advanced

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

Re: RFC: String interpolation


From: Lars Ingebrigtsen
Subject: Re: RFC: String interpolation
Date: Sun, 11 Dec 2016 19:46:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Ted Zlatanov <address@hidden> writes:

> CP> Also: how does format-spec deal with formatting sequences, like %-3.2d?
>
> It doesn't.

format-spec does support formatting sequences like that.  :-)

(format-spec "bar %-10a" '((?a . "foo")))
=> "bar foo       "

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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