unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Arun Isaac <arunisaac@systemreboot.net>
Cc: 30920-done@debbugs.gnu.org
Subject: bug#30920: doc: Inconsistent parentheses in "(guile) sxml-match"
Date: Wed, 25 Mar 2020 22:54:15 +0100	[thread overview]
Message-ID: <871rpggkxk.fsf@gnu.org> (raw)
In-Reply-To: <cu7sghyvmpe.fsf@systemreboot.net> (Arun Isaac's message of "Tue,  24 Mar 2020 02:00:05 +0530")

Hi Arun,

Arun Isaac <arunisaac@systemreboot.net> 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 <arunisaac@systemreboot.net>
> 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’.





  reply	other threads:[~2020-03-25 21:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-24  5:14 bug#30920: doc: Inconsistent parentheses in "(guile) sxml-match" Arun Isaac
2020-03-21 21:34 ` Ludovic Courtès
2020-03-23 20:30   ` Arun Isaac
2020-03-25 21:54     ` Ludovic Courtès [this message]
     [not found] ` <handler.30920.D30920.15851732644863.notifdone@debbugs.gnu.org>
2020-03-26  8:20   ` bug#30920: closed (Re: bug#30920: doc: Inconsistent parentheses in "(guile) sxml-match") Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871rpggkxk.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=30920-done@debbugs.gnu.org \
    --cc=arunisaac@systemreboot.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).