Added guile-readline subdirectory with the removed readline
[bpt/guile.git] / NEWS
diff --git a/NEWS b/NEWS
index 0712d0e..87bfba3 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -33,6 +33,13 @@ can use Guile may not be able to use Readline.  Now users will be
 explicitly offered two independent decisions about the use of these
 two packages.
 
+You can activate the readline support by issuing
+
+    (use-modules (readline-activator))
+    (activate-readline)
+
+from your ".guile" file, for example.
+
 * Changes to the stand-alone interpreter
 
 ** All builtins now print as primitives.
@@ -64,6 +71,8 @@ In Guile, hooks are first class objects.
 Return a hook for hook functions which can take N_ARGS arguments.
 The default value for N_ARGS is 0.
 
+(See also scm_make_named_hook below.)
+
 *** New function: add-hook! HOOK PROC [APPEND_P]
 
 Put PROC at the beginning of the list of functions stored in HOOK.
@@ -1044,6 +1053,16 @@ New functions.
 
 * Changes to the scm_ interface
 
+** Function: scm_make_named_hook (char* name, int n_args)
+
+Creates a hook in the same way as make-hook above but also
+binds a variable named NAME to it.
+
+This is the typical way of creating a hook from C code.
+
+Currently, the variable is created in the root module.  This will
+change when we get the new module system.
+
 ** The interfaces for using I/O ports and implementing port types
 (ptobs) have changed significantly.  The new interface is based on
 shared access to buffers and a new set of ptob procedures.