From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:43904) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1S1F-00008b-Fa for gwl-devel@gnu.org; Tue, 11 Feb 2020 04:39:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1S1E-0000hH-IR for gwl-devel@gnu.org; Tue, 11 Feb 2020 04:39:49 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21109) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j1S1E-0000gH-8Y for gwl-devel@gnu.org; Tue, 11 Feb 2020 04:39:48 -0500 References: <87h801p818.fsf@elephly.net> <87h800u84z.fsf@kyleam.com> <87a75spx3i.fsf@elephly.net> <877e0vq5iy.fsf@elephly.net> <875zgfosvi.fsf@elephly.net> <87zhdqnndg.fsf@elephly.net> From: Ricardo Wurmus Subject: Re: Preparing for a new release In-reply-to: Date: Tue, 11 Feb 2020 10:39:40 +0100 Message-ID: <87wo8to42r.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+kyle=kyleam.com@gnu.org Sender: "gwl-devel" To: zimoun Cc: gwl-devel@gnu.org zimoun writes: > Does this work? > > --8<---------------cut here---------------start------------->8--- > process foo > inputs > . "something" > . samples: "a" "b" "c" > # { echo {{(pick second inputs:samples)}} } > --8<---------------cut here---------------end--------------->8--- > > or # { echo {{(pick second samples: inputs)}} } > > Because it is enough to usual needs, I guess. No, this won=E2=80=99t work because {{=E2=80=A6}} is only for simple variab= le interpolation; it does not support anything with a space in it. That=E2=80= =99s on purpose to avoid conflicts with the embedded language syntax. You will need to define a local variable first and reference that: --8<---------------cut here---------------start------------->8--- process foo inputs . "something" . samples: "a" "b" "c" procedure define my-selection pick second samples: inputs # { echo {{my-selection}} } --8<---------------cut here---------------end--------------->8--- -- Ricardo