From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: doc port-line no default Date: Mon, 08 Sep 2003 10:10:41 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87wuckqgvy.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1063045959 5545 80.91.224.249 (8 Sep 2003 18:32:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2003 18:32:39 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Sep 08 20:33:00 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19wQou-0007kQ-00 for ; Mon, 08 Sep 2003 20:33:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19wQnA-0003CL-2S for guile-devel@m.gmane.org; Mon, 08 Sep 2003 14:31:12 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19wPsS-0001Ik-Mu for guile-devel@gnu.org; Mon, 08 Sep 2003 13:32:36 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19wPr9-0000kw-11 for guile-devel@gnu.org; Mon, 08 Sep 2003 13:31:16 -0400 Original-Received: from [61.8.0.36] (helo=snoopy.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.22) id 19wPqG-0000FL-4T for guile-devel@gnu.org; Mon, 08 Sep 2003 13:30:20 -0400 Original-Received: from mongrel.pacific.net.au (mongrel.pacific.net.au [61.8.0.107]) by snoopy.pacific.net.au (8.12.3/8.12.3/Debian-6.4) with ESMTP id h880AlBt027278 for ; Mon, 8 Sep 2003 10:10:47 +1000 Original-Received: from localhost (ppp81.dyn228.pacific.net.au [203.143.228.81]) by mongrel.pacific.net.au (8.12.3/8.12.3/Debian-6.4) with ESMTP id h8809E3G015262 for ; Mon, 8 Sep 2003 10:09:15 +1000 Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19w9c9-0000aZ-00; Mon, 08 Sep 2003 10:10:41 +1000 Original-To: guile-devel@gnu.org Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 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.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2767 --=-=-= * scheme-io.texi (Reading): In port-column, port-line, set-port-column! and set-port-line!, port parameter must be given, there's no default to current input. --=-=-= Content-Disposition: attachment; filename=scheme-io.texi.port-line-defaults.diff --- scheme-io.texi.~1.13.~ 1970-01-01 10:00:01.000000000 +1000 +++ scheme-io.texi 2003-09-01 14:56:58.000000000 +1000 @@ -176,8 +176,8 @@ @deffnx {Scheme Procedure} port-line port @deffnx {C Function} scm_port_column (port) @deffnx {C Function} scm_port_line (port) -Return the current column number or line number of @var{port}, -using the current input port if none is specified. If the number is +Return the current column number or line number of @var{port}. +If the number is unknown, the result is #f. Otherwise, the result is a 0-origin integer - i.e.@: the first character of the first line is line 0, column 0. (However, when you display a file position, for example in an error @@ -190,8 +190,7 @@ @deffnx {Scheme Procedure} set-port-line! port line @deffnx {C Function} scm_set_port_column_x (port, column) @deffnx {C Function} scm_set_port_line_x (port, line) -Set the current column or line number of @var{port}, using the -current input port if none is specified. +Set the current column or line number of @var{port}. @end deffn @node Writing --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel --=-=-=--