diff options
author | Nick Parker <nparker@zetetic.net> | 2013-05-13 13:36:34 -0500 |
---|---|---|
committer | Nick Parker <nparker@zetetic.net> | 2013-05-13 13:36:34 -0500 |
commit | 48b70f4bcee81de0d2a61eb2310ed08ab4e306f3 (patch) | |
tree | d3038e53bd501ee4736802fe70adc3634cb87075 /doc | |
parent | 168376ebcb164bca88cf487b07361ae8fe0a6a3e (diff) | |
download | geiser-guile-48b70f4bcee81de0d2a61eb2310ed08ab4e306f3.tar.gz geiser-guile-48b70f4bcee81de0d2a61eb2310ed08ab4e306f3.tar.bz2 |
Add geiser-eval-buffer & geiser-eval-buffer-and-go
These functions are similar to geiser-eval-region and
geiser-eval-region-and-go, however they allow the user to operate on the
entire buffer, not requiring the user to narrow to a specific region.
This also differs slightly from geiser-compile-current-buffer as
geiser-eval-buffer does not require the contents of the buffer to
be saved prior to being sent to the REPL. Documentaion has also been
updated to include references to the new methods and their keybindings.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cheat.texi | 6 | ||||
-rw-r--r-- | doc/parens.texi | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/cheat.texi b/doc/cheat.texi index 76a2330..f027b64 100644 --- a/doc/cheat.texi +++ b/doc/cheat.texi @@ -61,6 +61,12 @@ third key not modified by @key{Control}; e.g., @item C-c M-r @tab @code{geiser-eval-region-and-go} @tab Eval region and switch to REPL +@item C-c C-b +@tab @code{geiser-eval-buffer} +@tab Eval buffer +@item C-c M-b +@tab @code{geiser-eval-buffer-and-go} +@tab Eval buffer and switch to REPL @item @tab @tab @item C-c C-m C-x @tab @code{geiser-expand-definition} diff --git a/doc/parens.texi b/doc/parens.texi index 3ca9390..869643d 100644 --- a/doc/parens.texi +++ b/doc/parens.texi @@ -451,6 +451,10 @@ way, but it also teleports you to REPL after the evaluation. region. Again, there's an @i{and-go} version available, @code{geiser-eval-region-and-go}, bound to @kbd{C-c M-r}. +@code{geiser-eval-buffer}, bound to @kbd{C-c C-b}, evals the current +buffer. There is a @i{and-go} version available, +@code{geiser-eval-buffer-and-go}, bound to @kbd{C-c M-b}. + @cindex evaluating images @cindex image display For all the commands above, the result of the evaluation is displayed in |