mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 21:40:33 +02:00
*** empty log message ***
This commit is contained in:
parent
ec9319f46f
commit
2a2d0d0e81
3 changed files with 49 additions and 13 deletions
39
NEWS
39
NEWS
|
@ -8,21 +8,36 @@ Changes since Guile 1.3:
|
||||||
|
|
||||||
* Changes to the stand-alone interpreter
|
* Changes to the stand-alone interpreter
|
||||||
|
|
||||||
** New options interface: readline-options,
|
** Command-line editing is enhanced.
|
||||||
readline-enable, readline-disable, readline-set!
|
|
||||||
|
|
||||||
** Command line history is now restored from and saved to file
|
If you have a sufficiently recent version of the GNU readline library
|
||||||
|
installed on your system, Guile will use it to read expressions
|
||||||
|
interactively.
|
||||||
|
|
||||||
If readline is used and the readline option `history-file' is enabled,
|
You can now use the readline-options interface to control readline's
|
||||||
the command line history is read from file when the interpreter is
|
behavior. You can now control the readline library's behavior by
|
||||||
entered, and written to file on exit. The filename used can be
|
changing the options listed below.
|
||||||
specified with the environment variable GUILE_HISTORY. Default file
|
|
||||||
name is "$HOME/.guile_history". Nothing special happens if errors
|
|
||||||
occur during read or write.
|
|
||||||
|
|
||||||
** Command line history length can now be customized.
|
(readline-enable 'history-file)
|
||||||
Command line history length is now controlled by the readline option
|
Tell readline to record your commands in a file when you exit
|
||||||
`history-length'. Default is 200 lines.
|
Guile, and restore them when you restart Guile. By default, Guile
|
||||||
|
saves commands to `$HOME/.guile_history', but if the
|
||||||
|
`GUILE_HISTORY' environment variable is set, Guile will use its
|
||||||
|
value as the name of the history file.
|
||||||
|
|
||||||
|
If Guile is unable to save or restore lines from the history file,
|
||||||
|
the operation is simply not performed; the user is not notified.
|
||||||
|
|
||||||
|
(readline-disable 'history-file)
|
||||||
|
Tell Guile not to save or restore command history.
|
||||||
|
|
||||||
|
(readline-set! history-length N)
|
||||||
|
Tell Guile to save at most N lines of command history.
|
||||||
|
|
||||||
|
(readline-set! bounce-parens N)
|
||||||
|
Tell Guile to indicate the matching opening parenthesis when you
|
||||||
|
type a closing parenthesis, by resting the cursor on it for N
|
||||||
|
milliseconds. If N is zero, do not highlight opening parethesis.
|
||||||
|
|
||||||
** All builtins now print as primitives.
|
** All builtins now print as primitives.
|
||||||
Previously builtin procedures not belonging to the fundamental subr
|
Previously builtin procedures not belonging to the fundamental subr
|
||||||
|
|
5
THANKS
5
THANKS
|
@ -1,5 +1,9 @@
|
||||||
The Guile core distribution:
|
The Guile core distribution:
|
||||||
|
|
||||||
|
Michael Livshin implemented Dybvig's Guardians.
|
||||||
|
Ken Raeburn made Guile use `const' in some appropriate places.
|
||||||
|
Greg Harvey made readline highlight matching parenthesis.
|
||||||
|
|
||||||
Bug reports and fixes from:
|
Bug reports and fixes from:
|
||||||
|
|
||||||
Etienne Bernard
|
Etienne Bernard
|
||||||
|
@ -16,7 +20,6 @@ Bug reports and fixes from:
|
||||||
Nicolas Neuss
|
Nicolas Neuss
|
||||||
Thien-Thi Nguyen
|
Thien-Thi Nguyen
|
||||||
Richard Polton
|
Richard Polton
|
||||||
Ken Raeburn
|
|
||||||
Telford Tendys
|
Telford Tendys
|
||||||
Bernard Urban
|
Bernard Urban
|
||||||
Jim Wilson
|
Jim Wilson
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
1999-02-06 Jim Blandy <jimb@savonarola.red-bean.com>
|
||||||
|
|
||||||
|
Readline paren matching from Greg Harvey, with modifications from
|
||||||
|
Mikael Djurfeldt:
|
||||||
|
|
||||||
|
* readline.c (in_readline, reentry_barrier_mutex): Make these
|
||||||
|
static.
|
||||||
|
|
||||||
|
* readline.c: #include <sys/time.h> and "iselect.h", so we can
|
||||||
|
control how long we're paused, and threads will run while we're
|
||||||
|
paused.
|
||||||
|
(match_paren, find_matching_paren, init_bouncing_parens): New
|
||||||
|
functions.
|
||||||
|
(scm_init_readline): Call init_bouncing_parens.
|
||||||
|
(scm_readline_opts): Add the bounce-parens option.
|
||||||
|
* readline.h (SCM_READLINE_BOUNCE_PARENS): New readline option.
|
||||||
|
(SCM_N_READLINE_OPTIONS): Adjust.
|
||||||
|
|
||||||
1999-02-06 Jim Blandy <jimb@zwingli.cygnus.com>
|
1999-02-06 Jim Blandy <jimb@zwingli.cygnus.com>
|
||||||
|
|
||||||
All the below are changes from Ken Raeburn, to get Guile to use
|
All the below are changes from Ken Raeburn, to get Guile to use
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue