diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2018-03-19 03:09:53 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2018-03-19 03:14:07 +0100 |
commit | db80a2219d6294dc8b5548cfb59890939ae83cd7 (patch) | |
tree | eb12bbaa04e1657bc1258d64a04b8d1b6add4da0 /doc | |
parent | e357eae8fa8c7d6a59f22a1c97cb90a386762089 (diff) | |
download | geiser-guile-db80a2219d6294dc8b5548cfb59890939ae83cd7.tar.gz geiser-guile-db80a2219d6294dc8b5548cfb59890939ae83cd7.tar.bz2 |
A prefix for geiser-compile-current-buffer to restart it all
Okay, i must confess it's sometimes handy to restart the REPL before
compiling a file (the proverbial clean slate and all). And we already
have geiser-restart-repl, so combining the two things when C-u happens
was not really difficult.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cheat.texi | 2 | ||||
-rw-r--r-- | doc/parens.texi | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/doc/cheat.texi b/doc/cheat.texi index 793d20f..cbfe08d 100644 --- a/doc/cheat.texi +++ b/doc/cheat.texi @@ -86,7 +86,7 @@ third key not modified by @key{Control}; e.g., @item @tab @tab @item C-c C-k @tab @code{geiser-compile-current-buffer} -@tab Compile and load current file +@tab Compile and load current file; with prefix, restart REPL before @item C-c C-l @tab @code{geiser-load-file} @tab Load scheme file diff --git a/doc/parens.texi b/doc/parens.texi index 71bdc95..55a23f7 100644 --- a/doc/parens.texi +++ b/doc/parens.texi @@ -436,7 +436,12 @@ incremental evaluation. Some people disagree; if you happen to find @uref{http://blog.racket-lang.org/2009/03/drscheme-repl-isnt-lisp-the-one-in-emacs.html, their arguments} convincing, you don't have to throw away Geiser together with the baby: @kbd{M-x geiser-restart-repl} will let you -restart the REPL as many times as you see fit. +restart the REPL as many times as you see fit. Moreover, you can invoke +@kbd{geiser-compile-current-buffer} and @kbd{geiser-load-current-buffer} +with a prefix argument (that'd be something like @kbd{C-u C-c C-k} for +compilation, for instance), to tell Geiser to restart the REPL +associated with a buffer before compiling or loading its current +contents. @cindex evaluation @cindex incremental development, not evil |