From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= <clement.pit@gmail.com>
Newsgroups: gmane.emacs.devel
Subject: Re: RFC: String interpolation
Date: Sun, 11 Dec 2016 13:56:57 -0500
Message-ID: <c0c9248d-e8bf-8865-90f2-b3fcf2446486@gmail.com>
References: <51825111-ace4-f750-4077-026a3b648d27@gmail.com>
	<8737hwnc52.fsf@lifelogs.com>
	<d428e876-1db3-b5bd-129f-34d8440f83dc@gmail.com>
	<87wpf7kwfs.fsf@lifelogs.com> <m3twaae23a.fsf@gnus.org>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="sJ2avHag4O61Btg1VIR51f0xO39WEKQ6c"
X-Trace: blaine.gmane.org 1481482640 30855 195.159.176.226 (11 Dec 2016 18:57:20 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 11 Dec 2016 18:57:20 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.5.1
To: emacs-devel@gnu.org
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 11 19:57:16 2016
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
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 <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1cG9JD-0007DG-23
	for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2016 19:57:15 +0100
Original-Received: from localhost ([::1]:56818 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1cG9JH-0007iJ-Aq
	for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2016 13:57:19 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40583)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <clement.pit@gmail.com>) id 1cG9JB-0007i2-4E
	for emacs-devel@gnu.org; Sun, 11 Dec 2016 13:57:13 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <clement.pit@gmail.com>) id 1cG9J8-0003Je-36
	for emacs-devel@gnu.org; Sun, 11 Dec 2016 13:57:13 -0500
Original-Received: from mout.kundenserver.de ([212.227.126.187]:62403)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <clement.pit@gmail.com>)
	id 1cG9J7-0003Ih-OT
	for emacs-devel@gnu.org; Sun, 11 Dec 2016 13:57:10 -0500
Original-Received: from [18.111.108.29] ([18.111.108.29]) by mrelayeu.kundenserver.de
	(mreue001 [212.227.15.168]) with ESMTPSA (Nemesis) id
	0LmzUL-1cq3xe3weT-00hNGl for <emacs-devel@gnu.org>;
	Sun, 11 Dec 2016 19:57:08 +0100
In-Reply-To: <m3twaae23a.fsf@gnus.org>
X-Provags-ID: V03:K0:IxgYw6yuQpKlqegrpNycSycEBVn+5Oteg8+Hil1bCFqaWkSql+K
	Spv9D2NjQLM0ikRqsE9SitCQqyyAzc3uKXxfSN8ctk3QIc2CWTx0LTQYF7D8nOpsaGEciKl
	pxFOGYCpwnuyHveDgeGuHJiQ5sXLGOPwanIOvp/W6SAD2lwBEJCdV4pE/BWXoplhUNtUMxD
	3nIPYpGrK0bLCCHsy8DPw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:sQm0Ul/krMw=:kB9bykunRjSUB/n/Qaetmu
	SMv8wEq9k3a3SY0IoCAzsTsPQckClvZLVFOsMfiX+TzrqmQceflSvJeO/nc9r0gzl4OcpXOf9
	9if2jrh58wcg7NRfh7JqO4W2GHOEciNMRxbJ1+aL8wyKz5cFmwjwdZZbTg/C+XtIzQJb1CYVW
	voP1KlzNyYE8AqY4qsS2a+Np57AyVF+QBoabAL2zzmebQSJhMtvP6k9v0OpiufI5PO8tJ19AY
	vdvBxL+2qyrtTQJsCak/kYrwEQYTv3amlUopRghb11ov3GobLcJdljBG1Lp9Nm061MWNIdJ36
	feSEab1SaEYvdIcm3oXsXorOSbhpt9XGsosLPg4+kYiYPWRYT+3QFfwUn4ezj8shVanhYJWE9
	hRWH4hUdOcPUJL9ZUiiuJ2BAEC4RzQCULa8ypF/JfK5DGfLL4jjjTQ44nuNj7moL7+PS8wJve
	iPJlA/S7rQPCryvl1w+7r8Gq+a7Nvs/Z9rzlnNkayv4B2DvQfiYD6iQPy6zw7/Ncapoxu+WOt
	GWI2uVqiRSnrKBun8SzSECy/+kIHRSUy2krTYEKgsGA42+921Qoyc2GslXRdN2j8thWGYE2tk
	TsseD+TyWRJhtINgTxVfs16MbdgvN7WNZc3Xyw/UwiAgfSiQVifcKXf2STZ+pvZDOpU5NPXR9
	DMnjjqxlvcxrsO5OkaZNRRGDTPQmpGt/tmWIYaf8joVvstak+YYfYhuJhCIaHYAT4LtY=
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 212.227.126.187
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel/>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel" <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.devel:210303
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/210303>

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--sJ2avHag4O61Btg1VIR51f0xO39WEKQ6c
Content-Type: multipart/mixed; boundary="O4awm6mm9fnp0bJJVF12Q9aGTq4HA7SGi";
 protected-headers="v1"
From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= <clement.pit@gmail.com>
To: emacs-devel@gnu.org
Message-ID: <c0c9248d-e8bf-8865-90f2-b3fcf2446486@gmail.com>
Subject: Re: RFC: String interpolation
References: <51825111-ace4-f750-4077-026a3b648d27@gmail.com>
 <8737hwnc52.fsf@lifelogs.com>
 <d428e876-1db3-b5bd-129f-34d8440f83dc@gmail.com>
 <87wpf7kwfs.fsf@lifelogs.com> <m3twaae23a.fsf@gnus.org>
In-Reply-To: <m3twaae23a.fsf@gnus.org>

--O4awm6mm9fnp0bJJVF12Q9aGTq4HA7SGi
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2016-12-11 13:46, Lars Ingebrigtsen wrote:
> Ted Zlatanov <tzz@lifelogs.com> writes:
>=20
>> CP> Also: how does format-spec deal with formatting sequences, like %-=
3.2d?
>>
>> It doesn't.
>=20
> format-spec does support formatting sequences like that.  :-)
>=20
> (format-spec "bar %-10a" '((?a . "foo")))
> =3D> "bar foo       "

How do you tell which format code to use? (format-spec "bar %-.2f" '((?f =
=2E 53))) doesn't work, for obvious reasons :)


--O4awm6mm9fnp0bJJVF12Q9aGTq4HA7SGi--

--sJ2avHag4O61Btg1VIR51f0xO39WEKQ6c
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJYTaF5AAoJEPqg+cTm90wj6coP/RKNuzguQHye3ebUNAe6B1UH
Sspe9FL8QUqlnEARBDCpSqHXyW5ReoNTvBkOgSiG7qQwTslhSVUWBt2vMA5/CVBx
qHoHIB1tCqO8cCSYYHn9BbpV7hDLfAacVlrI+fWdfqPQdzXn+dv1Q/dtlvJT/T4i
EPOIimbYtef+x8Hu581vKHQs0awBwX7FhufAv/Q9B6p9pwlLVslPppKByR7+xOi5
G5zYuKurH9B1jWx7AJMeZOLagJ4uCbQHV2htL96c3VYyfrMGC5Sg0EokUE8uzp6a
P/S0CVG6fTTbNgyPYl8nOnIKmP1SAHeiaLFmDac+gDtLTE4FcP+B6ZeCkGjX1T3m
iyyBzhGpwVJGEH6jWJCLEEkrW6d/I7j/MKhb6MWhQJdxMxFQ0HGdpy3p1VqaFCMl
3o26W63GDu/40Es2jP0E4B/OJMAC+JT3txH/VBvcj/pGA0BwYNuV3cNokCWw3/lK
h1g0qMmZGwALLRz8jrdkz58zGB5TvBd4EAA7rurzqAohzDxmbNE4xQV7lGv51XK0
PPvNo0MKZo9Jrn4K1qDmQ3KF23FFD/nN334TvYHvR1e0bzGPvwm8ZBfyMeK9N+Iv
2dfeOKrYzqXWSrDXx8/Bp06wIU//CRgMFXI1VwoMaJTSoRvYRvpgsdOkXVubM002
wylfb/iag56HzSGzO7TL
=FFPE
-----END PGP SIGNATURE-----

--sJ2avHag4O61Btg1VIR51f0xO39WEKQ6c--