It is necessary temporarily, before pressing the "Enter" key, to switch to a special mode when all keyboard commands are redirected and executed in the "other" window buffer.
Why it is needed. While working with Slime, when setting up a function, you have to constantly perform the same sequential actions:
- Fix function
Cc Cc
- compile functionCx o
- switch to the buffer of the "other" window (REPL is running there)Mp
- repeat the last REPL statement, it is possible to change it.Enter
- execute the last expression in the REPLCx o
- return to the original window
So, I would like to exclude clauses 3 and 6 so that the sequence of actions becomes the following:
- Fix function
Cc Cc
- compile function- Enter the temporary control mode of the "other" window (there is still a REPL)
Mp
- repeat the last REPL statement, it is possible to change it.Enter
- execute the last expression in the REPL and return to the original window
A similar problem occurs when invoking the Ch f
help. The help text opens in the “other” window and overlaps the REPL, and the original window remains active. And it turns out to close the help you need to do one unnecessary switching to the "other" window, since after the help is closed, it still returns to the original one.