From unknown Sun Aug 17 09:11:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24207 <24207@debbugs.gnu.org> To: bug#24207 <24207@debbugs.gnu.org> Subject: Status: Fixing documentation example for make-custom-binary-input-port Reply-To: bug#24207 <24207@debbugs.gnu.org> Date: Sun, 17 Aug 2025 16:11:53 +0000 retitle 24207 Fixing documentation example for make-custom-binary-input-port reassign 24207 guile submitter 24207 Christopher Allan Webber severity 24207 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 16:13:51 2016 Received: (at submit) by debbugs.gnu.org; 11 Aug 2016 20:13:51 +0000 Received: from localhost ([127.0.0.1]:54394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXwMR-0005At-FG for submit@debbugs.gnu.org; Thu, 11 Aug 2016 16:13:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXwMP-00059h-Lw for submit@debbugs.gnu.org; Thu, 11 Aug 2016 16:13:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXwMJ-0005PQ-FZ for submit@debbugs.gnu.org; Thu, 11 Aug 2016 16:13:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXwMJ-0005Oq-CU for submit@debbugs.gnu.org; Thu, 11 Aug 2016 16:13:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXwMH-0008QL-64 for bug-guile@gnu.org; Thu, 11 Aug 2016 16:13:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXwMB-0005M9-VF for bug-guile@gnu.org; Thu, 11 Aug 2016 16:13:40 -0400 Received: from dustycloud.org ([50.116.34.160]:37310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXwMB-0005JO-Qz for bug-guile@gnu.org; Thu, 11 Aug 2016 16:13:35 -0400 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 8ABFC26627 for ; Thu, 11 Aug 2016 16:13:23 -0400 (EDT) User-agent: mu4e 0.9.16; emacs 24.5.1 From: Christopher Allan Webber To: bug-guile@gnu.org Subject: Fixing documentation example for make-custom-binary-input-port Date: Thu, 11 Aug 2016 15:13:23 -0500 Message-ID: <87a8gjcbdo.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --=-=-= Content-Type: text/plain The example previously did not run, because it was missing the "closed" parameter. Fixed. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Fix-example-in-make-custom-binary-input-port-documen.patch >From abed180e8ea3ada5c4e156165f0b5e648d517ba2 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Thu, 11 Aug 2016 15:10:19 -0500 Subject: [PATCH] Fix example in make-custom-binary-input-port documentation * doc/ref/api-io.texi (Custom Ports): Add additional argument to example's invocation of make-custom-binary-input-port. Previously had mismatched arity by missing "closed" argument. --- doc/ref/api-io.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/ref/api-io.texi b/doc/ref/api-io.texi index 76c8db8..e4e4f36 100644 --- a/doc/ref/api-io.texi +++ b/doc/ref/api-io.texi @@ -1,7 +1,7 @@ @c -*-texinfo-*- @c This is part of the GNU Guile Reference Manual. @c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2007, 2009, -@c 2010, 2011, 2013 Free Software Foundation, Inc. +@c 2010, 2011, 2013, 2016 Free Software Foundation, Inc. @c See the file guile.texi for copying conditions. @node Input and Output @@ -1278,8 +1278,8 @@ procedure (@pxref{Bytevector Ports}) could be implemented as follows: (set! position new-position)) (make-custom-binary-input-port "the port" read! - get-position - set-position!)) + get-position set-position! + #f)) (read (open-bytevector-input-port (string->utf8 "hello"))) @result{} hello -- 2.9.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 31 09:52:09 2016 Received: (at 24207-done) by debbugs.gnu.org; 31 Aug 2016 13:52:09 +0000 Received: from localhost ([127.0.0.1]:45108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bf5vx-0007NJ-FQ for submit@debbugs.gnu.org; Wed, 31 Aug 2016 09:52:09 -0400 Received: from pb-sasl1.pobox.com ([64.147.108.66]:61122 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bf5vs-0007Mn-Su for 24207-done@debbugs.gnu.org; Wed, 31 Aug 2016 09:52:04 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id DC90232EE2; Wed, 31 Aug 2016 09:51:58 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=kX5QxiQNFK71KDpY7oD0BWaECQA=; b=hYX8ab OoAdu1E8MT3VltkN9pwAiDarPY/WWKiMhe61Zo69FpTOoIg7o1edJOBP1sknF1Di oDD8licJ8kLNV/9IRMpgNu9EHQmjuNIW8nWPJLRXbBSasT9BiXUV44fxMyrql2c5 yu2GOH+LqEWTBhh8xWINlT6yg0sH9Sj7ztgCU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=VCz8R0JoILoNospcwL25gk+/8KVe0f/V oOrCSLi0p1cQeDH6vlUVgaiROOoQ3VmJLMPEF6ylw5zUGKWZ8AQLv2G3+XSrqESM 0Zs9IRLk2wEiX1VmRzn9HxCBdyz/D/tUuh7AIUwWV02MzRBg+1SAlswue7y/wBiQ ktfI2X5nRIQ= Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id D550732EE0; Wed, 31 Aug 2016 09:51:58 -0400 (EDT) Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 2AFFA32EDF; Wed, 31 Aug 2016 09:51:58 -0400 (EDT) From: Andy Wingo To: Christopher Allan Webber Subject: Re: bug#24207: Fixing documentation example for make-custom-binary-input-port References: <87a8gjcbdo.fsf@dustycloud.org> Date: Wed, 31 Aug 2016 15:51:50 +0200 In-Reply-To: <87a8gjcbdo.fsf@dustycloud.org> (Christopher Allan Webber's message of "Thu, 11 Aug 2016 15:13:23 -0500") Message-ID: <87k2exjbbd.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 15C8E83C-6F82-11E6-81B7-CE686462E9F6-02397024!pb-sasl1.pobox.com X-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: 24207-done Cc: 24207-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) On Thu 11 Aug 2016 22:13, Christopher Allan Webber writes: > The example previously did not run, because it was missing the "closed" > parameter. Fixed. Applied, thanks :) From unknown Sun Aug 17 09:11:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 29 Sep 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator