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?= Newsgroups: gmane.emacs.devel Subject: Re: RFC: String interpolation Date: Mon, 12 Dec 2016 09:54:22 -0500 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> <01470147-cec2-ffcb-407f-5bdfd4ffd3d3@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tE5dkImhF3CKQ4Vtoniaq7EgB9qS0Q1Xf" X-Trace: blaine.gmane.org 1481557212 12437 195.159.176.226 (12 Dec 2016 15:40:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Dec 2016 15:40:12 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 12 16:40:03 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 1cGShu-0001ku-Gc for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2016 16:40:02 +0100 Original-Received: from localhost ([::1]:55926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGShw-000252-OJ for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2016 10:40:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGRzw-00019G-Iy for emacs-devel@gnu.org; Mon, 12 Dec 2016 09:54:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGRzn-0006up-2w for emacs-devel@gnu.org; Mon, 12 Dec 2016 09:54:31 -0500 Original-Received: from mout.kundenserver.de ([212.227.126.134]:59053) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGRzm-0006uN-P4 for emacs-devel@gnu.org; Mon, 12 Dec 2016 09:54:27 -0500 Original-Received: from [18.26.2.123] ([18.26.2.123]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.168]) with ESMTPSA (Nemesis) id 0MXkot-1cAhFO00d5-00Wpp0; Mon, 12 Dec 2016 15:54:25 +0100 In-Reply-To: X-Provags-ID: V03:K0:9ymeR60i129V+5/49Nj88M1bAU50+AYv4hqEcoRFeKKOlk8hbmM OUgzZnPZuBfFSC5MnRcDtPb7jm7XrgXWHwBFzRY+kX/sTal1vmBr29BsYvvZH6qNcSZ2A58 d30OtCSZwFhvb/yHoEwb2ifJY6gCFB4gonfipW5ONbryGHpfuSqhVDF7fxZYOakL9QUCDad clLLUQ8aSTsqoSk33In4g== X-UI-Out-Filterresults: notjunk:1;V01:K0:XcS92gstv1M=:wnm0ozPd6GuvuZaUeoV15H AVB/01QlvBKTy0kUnqNT1cYnO889hkWSGWi76Ob/9Ymi31yEleU9KxOOpkdL5/A1UHNrw2OFY KFIQGo5eSfVUG5Y/fDuL97+TmJz1re4oBuz+A7eEEJgF+ZFAjN1igZEDKSTcU8wEsVe7OyKCI Bka70MRFBzinwnZ8wDL2Vo9tcolkC5J1womXcN9rfe5No1xFaLZKqyf2u0RBD6HrHCXRnI0jN v/umPV2weleZ18CXpWtidHFd8oaemcW7hNJNEQBOSjuZtgNlADETBQ4CX1pUUayqL1aBgyZph S7OegqAg9ZzQWt3h3fv7bTlIKDTTV8qNV4ZCIydo/Z/D/qYA2GQhJO2wli79FFaCdxDZqxKSQ b4iYM2We2WriA7pbwYR+QbUbfes+OjrDIZeSxJmaVu9PS0TMrQeGYlQqrFgQV0Pa5B+0Iw/bS +WvuS5uzDo/fmnA8R6jTZK6xOOk/rNiGiYdSekEu/LwBQIjGC0Gdc4LSI9ACRee5AFM/3tJ/T Fvli0ceD3+MHozlNUXZ4yFt1eCmRENwNHsnPINJSFfKawBNndF9M6aHfMjIKqpprwSZaLabHI cm8vivCRdZ1X1f0YQIcNQQP7iSRf7SXoAm4/1KGROpBnTEL1gJWrEuqJbe26MUxfYrSbTGtU+ owHP6kHWAu+nbnNa1ljYGLj/Y+KAZnBPW98Yisy+a7zDOKd2eU7iGRPJHaUf+Bdnvnzo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.134 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:210340 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tE5dkImhF3CKQ4Vtoniaq7EgB9qS0Q1Xf Content-Type: multipart/mixed; boundary="fp6hL4BUNgtqv5wRoTuBQECGarw8b35FQ"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: Lars Ingebrigtsen Cc: emacs-devel@gnu.org Message-ID: Subject: Re: RFC: String interpolation 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> <01470147-cec2-ffcb-407f-5bdfd4ffd3d3@gmail.com> In-Reply-To: --fp6hL4BUNgtqv5wRoTuBQECGarw8b35FQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-12-12 09:43, Lars Ingebrigtsen wrote: > You don't introduce any new variables, alter any variables, or alter th= e > format statement. I think that's less suckitude. I don't understand. You're comparing this: (let ((thing (replace-regexp-in-string " +" " " thing))) (fmt "This is %[.2f]{thing}.2f")) to this: (fmt "This is %{thing}.2f" :thing (replace-regexp-in-string " +" " " thing)) right? Admittedly the form below doesn't rebind "thing", but it now has ":thing"= and "thing" meaning different things. Cheers, Cl=C3=A9ment. --fp6hL4BUNgtqv5wRoTuBQECGarw8b35FQ-- --tE5dkImhF3CKQ4Vtoniaq7EgB9qS0Q1Xf 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 iQIcBAEBCAAGBQJYTroeAAoJEPqg+cTm90wjnJAP/iBfS10WCio/aHvK30QI0S6f eOzcIMzrIWHjR2M95LRUQb7Qpl6z5Omv+HvL0DdHvTCDXLp/0eube8Wcduf5WRQv w9BtEIxFetez9mpKBBNc1vLIIexAA2TByjRMa37DjC1Y9z8GxZAUnIGZk3TYJ9Jq i0nI+IBZmvwHOhKg7yu4RLMJFgzZtx/CbWX1mE6Z7IZj9JrWJJv2jdvVyA3Wwsuq GW7UF/p+G3iQyncZZFJ0vnZXkHWNCQ00GQUmzQaYK3oFXCTnUU5jPOXVjBCU0jNZ Wgw2EW4KAhsbgLDTRca0pyVCKJ9oQri4wojLGtt0odJJ3dF5QyS/stUygo7lOS6H b1lbVUMbGiUEMNM4p1bHz5RlDOwUNPNlUpmnmBgVGvnhg1JWCxz3SXJBiXBs/z0G AdMIipfzHuRszEBnAuZWfRhFXgxf/d8UB/BpCOzB5LyyFVkq9hkn9B5TQ37fGhGY KQBOq665WksunscUq9OvSy7xUu8R/+dPfmz6kO52EdL61vGV9k+YdAJme4loHpop uH7uOWTa/iq3R5/CAsevMnXjSGkVd3NroMGJRz54bHTfksVGkSxuWq4mkvnmHLWk zd1t0CK3TA7aDhNTJUXU9iKCm2qKe5mTi8O2NWnyYXsJQlq89EL4LL/LUfIEH/S2 tj8XwTHJb7Aehd1NgKG2 =ZDrc -----END PGP SIGNATURE----- --tE5dkImhF3CKQ4Vtoniaq7EgB9qS0Q1Xf--