From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: taylanbayirli@gmail.com (Taylan Ulrich =?UTF-8?Q?Bay=C4=B1rl=C4=B1/Kammer?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#21379: datum->syntax chokes on lists of syntax objects Date: Wed, 02 Sep 2015 10:28:39 +0200 Message-ID: <87egihdy2w.fsf@T420.taylan> References: <87wpwdgotu.fsf@T420.taylan> <87613t8vc2.fsf@netris.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1441183699 4704 80.91.229.3 (2 Sep 2015 08:48:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Sep 2015 08:48:19 +0000 (UTC) Cc: 21379@debbugs.gnu.org To: Mark H Weaver Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Sep 02 10:48:08 2015 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZX3iB-0008BH-U8 for guile-bugs@m.gmane.org; Wed, 02 Sep 2015 10:48:08 +0200 Original-Received: from localhost ([::1]:35201 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX3iB-0005qM-G1 for guile-bugs@m.gmane.org; Wed, 02 Sep 2015 04:48:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX3Pm-0004UN-9m for bug-guile@gnu.org; Wed, 02 Sep 2015 04:29:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZX3Pi-0002wa-8V for bug-guile@gnu.org; Wed, 02 Sep 2015 04:29:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX3Pi-0002wW-69 for bug-guile@gnu.org; Wed, 02 Sep 2015 04:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZX3Ph-00015k-Vx for bug-guile@gnu.org; Wed, 02 Sep 2015 04:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: taylanbayirli@gmail.com (Taylan Ulrich =?UTF-8?Q?Bay=C4=B1rl=C4=B1/Kammer?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 02 Sep 2015 08:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21379 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 21379-submit@debbugs.gnu.org id=B21379.14411825244169 (code B ref 21379); Wed, 02 Sep 2015 08:29:01 +0000 Original-Received: (at 21379) by debbugs.gnu.org; 2 Sep 2015 08:28:44 +0000 Original-Received: from localhost ([127.0.0.1]:45905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZX3PP-00015A-MO for submit@debbugs.gnu.org; Wed, 02 Sep 2015 04:28:43 -0400 Original-Received: from mail-wi0-f182.google.com ([209.85.212.182]:35381) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZX3PN-000152-AJ for 21379@debbugs.gnu.org; Wed, 02 Sep 2015 04:28:42 -0400 Original-Received: by wicge5 with SMTP id ge5so31826719wic.0 for <21379@debbugs.gnu.org>; Wed, 02 Sep 2015 01:28:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=XMOgPCIUedvz5esmCEvz0IpuGe9Lvnc3l5ctfPiWlgo=; b=r9IuYySDVg23obNEMof9LnJp0xC5N+Oyjeiaf1361NsUJHmEtPE8EKjkdRl7QfVeEY S4G7TOMegPP1NOtULk4YWt+c4xq+UWezJz9ibKCF0FSchvTFZJAUr2AvYjJ5aEKEHCkz MWAQqcOx8NgP/cdYEZz+4w7G0qn2wzR+8ldx0pEewn6rO5Tp5OCHrJeXTRcqugn7+u/3 voqvOQkieU8GOyz4P7Ah0NpWSN6zMAAcH3x/tVRW5cAtmiFCLGU5kMgjVtAd10oKS5Zf qhMxdaXHu3vZeXv10BuBH8CHgzeUESkGvwNqCxR+g1cQziwllkpVyeY0qv5feQgcEIzK dLcg== X-Received: by 10.194.119.161 with SMTP id kv1mr37013204wjb.157.1441182520779; Wed, 02 Sep 2015 01:28:40 -0700 (PDT) Original-Received: from T420.taylan ([2a02:908:c32:4740:221:ccff:fe66:68f0]) by smtp.gmail.com with ESMTPSA id o9sm31152266wja.29.2015.09.02.01.28.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2015 01:28:39 -0700 (PDT) In-Reply-To: <87613t8vc2.fsf@netris.org> (Mark H. Weaver's message of "Tue, 01 Sep 2015 21:26:53 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7837 Archived-At: --=-=-= Content-Type: text/plain Mark H Weaver writes: > How about changing the first formal argument name to 'template-id' and > changing the words "syntax object" to "identifier"? > > Thanks! > Mark Sure, updated patch attached. Taylan --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Amend-datum-syntax-documentation.patch >From 2ba9474dc8e2a56524d8c6c2f640fb3fb35b2d14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= Date: Sun, 30 Aug 2015 10:24:52 +0200 Subject: [PATCH] Amend datum->syntax documentation. * doc/ref/api-macros.texi (Syntax Case): Make it clear that the first argument to datum->syntax must be an identifier. --- doc/ref/api-macros.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ref/api-macros.texi b/doc/ref/api-macros.texi index c2910a4..a828258 100644 --- a/doc/ref/api-macros.texi +++ b/doc/ref/api-macros.texi @@ -616,9 +616,9 @@ won't have access to the binding of @code{it}. But they can, if we explicitly introduce a binding via @code{datum->syntax}. -@deffn {Scheme Procedure} datum->syntax for-syntax datum +@deffn {Scheme Procedure} datum->syntax template-id datum Create a syntax object that wraps @var{datum}, within the lexical context -corresponding to the syntax object @var{for-syntax}. +corresponding to the identifier @var{template-id}. @end deffn For completeness, we should mention that it is possible to strip the metadata -- 2.5.0 --=-=-=--