From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier <monnier@iro.umontreal.ca> Newsgroups: gmane.emacs.devel Subject: Re: RFC: String interpolation Date: Sun, 11 Dec 2016 12:47:00 -0500 Message-ID: <jwvshpuwebt.fsf-monnier+gmane.emacs.devel@gnu.org> References: <51825111-ace4-f750-4077-026a3b648d27@gmail.com> <8737hwnc52.fsf@lifelogs.com> <m34m2bj2m2.fsf@gnus.org> <8c117f5c-209a-97d8-79ce-a78f707f0545@gmail.com> <m3wpf7hjzf.fsf@gnus.org> <76c9c475-0180-aa49-3d4a-006d4e3f943c@gmail.com> <CAP_d_8ULkuf3nyuiAmP+z4KC+kx6dsU_Nw7Pfa+dN86dPM5x6g@mail.gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1481478473 1323 195.159.176.226 (11 Dec 2016 17:47:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Dec 2016 17:47:53 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 11 18:47:48 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 1cG8Dz-0007nv-L5 for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2016 18:47:47 +0100 Original-Received: from localhost ([::1]:56540 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 1cG8E3-0006WQ-W1 for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2016 12:47:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <ged-emacs-devel@m.gmane.org>) id 1cG8DR-0006WK-6L for emacs-devel@gnu.org; Sun, 11 Dec 2016 12:47:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ged-emacs-devel@m.gmane.org>) id 1cG8DM-0007Cz-B6 for emacs-devel@gnu.org; Sun, 11 Dec 2016 12:47:13 -0500 Original-Received: from [195.159.176.226] (port=44887 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <ged-emacs-devel@m.gmane.org>) id 1cG8DM-0007Ct-57 for emacs-devel@gnu.org; Sun, 11 Dec 2016 12:47:08 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from <ged-emacs-devel@m.gmane.org>) id 1cG8DG-0000Zu-6s for emacs-devel@gnu.org; Sun, 11 Dec 2016 18:47:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:rFgVWO0205WUPmfkw2HC/LW6st8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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:210291 Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/210291> >> "This is %(funcall '+ 3.42423 4).2f and "foo"s" > If this wasn’t Emacs, I would name lack of localizability as a > drawback of including code as part of strings. Note that with if the macro internally uses just a single `format` call, then the above gets macro-expanded into something like (format "This is %s and %ss" ...) which is as amenable to localization as your typical printf. > But that’s moot because no one writes localizable software in Elisp. Sad but true. Stefan