emacs-devel
[Top][All Lists]
Advanced

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

Re: RFC: String interpolation


From: Elias Mårtenson
Subject: Re: RFC: String interpolation
Date: Wed, 14 Dec 2016 10:48:53 +0800

On 14 December 2016 at 09:48, Drew Adams <address@hidden> wrote:
> I see. Personally, I don't think we need to extend format at all.
> How many others really want this extension?

Not I.  Not in the ways discussed so far, at least.  Current
`format' is better (for me).

(On the other hand, if someone were to work toward a `cl-format',
even one that was partial and could be extended later, I'd likely
welcome that.)

There is one available on MELPA already, under the name ‘cl-format’.

Some basic testing seems to suggest that it works reasonably well:

ELISP> (cl-format nil "~{~s~^, ~}" '(1 2 3 4))
"1, 2, 3, 4"

Regards,
Elias

reply via email to

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