From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: RFC: String interpolation Date: Sat, 10 Dec 2016 23:01:08 +0700 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1481385783 15517 195.159.176.226 (10 Dec 2016 16:03:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Dec 2016 16:03:03 +0000 (UTC) Cc: Lars Ingebrigtsen , Emacs developers To: =?UTF-8?B?Q2zDqW1lbnQgUGl0LS1DbGF1ZGVs?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 10 17:02:59 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 1cFk71-0003Ak-8h for ged-emacs-devel@m.gmane.org; Sat, 10 Dec 2016 17:02:59 +0100 Original-Received: from localhost ([::1]:52180 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFk73-0001s2-MB for ged-emacs-devel@m.gmane.org; Sat, 10 Dec 2016 11:03:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFk6w-0001rw-T0 for emacs-devel@gnu.org; Sat, 10 Dec 2016 11:02:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFk6t-00017o-Rg for emacs-devel@gnu.org; Sat, 10 Dec 2016 11:02:54 -0500 Original-Received: from mail-lf0-f42.google.com ([209.85.215.42]:34748) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cFk6t-0000xi-Kc for emacs-devel@gnu.org; Sat, 10 Dec 2016 11:02:51 -0500 Original-Received: by mail-lf0-f42.google.com with SMTP id y21so19184137lfa.1 for ; Sat, 10 Dec 2016 08:02:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=+Yfnax5N0njLljCgx7yNY8x/CYKnWq0haursHknKy3E=; b=B9r9zs1U4CdVDw71CWfRBpJEP5RfNr5fjVDKOTBZasGuN3HGyChGzGKjl0OYFdqwYp Nvja8wyRtsHZwahCeu2KGuC+VA1akyEolJhYzWcQDez+r6NKbS9hHBALhzX/Qq5fAARY 4QaOYzmrQW8arWFgNCb/7WNXIHBBpwjyK6ggh2qJXLY6U05GP83dZQFzfuORLgLNX9z+ tSJDiIx7Dm27Ev3YuTHMBDP8enpc5K8O5dPy8X66U/68ejllEFYvNTT2Mc/MZPNfv/xe NW9vOxzDqHO46tajonsMrXv/Gtuj4ZQWEPX0WQUrxcgcTNKJSJ5MpberpDb4ahT281UP FsAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=+Yfnax5N0njLljCgx7yNY8x/CYKnWq0haursHknKy3E=; b=RqeMUwQxMrVl4FS7l34KA2m+Bx04mohTXSzstm6UTdp3PepE83eRQfRempXe8s0BMg QKOZHcZIrYuLtEWUL3QGFXC85NfnLFFYnpbxGjuv89Dg3s8gYtr5VWYaOqXh9S8mvaks GNqQpnsls1G8ur3deavZatdnjjRdSf28GVkXRnM0gm8/Mw7jpLsT6uQs4VxaYpINq/hH DW+dUagVRWiDtlgNuFsJELOMTd+VvTdt3ErQ9RDhJlNxnhr30TaTWmDWCCjd7n9IBequ +m3+x8LapuMWFVjdrpA5AYkuIqA/zl6zMA4ou8naLPcjd1QoqyTvYgRXNijfol5AmES+ vy+A== X-Gm-Message-State: AKaTC02FfI5Z/cQIO6PlXZHU50lFbZnAOLVfmccaLPEpjRBiuDfsK5cRzwLlPtGigCdeETUtwU/uzPCZaWLa/g== X-Received: by 10.25.162.198 with SMTP id l189mr28104911lfe.50.1481385688915; Sat, 10 Dec 2016 08:01:28 -0800 (PST) Original-Received: by 10.114.77.161 with HTTP; Sat, 10 Dec 2016 08:01:08 -0800 (PST) In-Reply-To: <76c9c475-0180-aa49-3d4a-006d4e3f943c@gmail.com> X-Google-Sender-Auth: E-ZGjApheaXzoHmFudkSwAyTAQU X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.215.42 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:210236 Archived-At: On Sat, Dec 10, 2016 at 10:49 PM, Cl=C3=A9ment Pit--Claudel wrote: >> (with-format ((zot "foo") >> (thing (funcall '+ 3.42423 4))) >> "This is %{thing}.2f and %{zot}ss") > > This looks fine too, but the repetition bothers me (I don't really see wh= at benefit there is to naming all arguments). So I still find > > "This is %(funcall '+ 3.42423 4).2f and "foo"s" > > more readable. If this wasn=E2=80=99t Emacs, I would name lack of localizability as a drawback of including code as part of strings. But that=E2=80=99s moot beca= use no one writes localizable software in Elisp.