* doc port-line no default
@ 2003-09-08 0:10 Kevin Ryde
0 siblings, 0 replies; only message in thread
From: Kevin Ryde @ 2003-09-08 0:10 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 184 bytes --]
* 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.
[-- Attachment #2: scheme-io.texi.port-line-defaults.diff --]
[-- Type: text/plain, Size: 1072 bytes --]
--- 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
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-08 0:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-08 0:10 doc port-line no default Kevin Ryde
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).