From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Elias_M=C3=A5rtenson?= Newsgroups: gmane.emacs.devel Subject: Re: RFC: String interpolation Date: Wed, 14 Dec 2016 11:52:29 +0800 Message-ID: References: <51825111-ace4-f750-4077-026a3b648d27@gmail.com> <8737hwnc52.fsf@lifelogs.com> <8c117f5c-209a-97d8-79ce-a78f707f0545@gmail.com> <76c9c475-0180-aa49-3d4a-006d4e3f943c@gmail.com> <89a6a20d-e135-caad-6b31-760ab7ac90fc@cs.ucla.edu> <87fultkjte.fsf@lifelogs.com> <3ff9e7e4-aee7-191e-5e3b-4d4ac0006a1f@cs.ucla.edu> <9e138d20-782d-2a56-75f8-37e3fa1885df@cs.ucla.edu> <4e9c0a7e-2d44-5fc7-79d8-7b19758fef01@cs.ucla.edu> <2ca9c05d-2d3d-4fa5-9fc2-d502e659333b@default> <709984e7-2ab7-4d7c-aa05-e1c3f4737de0@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114089f0275acb05439644c1 X-Trace: blaine.gmane.org 1481687627 32398 195.159.176.226 (14 Dec 2016 03:53:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Dec 2016 03:53:47 +0000 (UTC) Cc: John Wiegley , Lars Ingebrigtsen , Paul Eggert , rms@gnu.org, emacs-devel To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 14 04:53:43 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cH0dT-0007Ck-2A for ged-emacs-devel@m.gmane.org; Wed, 14 Dec 2016 04:53:43 +0100 Original-Received: from localhost ([::1]:45358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cH0dV-0000ls-CF for ged-emacs-devel@m.gmane.org; Tue, 13 Dec 2016 22:53:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cH0dN-0000fg-FJ for emacs-devel@gnu.org; Tue, 13 Dec 2016 22:53:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cH0dM-0003nd-R7 for emacs-devel@gnu.org; Tue, 13 Dec 2016 22:53:37 -0500 Original-Received: from mail-qt0-f170.google.com ([209.85.216.170]:35416) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cH0dH-0003ln-WE; Tue, 13 Dec 2016 22:53:32 -0500 Original-Received: by mail-qt0-f170.google.com with SMTP id c47so6769991qtc.2; Tue, 13 Dec 2016 19:53:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yr1uW57sHtLUfPxDdgxDooZlBWJx7x45CWjqHShQ5ag=; b=zNt9ujdrO80/9t3ImNN1B78qu77KBJNoilvAd9EXgEzYQhq/erB2VfMLsDavhWbDf3 5DgeeYXKWlNrB6qXZ6UITNn9i4XAIU9ph/4Ct4HdK/kHS6UGMt4+ZGj3T/xEuR4sC3U4 o6JVrta8n0jPkIlZ1c8AoMfrG6HdPG1UC6qvA5w7VG9y37BlNlER7sbrg4EJA8h4UHo+ /uheXedpQt7GeOzPvXU/LXuP7xVpX0gsWr43AigUfYkkAbPHdUOJoLgl6JOKHsCWpmCC QUcRwOxe9h89POto83egQT8kpqG8Fure5blxGOkJiGmu/vFxhcYswmf84KRtNUw2p8U4 e7Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yr1uW57sHtLUfPxDdgxDooZlBWJx7x45CWjqHShQ5ag=; b=mVyZJwg7ONrV5/sSjiGt5GXHQvFMt34halToMn5VVbrN3ReXzIufsE2ckBSa66y0Z7 FudH2gYOc3ishDOf6Q+gADs93WFWU9dluyPdFTNqFygmPP3IKZUJqYYJitnOGVO395cN VnzEGJFyxlpsG3azAHSYFCRuKjSE0dLq0kDv9rxgT4GXJpQG8d84RfKx/pqse8rTnGdg CyrfMVrA8ARK//z0twC/dIutqzzgouyB9i2/S+PaDBYPJVY1ugOsk+EkojXpvYn65qqJ mt3MxPIR1h/0iVUOaF8C8yahmFw/lOFNXyBW83b1Q9/+x2qBau+AZxOaThe9czoDWEt3 pR6w== X-Gm-Message-State: AKaTC002wjOlHogx2eoCLk32nlCMXu73q+RNiJMkFj9cCaHADIlVrbjr+Y3EAiwslNTGnzyAcX+F//+LcuW1Cg== X-Received: by 10.237.62.110 with SMTP id m43mr86813528qtf.195.1481687551136; Tue, 13 Dec 2016 19:52:31 -0800 (PST) Original-Received: by 10.55.110.5 with HTTP; Tue, 13 Dec 2016 19:52:29 -0800 (PST) In-Reply-To: <709984e7-2ab7-4d7c-aa05-e1c3f4737de0@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.216.170 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210436 Archived-At: --001a114089f0275acb05439644c1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The author is Andreas Politz . According to the comments in the file, it's based on the GNU CLISP implementation. Regards, Elias On 14 December 2016 at 11:33, Drew Adams wrote: > >> (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 =E2=80=98cl-for= mat=E2=80=99. > > Some basic testing seems to suggest that it works reasonably well: > > (cl-format nil "~{~s~^, ~}" '(1 2 3 4)) --> "1, 2, 3, 4" > > Great. Perhaps the author will agree to including it in GNU Emacs > (signing papers etc.). > --001a114089f0275acb05439644c1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The author is Andreas Politz <politza@fh-trier.de>.

According to = the comments in the file, it's based on the GNU CLISP implementation.

Regards,
Elias

On 14 December 2016 at 11:33, Dr= ew Adams <drew.adams@oracle.com> wrote:
>> (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 lik= ely
>> welcome that.)
>
> There is one available on MELPA already, under the name =E2=80=98cl-fo= rmat=E2=80=99.
> Some basic testing seems to suggest that it works reasonably well:
> (cl-format nil "~{~s~^, ~}" '(1 2 3 4)) --> &q= uot;1, 2, 3, 4"

Great.=C2=A0 Perhaps the author will agree to including it in GNU Emacs
(signing papers etc.).

--001a114089f0275acb05439644c1--