From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] doc: fix web (run-server) examples Date: Thu, 21 Jul 2022 17:42:59 -0700 Message-ID: References: <20220202232517.38256-1-aconchillo@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000577ffe05e45a1eb7" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36156"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Fri Jul 22 02:43:40 2022 Return-path: Envelope-to: guile-devel@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 1oEglY-0009HZ-6G for guile-devel@m.gmane-mx.org; Fri, 22 Jul 2022 02:43:40 +0200 Original-Received: from localhost ([::1]:52494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEglW-0007Eg-HJ for guile-devel@m.gmane-mx.org; Thu, 21 Jul 2022 20:43:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEgl8-0007EK-11 for guile-devel@gnu.org; Thu, 21 Jul 2022 20:43:14 -0400 Original-Received: from mail-vs1-xe32.google.com ([2607:f8b0:4864:20::e32]:36629) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEgl6-0006vq-FV for guile-devel@gnu.org; Thu, 21 Jul 2022 20:43:13 -0400 Original-Received: by mail-vs1-xe32.google.com with SMTP id a63so1324643vsa.3 for ; Thu, 21 Jul 2022 17:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=6gxkhhhZ+E7mcRqxPn5f7vdTU4swdWABGxKS9D4W6TU=; b=hvU5FIYMIXe5fP7rKnrVjRrZj3VJqNaWBM+zpmG1yBYx1biwB0GC+4mwSkIakv67uB /F6vQgYQz9T8iiuAYux7bcQf7n/WjRSArCjhSu7tvauNJO54nsOqlhYiR9BvmTxv8fUu p/3Q47EcHzrqZSj20n1r6kXqsS9CAmZ7ZQJsgVJ5OgpAPXl1ZnF3lldwxVbGCcozGrra iF192s1gmkZbo+X26YJpSnMRigA1nwAQusH79K1EXaYJJtzlXuVhOTlAN9Kr3p30546n TY5phKagWM4mEedB0FqRDlqKXekDAyGY68bcsBbdI+xa8lkIRc9IBQ0jmLpD635pgJO+ kCEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=6gxkhhhZ+E7mcRqxPn5f7vdTU4swdWABGxKS9D4W6TU=; b=VYuwOGZ70NXfmYXE9h6j3CZ8pgRGj5BYuih08Upq0tdJyzDjeOt2TPKoH/rtR7yhG6 kJEFZHaFfxzgFoj4QWX9XaP9DWsesQxDR7AzfjFGhPt34kQcd/EnICnoOY/x2wB9w5Jj s2w7sH015Wsb9+UZMjU7qmsvyZOnmo551EdSbBdiEpX3FqrUecIYToHq0q2QieMd2g7H wpjJauCwsyoFvESHTLneigeNNFz3oqbZf0RT6JnzymZMIvVrWjQQ1WZDFGdY0X8rATYS tKPZWiG5N0q9L68hcqVbsKiBEd4xjzJdFLfz9EXs50pYVfDnAFbSeBjvALKOluX8KegT I4ig== X-Gm-Message-State: AJIora+RrSNh3WSRjJogojin9OAV7WRPCRvtBlwpSfuNbloQDRasZ1IA 7vPKS/iSIMWeI+hry/pjMuWd/XI00gY5DWu6GhgPpPIB X-Google-Smtp-Source: AGRyM1sdzswWS4uydnucdzMHyqVQpG9qNQqMZpRbtNSXKTBq+4oQkD3IKbbuTZVv83fKiRP5L8z6+507h5NzQYVdl5k= X-Received: by 2002:a05:6102:284c:b0:357:77f0:aa8f with SMTP id az12-20020a056102284c00b0035777f0aa8fmr356618vsb.29.1658450590792; Thu, 21 Jul 2022 17:43:10 -0700 (PDT) In-Reply-To: <20220202232517.38256-1-aconchillo@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::e32; envelope-from=aconchillo@gmail.com; helo=mail-vs1-xe32.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:21263 Archived-At: --000000000000577ffe05e45a1eb7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ping. this is an easy one :-). On Wed, Feb 2, 2022 at 3:25 PM Aleix Conchillo Flaqu=C3=A9 wrote: > * doc/ref/web.texi (Web Server): need quasiquote to in order to evaluate > AF_INET6. > --- > doc/ref/web.texi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/doc/ref/web.texi b/doc/ref/web.texi > index 93cd0214f..49a09d0ca 100644 > --- a/doc/ref/web.texi > +++ b/doc/ref/web.texi > @@ -1,6 +1,6 @@ > @c -*-texinfo-*- > @c This is part of the GNU Guile Reference Manual. > -@c Copyright (C) 2010, 2011, 2012, 2013, 2015, 2018, 2019, 2020 Free > Software Foundation, Inc. > +@c Copyright (C) 2010, 2011, 2012, 2013, 2015, 2018, 2019, 2020, 2022 > Free Software Foundation, Inc. > @c See the file guile.texi for copying conditions. > > @node Web > @@ -1822,7 +1822,7 @@ implementation's open function. > ;; On a different port > (run-server handler 'http '(#:port 8081)) > ;; IPv6 > -(run-server handler 'http '(#:family AF_INET6 #:port 8081)) > +(run-server handler 'http `(#:family ,AF_INET6 #:port 8081)) > ;; Custom socket > (run-server handler 'http `(#:socket ,(sudo-make-me-a-socket))) > @end example > -- > 2.35.1 > > --000000000000577ffe05e45a1eb7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
ping. this is an easy one :-).

On Wed, Feb 2, 2022= at 3:25 PM Aleix Conchillo Flaqu=C3=A9 <aconchillo@gmail.com> wrote:
* doc/ref/web.texi (Web Server): need quasiquo= te to in order to evaluate
AF_INET6.
---
=C2=A0doc/ref/web.texi | 4 ++--
=C2=A01 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/ref/web.texi b/doc/ref/web.texi
index 93cd0214f..49a09d0ca 100644
--- a/doc/ref/web.texi
+++ b/doc/ref/web.texi
@@ -1,6 +1,6 @@
=C2=A0@c -*-texinfo-*-
=C2=A0@c This is part of the GNU Guile Reference Manual.
-@c Copyright (C) 2010, 2011, 2012, 2013, 2015, 2018, 2019, 2020 Free Softw= are Foundation, Inc.
+@c Copyright (C) 2010, 2011, 2012, 2013, 2015, 2018, 2019, 2020, 2022 Free= Software Foundation, Inc.
=C2=A0@c See the file guile.texi for copying conditions.

=C2=A0@node Web
@@ -1822,7 +1822,7 @@ implementation's open function.
=C2=A0;; On a different port
=C2=A0(run-server handler 'http '(#:port 8081))
=C2=A0;; IPv6
-(run-server handler 'http '(#:family AF_INET6 #:port 8081))
+(run-server handler 'http `(#:family ,AF_INET6 #:port 8081))
=C2=A0;; Custom socket
=C2=A0(run-server handler 'http `(#:socket ,(sudo-make-me-a-socket))) =C2=A0@end example
--
2.35.1

--000000000000577ffe05e45a1eb7--