typos and one change to formulation

This commit is contained in:
Matthias Felleisen 2011-09-23 18:40:36 -04:00
parent abda257295
commit b90710355f

View File

@ -245,15 +245,18 @@ and sends the entire contents of the definitions window, ensuring that
the state in the REPL matches what you would expect by reading the state in the REPL matches what you would expect by reading
the source code of the program. the source code of the program.
That said, it is difficult for some people to switch to this new mode and, Based on years of experience with Emacs modes, some of the authors
in some cases (for example when most of the interesting state is not consider this mode of interaction also appropriate for experienced
in the program but in an external database or in the filesystem), using programmers. Indeed, they go through great effort to mimic this
the contentional keystrokes may make sense. behavior in Emacs.
So, the remainder of this section is an example keybindings file that That said, some people may wish to use such incremental keystroke modes
adds the ability to send expressions piecemeal to the interactions anyway. Therefore the remainder of this section illustrates how to add such
window. It also demonstrates how to pull together a bunch of pieces an incremental mode for your personal use with an example keybindings
of DrRacket's implementation and its libraries to implement keystrokes. file. Specifically, the file shows how to add the ability to send
expressions piecemeal to the interactions window. It also demonstrates how
to pull together a bunch of pieces of DrRacket's implementation and its
libraries to implement keystrokes.
@(define-runtime-path incremental-keybindings.rkt "incremental-keybindings.rkt") @(define-runtime-path incremental-keybindings.rkt "incremental-keybindings.rkt")
@(let ([sp (open-output-string)]) @(let ([sp (open-output-string)])
@ -261,3 +264,6 @@ of DrRacket's implementation and its libraries to implement keystrokes.
(λ (port) (λ (port)
(copy-port port sp))) (copy-port port sp)))
(codeblock (get-output-string sp))) (codeblock (get-output-string sp)))
Others may wish to use the above example to invent other keystrokes for
making work in DrRacket convenient.