From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: RFC: String interpolation Date: Mon, 12 Dec 2016 20:04:17 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <877f74ljvy.fsf@lifelogs.com> 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> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1481591078 10524 195.159.176.226 (13 Dec 2016 01:04:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2016 01:04:38 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 13 02:04:33 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 1cGbWC-0001lh-T3 for ged-emacs-devel@m.gmane.org; Tue, 13 Dec 2016 02:04:33 +0100 Original-Received: from localhost ([::1]:34647 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGbWH-00063r-9D for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2016 20:04:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGbWB-00063l-36 for emacs-devel@gnu.org; Mon, 12 Dec 2016 20:04:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGbW7-0005Rg-V3 for emacs-devel@gnu.org; Mon, 12 Dec 2016 20:04:31 -0500 Original-Received: from [195.159.176.226] (port=36232 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGbW7-0005RZ-PZ for emacs-devel@gnu.org; Mon, 12 Dec 2016 20:04:27 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cGbW1-0008Nr-I4 for emacs-devel@gnu.org; Tue, 13 Dec 2016 02:04:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 13 Original-X-Complaints-To: usenet@blaine.gmane.org X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Cancel-Lock: sha1:ay/w6JEQyohls3Ch1rfdVRU3454= 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." 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:210388 Archived-At: On Mon, 12 Dec 2016 12:41:38 -0800 Paul Eggert wrote: PE> I'm not sure what is meant mean by 'only works in one function'. format-message PE> should behave like 'format', and any function that calls 'format' or PE> 'format-message' will get the extended behavior for free. For example, (message PE> ...) would get the extended behavior. I mean that if any string could use that syntax at the expression reader level, it would be essentially a new macro syntax that can make strings anywhere. I think that's more useful to more people than just `format' and friends. Maybe #["format" "parameters" "here"] or something like that. Ted