Morgan Smith
f27e8b855f
Fix typos throughout codebase.
...
* NEWS:
* doc/ref/api-control.texi:
* doc/ref/api-data.texi:
* doc/ref/api-debug.texi:
* doc/ref/api-deprecated.texi:
* doc/ref/api-evaluation.texi:
* doc/ref/api-foreign.texi:
* doc/ref/api-i18n.texi:
* doc/ref/api-io.texi:
* doc/ref/api-languages.texi:
* doc/ref/api-macros.texi:
* doc/ref/api-memory.texi:
* doc/ref/api-modules.texi:
* doc/ref/api-options.texi:
* doc/ref/api-peg.texi:
* doc/ref/api-procedures.texi:
* doc/ref/api-scheduling.texi:
* doc/ref/api-undocumented.texi:
* doc/ref/api-utility.texi:
* doc/ref/expect.texi:
* doc/ref/goops.texi:
* doc/ref/misc-modules.texi:
* doc/ref/posix.texi:
* doc/ref/repl-modules.texi:
* doc/ref/scheme-ideas.texi:
* doc/ref/scheme-scripts.texi:
* doc/ref/srfi-modules.texi:
* gc-benchmarks/larceny/dynamic.sch:
* gc-benchmarks/larceny/twobit-input-long.sch:
* gc-benchmarks/larceny/twobit.sch:
* libguile/gc.h:
* libguile/ioext.c:
* libguile/list.c:
* libguile/options.c:
* libguile/posix.c:
* libguile/threads.c:
* module/ice-9/boot-9.scm:
* module/ice-9/optargs.scm:
* module/ice-9/ports.scm:
* module/ice-9/pretty-print.scm:
* module/ice-9/psyntax.scm:
* module/language/elisp/parser.scm:
* module/language/tree-il/compile-bytecode.scm:
* module/srfi/srfi-37.scm:
* module/srfi/srfi-43.scm:
* module/statprof.scm:
* module/texinfo/reflection.scm:
* test-suite/tests/eval.test:
* test-suite/tests/fluids.test:
Fix typos.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-06 11:51:53 +02:00
Jean Abou Samra
bc3b1a4e2d
doc: Document how (ice-9 format) replaces 'format'.
...
* doc/ref/misc-modules.texi (Formatted Output): Add paragraph.
* module/ice-9/format.scm: Add comment.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-10-12 22:49:00 +02:00
Andy Wingo
7e88ca6f8a
Document pretty-print #:max-expr-width
...
* doc/ref/misc-modules.texi (Pretty Printing): Document #:max-expr-width
keyword argument. Fixes #17657 .
2016-06-21 16:45:37 +02:00
Andy Wingo
a21f6467ac
Big ports documentation update
...
* doc/ref/api-io.texi: Update to document ports more thoroughly. Still
some work needed.
* doc/ref/r6rs.texi: Move ports documentation back to r6rs.texi, now
that Guile has a more thorough binary/textual I/O story, heavily based
on R6RS.
* doc/ref/api-control.texi:
* doc/ref/api-data.texi:
* doc/ref/api-options.texi:
* doc/ref/misc-modules.texi:
* doc/ref/posix.texi:
* doc/ref/srfi-modules.texi: Update references.
2016-06-08 10:19:27 +02:00
Mark H Weaver
80b809f114
Add full documentation for SRFI-41.
...
* doc/ref/misc-modules.texi (Streams): Add cross-reference to SRFI-41.
* doc/ref/srfi-modules.texi (SRFI-41): Replace stub with full
documentation.
(SRFI-41 Stream Fundamentals, SRFI-41 Stream Primitives,
SRFI-41 Stream Library): New subsubsections.
2013-03-27 13:37:45 -04:00
Bake Timmons
df0a100250
Make notation for Scheme repeated arguments more consistent in manual.
...
* doc/ref/api-compound.texi
* doc/ref/api-control.texi
* doc/ref/api-data.texi
* doc/ref/api-debug.texi
* doc/ref/api-evaluation.texi
* doc/ref/api-macros.texi
* doc/ref/api-memory.texi
* doc/ref/api-modules.texi
* doc/ref/api-procedures.texi
* doc/ref/api-regex.texi
* doc/ref/api-scheduling.texi
* doc/ref/api-utility.texi
* doc/ref/goops.texi
* doc/ref/match.texi
* doc/ref/misc-modules.texi
* doc/ref/posix.texi
* doc/ref/r6rs.texi
* doc/ref/scheme-using.texi
* doc/ref/srfi-modules.texi
* doc/ref/sxml-match.texi: Make notation for Scheme repeated arguments more
consistent in manual.
2012-02-04 00:10:13 +01:00
Ludovic Courtès
afd08fdf87
format: Add specifier ~h for localized number output.
...
* doc/ref/misc-modules.texi (Formatted Output): Document ~h. Recommend
use of ~h instead of ~:d.
* module/ice-9/format.scm (format): Add support for ~h.
* test-suite/tests/format.test ("~h localized number"): New test prefix.
* test-suite/tests/i18n.test (%american-english-locale-name,
%american-english-locale): New variables.
(under-american-english-locale-or-unresolved): New procedure.
("format ~h"): New test prefix.
2012-02-03 16:35:06 +01:00
Bake Timmons
64de6db5c6
Make consistent the usage of variable names in the function definitions found in the Texinfo docs.
...
* doc/r5rs/r5rs.texi:
* doc/ref/api-compound.texi:
* doc/ref/api-data.texi:
* doc/ref/api-debug.texi:
* doc/ref/api-evaluation.texi:
* doc/ref/api-io.texi:
* doc/ref/api-modules.texi:
* doc/ref/api-procedures.texi:
* doc/ref/api-scheduling.texi:
* doc/ref/api-smobs.texi:
* doc/ref/compiler.texi:
* doc/ref/misc-modules.texi:
* doc/ref/posix.texi:
* doc/ref/scheme-using.texi:
* doc/ref/srfi-modules.texi:
* doc/ref/vm.texi:
* doc/ref/web.texi:
* doc/sources/env.texi: Make usage of variable names of function definitions
more consistent.
2012-02-02 12:04:16 +01:00
Ludovic Courtès
be96155b50
ftw: Add an error' parameter to
file-system-fold'.
...
* module/ice-9/ftw.scm (errno-if-exception): New macro.
(file-system-fold): Add an `error' parameter. Wrap `opendir' and STAT
calls in `errno-if-exception' and call ERROR when appropriate.
(file-system-tree): Provide an `error' procedure. Return #f when
FILE-NAME is unreadable.
(scandir): Provide an `error' procedure.
* test-suite/tests/ftw.test (%top-builddir): New variable.
(make-file-tree, delete-file-tree): New procedures.
(with-file-tree): New macro.
("file-system-fold"): Update tests to add an `error' procedure.
["ENOENT", "EACCES", "dangling symlink and lstat", "dangling symlink
and stat"]: New tests.
("file-system-tree")["ENOENT"]: New test.
("scandir")["EACCES"]: New test.
* doc/ref/misc-modules.texi (File Tree Walk): Update `file-system-fold'
documentation.
2012-01-08 16:16:21 +01:00
Ludovic Courtès
de92987002
ftw: Clarify the behavior of `scandir' for flat files and unreadable dirs.
...
* module/ice-9/ftw.scm (scandir)[leaf]: Only add NAME when RESULT is a
pair.
[down]: Ignore RESULT.
Start with #f instead of the empty list.
* test-suite/tests/ftw.test ("scandir")["flat file"]: New test.
* doc/ref/misc-modules.texi (File Tree Walk): Update `scandir'
documentation accordingly.
2011-12-19 09:11:51 +01:00
Ludovic Courtès
7948c5d9eb
doc: Use @deffn {Scheme Procedure}' in
misc-modules.texi'.
...
* doc/ref/misc-modules.texi: Use `@deffn {Scheme Procedure}' instead of
`@defun'.
2011-12-18 21:25:24 +01:00
Ludovic Courtès
1629429d63
ftw: Add `scandir'.
...
Suggested by Nala Ginrut <nalaginrut@gmail.com>.
* module/ice-9/ftw.scm (scandir): New procedure.
* test-suite/tests/ftw.test ("scandir"): New test prefix.
* doc/ref/misc-modules.texi (File Tree Walk): Document `scandir'.
2011-12-18 21:18:38 +01:00
Ludovic Courtès
af98fafabf
ftw: Add an optional stat' parameter to
file-system-fold' and `-tree'.
...
* module/ice-9/ftw.scm (file-system-fold): Add an optional `stat'
parameter. Use it instead of `lstat'. Handle the case where (STAT child)
fails.
(file-system-tree): Likewise, and pass it to `file-system-fold'.
* doc/ref/misc-modules.texi (File Tree Walk): Update the documentation
of these functions.
2011-12-18 20:43:56 +01:00
Ludovic Courtès
243db01e51
Add file-system-fold' and
file-system-tree' to (ice-9 ftw).
...
* module/ice-9/ftw.scm (file-system-fold, file-system-tree): New
procedures.
* test-suite/tests/ftw.test (%top-srcdir, %test-dir): New variables.
("file-system-fold", "file-system-tree"): New test prefixes.
* doc/ref/misc-modules.texi (File Tree Walk): Document
`file-system-tree' and `file-system-fold'.
2011-12-13 23:56:19 +01:00
Neil Jerram
679cceeda4
Misc textual editing
...
* doc/ref/api-scheduling.texi (Asyncs): "queueing" -> "queuing".
* benchmark-suite/lib.scm, doc/sources/unix.texi (Unix conventions),
test-suite/lib.scm: "postpend" -> "append".
* doc/ref/api-compound.texi (Array Syntax, Dictionary Types),
doc/ref/api-control.texi (Catch), doc/ref/api-data.texi (Complex
Numbers, Conversion, Random, Symbol Props, Symbol Uninterned),
doc/ref/api-options.texi (Build Config, Common Feature Symbols),
doc/ref/api-regex.texi (Match Structures),
doc/ref/api-undocumented.texi, doc/ref/compiler.texi (Tree-IL,
GLIL), doc/ref/data-rep.texi (Immediate objects), doc/ref/goops.texi
(Slot Description Example), doc/ref/history.texi (A Scheme of Many
Maintainers, Status), doc/ref/libguile-program.texi (Available
Functionality), doc/ref/misc-modules.texi (Formatted Output),
doc/ref/mod-getopt-long.texi (getopt-long Reference),
doc/ref/posix.texi (Network Socket Address, Network Sockets and
Communication), doc/ref/srfi-modules.texi (SRFI-1 Association Lists,
SRFI-10, SRFI-19 String to date, SRFI-27 Random Sources),
doc/ref/vm.texi (Instruction Set, Top-Level Environment
Instructions, Procedure Call and Return Instructions),
doc/sources/unix.texi (Unix conventions): Correct spacing after
"i.e." and "e.g.".
2011-02-13 22:13:33 +00:00
Ralf Wildenhues
ecb8733562
docs: fix typos in manual, and a couple in code comments.
...
* doc/ref/api-binding.texi, doc/ref/api-compound.texi,
doc/ref/api-control.texi, doc/ref/api-debug.texi,
doc/ref/api-io.texi, doc/ref/api-macros.texi,
doc/ref/api-procedures.texi, doc/ref/api-scheduling.texi,
doc/ref/api-undocumented.texi, doc/ref/api-utility.texi,
doc/ref/compiler.texi, doc/ref/goops.texi,
doc/ref/libguile-concepts.texi, doc/ref/misc-modules.texi,
doc/ref/posix.texi, doc/ref/r6rs.texi, doc/ref/slib.texi,
doc/ref/srfi-modules.texi, doc/ref/sxml-match.texi,
doc/ref/tools.texi, doc/ref/vm.texi, doc/ref/web.texi,
doc/sources/env.texi, doc/sources/jimb-org.texi,
doc/sources/scheme-concepts.texi, doc/sources/unix.texi,
module/ice-9/optargs.scm: Fix typos.
* doc/r4rs/r5rs.texi: Likewise. Do not capitalize code symbols
even at the start of a sentence.
* doc/ref/api-data.texi: Likewise. Also, remove executable bit.
2011-02-09 22:28:49 +00:00
Andy Wingo
9fd01bce22
fix format ~f documentation for width combined with overflowchar
...
* doc/ref/misc-modules.texi (Formatted Output): Adapt ~f documentation
to indicate that the output will always have a decimal point. Thanks
to Fu-gangqiang for the report.
* THANKS: Update.
2011-01-26 20:13:31 +01:00
Andy Wingo
c89920a71f
deprecate passing a number as the destination to `format'
...
* module/ice-9/format.scm (format): Deprecate having a number as the
destination.
* doc/ref/misc-modules.texi (Formatted Output): Update docs.
2010-08-28 13:44:00 -07:00
Neil Jerram
26b9f90900
Merge branch 'master' into wip-manual-2
...
Conflicts:
doc/ref/api-procedures.texi
doc/ref/misc-modules.texi
(Caused by me removing `@page' from a couple of sections that have been modified
by others.)
2010-04-10 13:32:42 +01:00
Ludovic Courtès
c5e05a1c70
Use HORIZONTAL ELLIPSIS' when available in
truncated-print'.
...
* module/ice-9/pretty-print.scm (truncated-print): Set
`%default-port-encoding' to the encoding of PORT. Choose either
U+2026 or "..." depending on PORT's encoding.
* test-suite/tests/print.test ("truncated-print")[tprint]: New ENCODING
argument. Update existing tests accordingly. Add UTF-8 tests.
* doc/ref/misc-modules.texi (Pretty Printing): Mention the possible use
of U+2026.
2010-01-08 10:57:32 +01:00
Andy Wingo
87a6a23669
add truncated-print tests
...
* doc/ref/misc-modules.texi (Pretty Printing): Fix an error in
truncated-print example.
* test-suite/Makefile.am:
* test-suite/tests/print.test: Add truncated-print tests.
2010-01-03 13:35:35 +01:00
Andy Wingo
9274c3dd40
~:@y allows for truncation to an absolute maximum width
...
* module/ice-9/format.scm (format): Allow ~:@y to interpret the width as
the maximum width, inclusive of whatever else has already been output.
* doc/ref/misc-modules.texi (Formatted Output): Document this.
2009-12-29 21:15:08 +01:00
Andy Wingo
b8596c08ac
add ~@y truncated printing directive to format
...
* doc/ref/misc-modules.texi (Formatted Output): Add documentation for
the new ~@y format directive.
(Pretty Printing): Add documentation for truncated-write.
* module/ice-9/format.scm (format): Add ~@y, for doing a truncated
print. Also, allow both ~y variants to take a width parameter.
2009-12-29 13:29:02 +01:00
Neil Jerram
2a7758fe23
Remove page breaks except before new chapters and indices
...
* doc/ref/api-binding.texi, doc/ref/api-compound.texi,
doc/ref/api-control.texi, doc/ref/api-data.texi,
doc/ref/api-debug.texi, doc/ref/api-evaluation.texi,
doc/ref/api-i18n.texi, doc/ref/api-io.texi, doc/ref/api-memory.texi,
doc/ref/api-modules.texi, doc/ref/api-options.texi,
doc/ref/api-overview.texi, doc/ref/api-procedures.texi,
doc/ref/api-scheduling.texi, doc/ref/api-smobs.texi,
doc/ref/api-translation.texi, doc/ref/api-utility.texi,
doc/ref/expect.texi, doc/ref/libguile-concepts.texi,
doc/ref/libguile-program.texi, doc/ref/misc-modules.texi,
doc/ref/repl-modules.texi, doc/ref/scheme-debugging.texi,
doc/ref/scheme-reading.texi, doc/ref/scheme-scripts.texi,
doc/ref/script-getopt.texi, doc/ref/scsh.texi,
doc/ref/srfi-modules.texi: Remove @page before @section.
2009-12-19 00:58:54 +00:00
Brian Gough
72b3aa56af
more typo fixes
...
More spelling corrections and fixes for doubled words (e.g. "the the")
--
Brian Gough
Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/
>From 7be02beedc739c32cce2c8ec8f4ac814c994a13f Mon Sep 17 00:00:00 2001
From: Brian Gough <bjg@gnu.org>
Date: Mon, 14 Dec 2009 22:06:22 +0000
Subject: [PATCH] fix various documentation typos (spelling & doubled words)
2009-12-18 00:53:34 +00:00
Ludovic Courtès
c4e843571f
"filesystem" -> "file system"
...
* doc/ref/misc-modules.texi, doc/sources/unix.texi,
module/ice-9/ftw.scm: Replace "filesystem" by "file system".
2009-11-24 23:16:08 +01:00
Kevin Ryde
40296bab81
merge from 1.8 branch
2006-10-09 22:47:06 +00:00
Kevin Ryde
23f2b9a3de
merge from 1.8 branch
2006-06-17 23:15:59 +00:00
Kevin Ryde
5179b0e20b
(Streams): In stream->list&length and
...
stream->reversed-list&length, make the two values clearer.
and a typo "teh"
2005-12-14 21:55:54 +00:00
Kevin Ryde
80a894c9a8
(Formatted Output): Show modifiers like ~:d instead of in words.
2005-10-05 01:22:22 +00:00
Kevin Ryde
9465ea99b9
(Rx Regexps): Remove this section, Rx
...
is not in the core and we don't want to confuse anyone with it and the
builtin posix regexps.
2005-04-18 22:29:42 +00:00
Kevin Ryde
f0a9ab4d90
In format, note no parameters to ~( case conversion.
2005-02-25 23:09:33 +00:00
Kevin Ryde
d10196fc42
Some index entry capitalization.
2005-01-11 21:46:01 +00:00
Kevin Ryde
458dd501aa
(Streams): New section.
2004-09-25 22:29:20 +00:00
Kevin Ryde
471d2c6d22
(Formatted Output): Excess arguments are ignored.
...
In ~*, correction N parameter cannot be negative. In ~t, note
port-column used.
2004-09-02 00:12:44 +00:00
Marius Vollmer
565b4a6f31
Removed caveat that pretty-print uses its own 'write' implementation.
2004-08-09 21:58:14 +00:00
Marius Vollmer
f47029a180
(Formatted Output): Changed @w to @w{} in itemize. The former doesn't
...
work for some reason...
2004-07-30 12:39:29 +00:00
Kevin Ryde
76d3f3d47f
(Formatted Output): Rewrite, describing escapes
...
and parameters in detail.
2004-07-28 00:54:04 +00:00
Marius Vollmer
3229f68b5a
Big reorganization of the whole manual to give it a simpler structure.
2004-04-21 14:33:05 +00:00
Marius Vollmer
2da09c3fde
Added Copyright notice.
2004-01-21 22:40:39 +00:00
Kevin Ryde
2370f80907
(Queues): New chapter.
2004-01-10 21:37:59 +00:00
Kevin Ryde
385dbc8b9c
(Pretty Printing): Add new keyword options, break example to avoid long line.
2003-11-08 22:07:50 +00:00
Kevin Ryde
6da1534c0b
* misc-modules.texi (File Tree Walk): New chapter.
2003-11-03 00:52:32 +00:00
Thien-Thi Nguyen
85a9b4ed19
Spell check.
2002-01-08 08:29:00 +00:00
Neil Jerram
2a946b44f4
* Improve symbol documentation.
...
* Move variables doc into Modules chapter.
* Move Rx doc into Guile Modules part.
* Other minor doc changes.
2001-12-01 15:53:04 +00:00
Neil Jerram
8f85c0c6c3
* Adding C function declarations from the SCM interface to the
...
reference manual documentation.
2001-11-16 15:04:17 +00:00
Martin Grabmüller
40f316d0b7
Some cosmetic doc fixes.
2001-09-26 17:24:54 +00:00
Neil Jerram
a0e07ba4ec
* Organize documentation into per-manual directories (halfway point commit).
2001-08-24 09:40:29 +00:00