1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 13:00:26 +02:00

debug and readline options doc tweak

* doc/ref/api-options.texi (Debugger options):
* doc/ref/repl-modules.texi (Readline Options): Use 'help instead of
  'full (they are entirely equivalent right now). Update output to show
  options in the right order.
This commit is contained in:
Andy Wingo 2010-10-01 11:15:12 +02:00
parent 1518f64948
commit 84898084c0
2 changed files with 15 additions and 13 deletions

View file

@ -395,19 +395,20 @@ configure @emph{reading}, @emph{printing}, or @emph{debugging}.
@subsubsection Debugger options @subsubsection Debugger options
Here is the list of print options generated by typing Here is the list of print options generated by typing
@code{(debug-options 'full)} in Guile. You can also see the default @code{(debug-options 'help)} in Guile. You can also see the default
values. values.
@smallexample @smallexample
warn-deprecated no Warn when deprecated features are used. backwards no Display backtrace in anti-chronological order.
show-file-name #t Show file names and line numbers in backtraces width 79 Maximal width of backtrace.
depth 20 Maximal length of printed backtrace.
backtrace yes Show backtrace on error.
stack 1048576 Stack size limit (measured in words;
0 = no check).
show-file-name #t Show file names and line numbers in backtraces
when not `#f'. A value of `base' displays only when not `#f'. A value of `base' displays only
base names, while `#t' displays full names. base names, while `#t' displays full names.
stack 1048576 Stack size limit (measured in words; 0 = no check). warn-deprecated no Warn when deprecated features are used.
backtrace yes Show backtrace on error.
depth 20 Maximal length of printed backtrace.
width 79 Maximal width of backtrace.
backwards no Display backtrace in anti-chronological order.
@end smallexample @end smallexample
@subsubheading Stack overflow @subsubheading Stack overflow

View file

@ -97,13 +97,14 @@ debugging options (@pxref{Runtime Options}).
@findex readline-disable @findex readline-disable
@findex readline-set! @findex readline-set!
Here is the list of readline options generated by typing Here is the list of readline options generated by typing
@code{(readline-options 'full)} in Guile. You can also see the @code{(readline-options 'help)} in Guile. You can also see the
default values. default values.
@smalllisp @smalllisp
bounce-parens 500 Time (ms) to show matching opening parenthesis (0 = off). history-file yes Use history file.
history-length 200 History length. history-length 200 History length.
history-file yes Use history file. bounce-parens 500 Time (ms) to show matching opening parenthesis
(0 = off).
@end smalllisp @end smalllisp
The history length specifies how many input lines will be remembered. The history length specifies how many input lines will be remembered.