From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Volf <~@wolfsden.cz> Newsgroups: gmane.lisp.guile.bugs Subject: bug#71799: [PATCH 2/2] doc: Fix implication of omitting optional arguments. Date: Thu, 27 Jun 2024 16:07:11 +0200 Message-ID: <20240627140711.30118-2-~@wolfsden.cz> References: <20240627140711.30118-1-~@wolfsden.cz> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33717"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Tomas Volf <~@wolfsden.cz> To: 71799@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Thu Jun 27 16:08:25 2024 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 1sMpnU-0008SJ-Dl for guile-bugs@m.gmane-mx.org; Thu, 27 Jun 2024 16:08:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMpn9-0004I3-88; Thu, 27 Jun 2024 10:08:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMpn7-00044o-8X for bug-guile@gnu.org; Thu, 27 Jun 2024 10:08:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sMpn6-0003sh-Qp for bug-guile@gnu.org; Thu, 27 Jun 2024 10:08:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sMpn9-0002Yz-Fx for bug-guile@gnu.org; Thu, 27 Jun 2024 10:08:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 27 Jun 2024 14:08:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71799 X-GNU-PR-Package: guile X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17194972559801 (code B ref -1); Thu, 27 Jun 2024 14:08:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Jun 2024 14:07:35 +0000 Original-Received: from localhost ([127.0.0.1]:43011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMpmh-0002Y1-48 for submit@debbugs.gnu.org; Thu, 27 Jun 2024 10:07:35 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:60518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1sMpmc-0002Xc-3Q for submit@debbugs.gnu.org; Thu, 27 Jun 2024 10:07:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sMpmY-00026I-TN for bug-guile@gnu.org; Thu, 27 Jun 2024 10:07:26 -0400 Original-Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sMpmW-0003mK-EK for bug-guile@gnu.org; Thu, 27 Jun 2024 10:07:26 -0400 Original-Received: by wolfsden.cz (Postfix, from userid 104) id 3CA0E2A84A5; Thu, 27 Jun 2024 14:07:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1719497243; bh=5BFj5wVzNgHaPanfg+eWhOGULYY6eLBxecbQJxqDsQY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=F8S1MYaGcXFVGYk3JUOIe0ryiarmvwaHu6WQ55wrJP2j0bfBCTa9mG7OOyxo925yW NOdlHNT88/3zWNZmlY+bIFMY79VhJVozknbSr3vhqUjzMqTTyoeLxD/wscQdvFx/Fx Z534NShnYvDlnHd+Gr3X+Pv/MjfSXIj9cqg7OOGavxALht1Kf/9TLctRMAJ0CDTLT7 Y62aYNZkxmzi9WLfOArDuqJDBarwC0Lrq3J4dCSqv19QPYaKXubjjZIleKSxYgcEN8 3DOvmEdX2znubY2A5onIq8M69BgTdGH5aolHuDZEaM9R1NTuRdp5gzic2LPKpenwRf pt/tfNj9UeRnn7t6CqRRo2DM6VLaiGl/++2b6ahss5hmvTVomFTyI2RbXXmnGNuDfA oPRIUCzQTaTP/AbfqNsGTCFYEFoIZvM4D8hfaDs2SQbufCZFRDPXByLfDQa8nxSysY R6NyVIkACZ3Exq17E1Ce0jIlNnw1XlohhbVB0/rzBo26+TDHwoucTyaYV1SvUT1WUr k8EL/M+2+vaqhLe/Q37vCANLusSCEUGoLLABYnCBu9vd8852FU9vzi0NmcbwXFmnXT aRPxLVcCCcqWVLTjEfcJD+Ar0ietkrkWwQxf45hb8GM2ILvn2WK5RkvUCxb71K64xv 7sFD8ki4ewK5PMFUSLXgdCJc= Original-Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id EED482A67D7; Thu, 27 Jun 2024 14:07:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1719497243; bh=5BFj5wVzNgHaPanfg+eWhOGULYY6eLBxecbQJxqDsQY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=F8S1MYaGcXFVGYk3JUOIe0ryiarmvwaHu6WQ55wrJP2j0bfBCTa9mG7OOyxo925yW NOdlHNT88/3zWNZmlY+bIFMY79VhJVozknbSr3vhqUjzMqTTyoeLxD/wscQdvFx/Fx Z534NShnYvDlnHd+Gr3X+Pv/MjfSXIj9cqg7OOGavxALht1Kf/9TLctRMAJ0CDTLT7 Y62aYNZkxmzi9WLfOArDuqJDBarwC0Lrq3J4dCSqv19QPYaKXubjjZIleKSxYgcEN8 3DOvmEdX2znubY2A5onIq8M69BgTdGH5aolHuDZEaM9R1NTuRdp5gzic2LPKpenwRf pt/tfNj9UeRnn7t6CqRRo2DM6VLaiGl/++2b6ahss5hmvTVomFTyI2RbXXmnGNuDfA oPRIUCzQTaTP/AbfqNsGTCFYEFoIZvM4D8hfaDs2SQbufCZFRDPXByLfDQa8nxSysY R6NyVIkACZ3Exq17E1Ce0jIlNnw1XlohhbVB0/rzBo26+TDHwoucTyaYV1SvUT1WUr k8EL/M+2+vaqhLe/Q37vCANLusSCEUGoLLABYnCBu9vd8852FU9vzi0NmcbwXFmnXT aRPxLVcCCcqWVLTjEfcJD+Ar0ietkrkWwQxf45hb8GM2ILvn2WK5RkvUCxb71K64xv 7sFD8ki4ewK5PMFUSLXgdCJc= X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240627140711.30118-1-~@wolfsden.cz> Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+guile-bugs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.bugs:10871 Archived-At: According to the previous wording, omitting all optional arguments led to empty interface. That however was not the case and was only a documentation bug (as confirmed by wingo on IRC). So let us fix that. * doc/ref/api-modules.texi (Using Guile Modules): Fix implication of omitting optional arguments. --- doc/ref/api-modules.texi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/ref/api-modules.texi b/doc/ref/api-modules.texi index efe739a25..115ebbac2 100644 --- a/doc/ref/api-modules.texi +++ b/doc/ref/api-modules.texi @@ -212,10 +212,10 @@ and @var{seen} is the name in the using module. Note that @var{seen} is also modified by @var{prefix} and @var{renamer}. The @code{#:select}, @code{#:hide}, @code{#:prefix}, and -@code{#:renamer} clauses are optional. If all are omitted, the returned -interface has no bindings. If the @code{#:select} clause is omitted, -@var{prefix} and @var{renamer} operate on the used module's public -interface. +@code{#:renamer} clauses are optional. If all are omitted, this form +behaves identically to the previous one. If the @code{#:select} clause +is omitted, @var{prefix} and @var{renamer} operate on the used module's +public interface. The @code{#:hide} operates on list of bindings in the module being imported, before any renaming is performed. If both @code{#:select} and -- 2.45.1