~ chicken-core (chicken-5) 9d0dad75fbf8b6df8c8ca8412cfa0cd2f887b75c
commit 9d0dad75fbf8b6df8c8ca8412cfa0cd2f887b75c Author: felix <felix@call-with-current-continuation.org> AuthorDate: Tue Nov 16 05:53:21 2010 -0500 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Tue Nov 16 05:53:21 2010 -0500 ,g shows variable fetched; documented prefix matching in ,g diff --git a/csi.scm b/csi.scm index 12f7de81..137e5101 100644 --- a/csi.scm +++ b/csi.scm @@ -851,6 +851,9 @@ EOF (be e (cdr be))) ((null? be)) (when (compare (car be)) + (display "; getting ") + (display (car be)) + (newline) (history-add (list (##sys#slot v i))) (return (##sys#slot v i))))) (##sys#slot data 2) ; e diff --git a/manual/Using the interpreter b/manual/Using the interpreter index 3050c7de..886e6a54 100644 --- a/manual/Using the interpreter +++ b/manual/Using the interpreter @@ -151,7 +151,7 @@ The toplevel loop understands a number of special commands: ; ,f N : Select call-trace item with the given number, where the number {{0}} indicates the last item in the trace -; ,g NAME : Returns the value of the local variable with the given name (which may be a symbol or string) +; ,g NAME : Returns the value of the local variable with the given name (which may be a symbol or string); you don't have to give the complete name - {{,g}} will return the first variable that matches the prefix given ; ,q : Quit the interpreter. @@ -226,7 +226,7 @@ The {{,e}} command runs the editor given by: * If the environment variable {{EMACS}} is set, the editor chosen is {{emacsclient}}. -* As a last resort, {{vi}} is used. +* As a truly last resort, {{vi}} is used. === History accessTrap