From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Newsgroups: gmane.lisp.guile.bugs Subject: bug#30920: doc: Inconsistent parentheses in "(guile) sxml-match" Date: Wed, 25 Mar 2020 22:54:15 +0100 Message-ID: <871rpggkxk.fsf@gnu.org> References: <87d095xuhg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="18904"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 30920-done@debbugs.gnu.org To: Arun Isaac Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Mar 25 22:55:09 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jHDzR-0004lA-3f for guile-bugs@m.gmane-mx.org; Wed, 25 Mar 2020 22:55:09 +0100 Original-Received: from localhost ([::1]:43784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHDzQ-0006xj-5G for guile-bugs@m.gmane-mx.org; Wed, 25 Mar 2020 17:55:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51532) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHDzK-0006w1-WF for bug-guile@gnu.org; Wed, 25 Mar 2020 17:55:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHDzK-0004Lk-15 for bug-guile@gnu.org; Wed, 25 Mar 2020 17:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51946) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHDzJ-0004LZ-Ts for bug-guile@gnu.org; Wed, 25 Mar 2020 17:55:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jHDzJ-0001He-TS for bug-guile@gnu.org; Wed, 25 Mar 2020 17:55:01 -0400 Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Wed, 25 Mar 2020 21:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 30920 X-GNU-PR-Package: guile Mail-Followup-To: 30920@debbugs.gnu.org, ludo@gnu.org, arunisaac@systemreboot.net Original-Received: via spool by 30920-done@debbugs.gnu.org id=D30920.15851732644863 (code D ref 30920); Wed, 25 Mar 2020 21:55:01 +0000 Original-Received: (at 30920-done) by debbugs.gnu.org; 25 Mar 2020 21:54:24 +0000 Original-Received: from localhost ([127.0.0.1]:57914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHDyi-0001GM-Ii for submit@debbugs.gnu.org; Wed, 25 Mar 2020 17:54:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHDyh-0001G8-6L for 30920-done@debbugs.gnu.org; Wed, 25 Mar 2020 17:54:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jHDyb-0003pc-CC; Wed, 25 Mar 2020 17:54:17 -0400 Original-Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35956 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jHDya-0005Ac-Pw; Wed, 25 Mar 2020 17:54:17 -0400 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 Germinal an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu In-Reply-To: (Arun Isaac's message of "Tue, 24 Mar 2020 02:00:05 +0530") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9696 Archived-At: Hi Arun, Arun Isaac skribis: > While working on this patch, I found that two of the code snippets don't > work. They work neither with square brackets nor with round > brackets. The two snippets are > > * The first snippet in the "Matching the Unmatched Attributes" subsection > > @lisp > (sxml-match '(a (@@ (z 1) (y 2) (x 3)) 4 5 6) > ((a (@@ (y ,www) . ,qqq) ,t ,u ,v) > (list www qqq t u v))) > @end lisp > > * The snippet in the "Default Values in Attribute Patterns" subsection > > @lisp > (sxml-match '(e 3 4 5) > ((e (@@ (z (,d 1))) ,a ,b ,c) (list d a b c))) > @end lisp > > These snippets fail to evaluate. Could you check? I can confirm. Would be worth fixing. > From 6e31e3fe1fd2b537d4a02dbcfccbb03e0d20e804 Mon Sep 17 00:00:00 2001 > From: Arun Isaac > Date: Tue, 24 Mar 2020 01:45:32 +0530 > Subject: [PATCH] doc: Replace square brackets with round brackets. > > * doc/ref/sxml-match.texi: Replace all square brackets with round > brackets in order to be consistent with the rest of the documentation. Applied, thanks! Ludo=E2=80=99.