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 15:12:15 -0500
Message-ID: <jwvbmwiw7rs.fsf-monnier+Inbox@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>
	<jwvshpuwebt.fsf-monnier+gmane.emacs.devel@gnu.org>
	<CAP_d_8WF0-=1fY7w9JbFLW2o0A7PQRNL74DyA=VnCzxUy8x8sA@mail.gmail.com>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: blaine.gmane.org 1481487177 10021 195.159.176.226 (11 Dec 2016 20:12:57 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 11 Dec 2016 20:12:57 +0000 (UTC)
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
Cc: Emacs developers <emacs-devel@gnu.org>
To: Yuri Khan <yuri.v.khan@gmail.com>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 11 21:12:52 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 1cGAUN-0001Xb-W0
	for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2016 21:12:52 +0100
Original-Received: from localhost ([::1]:57016 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 1cGAUR-0006Lz-T8
	for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2016 15:12:55 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56741)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <monnier@iro.umontreal.ca>) id 1cGATs-0006Li-9U
	for emacs-devel@gnu.org; Sun, 11 Dec 2016 15:12:20 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <monnier@iro.umontreal.ca>) id 1cGATp-0005Jk-3v
	for emacs-devel@gnu.org; Sun, 11 Dec 2016 15:12:20 -0500
Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:59619)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <monnier@iro.umontreal.ca>)
	id 1cGATo-0005JD-VC
	for emacs-devel@gnu.org; Sun, 11 Dec 2016 15:12:17 -0500
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AGKQAu3EVY/2J8oWxdGgEBAQECAQEBAQgBAQEBgzgBAQEBAR+EW4VUnAImAZRWggiGHAQCAoIRQRMBAgEBAQEBAQFiKIRpAQQBViMFCws0EhQYDSSIegitFItEAQEBBwIlixmKKQWPfIpqknOIJ4Y6kE6BQSEBNHgTDoVzIIktAQEB
X-IPAS-Result: A0AGKQAu3EVY/2J8oWxdGgEBAQECAQEBAQgBAQEBgzgBAQEBAR+EW4VUnAImAZRWggiGHAQCAoIRQRMBAgEBAQEBAQFiKIRpAQQBViMFCws0EhQYDSSIegitFItEAQEBBwIlixmKKQWPfIpqknOIJ4Y6kE6BQSEBNHgTDoVzIIktAQEB
X-IronPort-AV: E=Sophos;i="5.33,749,1477972800"; d="scan'208";a="282316027"
Original-Received: from 108-161-124-98.dsl.teksavvy.com (HELO pastel.home)
	([108.161.124.98])
	by smtp.teksavvy.com with ESMTP; 11 Dec 2016 15:12:15 -0500
Original-Received: by pastel.home (Postfix, from userid 20848)
	id 360F765546; Sun, 11 Dec 2016 15:12:15 -0500 (EST)
In-Reply-To: <CAP_d_8WF0-=1fY7w9JbFLW2o0A7PQRNL74DyA=VnCzxUy8x8sA@mail.gmail.com>
	(Yuri Khan's message of "Mon, 12 Dec 2016 02:31:27 +0700")
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 206.248.154.181
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:210310
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/210310>

> Technically yes, but one normally gives out original format strings
> for localization, not results of macro expansion.

Hmm... I don't think this could work for Lisp (and not just Emacs Lisp)
in general.  More specifically, in the case of Lisp, I'd expect that the
format strings used for localization could come from anywhere between
the source code and the fully macro-expanded code, and it would be under
the control of each macroexpander to use the string before or after
its expansion.


        Stefan