diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-04-12 01:05:34 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-04-12 01:10:17 +0200 |
commit | 65bc295b35beac42e410ae78a3077ce28f1e49a9 (patch) | |
tree | 6f0cd712736949bc28cbd870e9b9f31354d406f1 | |
parent | 7a666d1e2da690ab45a2f40d388e47df711e4868 (diff) | |
download | geiser-chez-65bc295b35beac42e410ae78a3077ce28f1e49a9.tar.gz geiser-chez-65bc295b35beac42e410ae78a3077ce28f1e49a9.tar.bz2 |
A bit of documentation for the previous patches
-rw-r--r-- | AUTHORS | 9 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | doc/parens.texi | 4 | ||||
-rw-r--r-- | elisp/geiser-mode.el | 9 |
4 files changed, 19 insertions, 5 deletions
@@ -4,8 +4,9 @@ is its active maintainer. For more boring details about him, see Contributors: -Michael Wilber implemented the initial Racket image support modules. -Jonas Rodrigues implemented the initial version of geiser-repl-clear-buffer. -Ray Racine implemented geiser-edit-insert-lambda. +Michael Wilber +Diogo F. S. Ramos +Jonas Rodrigues +Ray Racine -See also the files THANKS and ChangeLog. +See also <https://github.com/jaor/geiser/contributors>. @@ -7,6 +7,8 @@ - Configurable case-sensitivity when highlighting keywords (thanks to Diogo F.S. Ramos), via geiser-guile-case-sensitive-p and geiser-racket-case-sensitive-pp + - C-u C-x C-e to insert evaluation result in buffer (thanks to + Diogo). - New flag geiser-repl-query-on-kill-p to control whether emacs will ask for confirmation before killing a buffer with a live REPL process. diff --git a/doc/parens.texi b/doc/parens.texi index de88cf5..3ca9390 100644 --- a/doc/parens.texi +++ b/doc/parens.texi @@ -438,7 +438,9 @@ For all of you bearded old lispers still with me, here are some of the commands performing incremental evaluation in Geiser. @code{geiser-eval-last-sexp}, bound to @kbd{C-x C-e}, will eval the -s-expression just before point. +s-expression just before point. If you use a prefix, as in @kbd{C-u C-x +C-e}, besides evaluating it the expression is inserted in the the +buffer. @code{geiser-eval-definition}, bound to @kbd{C-M-x}, finds the topmost definition containing point and sends it for evaluation. The variant diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el index 8d66a8a..4d43d1b 100644 --- a/elisp/geiser-mode.el +++ b/elisp/geiser-mode.el @@ -74,6 +74,7 @@ active when `geiser-mode' is activated in a buffer." (defun geiser-eval-region (start end &optional and-go raw nomsg) "Eval the current region in the Geiser REPL. + With prefix, goes to the REPL buffer afterwards (as `geiser-eval-region-and-go')" (interactive "rP") @@ -94,6 +95,7 @@ With prefix, goes to the REPL buffer afterwards (as (defun geiser-eval-definition (&optional and-go) "Eval the current definition in the Geiser REPL. + With prefix, goes to the REPL buffer afterwards (as `geiser-eval-definition-and-go')" (interactive "P") @@ -110,6 +112,7 @@ With prefix, goes to the REPL buffer afterwards (as (defun geiser-eval-last-sexp (print-to-buffer-p) "Eval the previous sexp in the Geiser REPL. + With a prefix, print the result of the evaluation to the buffer." (interactive "P") (let* ((ret (geiser-eval-region (save-excursion (backward-sexp) (point)) @@ -124,6 +127,7 @@ With a prefix, print the result of the evaluation to the buffer." (defun geiser-compile-definition (&optional and-go) "Compile the current definition in the Geiser REPL. + With prefix, goes to the REPL buffer afterwards (as `geiser-eval-definition-and-go')" (interactive "P") @@ -150,6 +154,7 @@ With prefix, recursively macro-expand the resulting expression." (defun geiser-expand-definition (&optional all) "Macro-expand the current definition. + With prefix, recursively macro-expand the resulting expression." (interactive "P") (save-excursion @@ -160,6 +165,7 @@ With prefix, recursively macro-expand the resulting expression." (defun geiser-expand-last-sexp (&optional all) "Macro-expand the previous sexp. + With prefix, recursively macro-expand the resulting expression." (interactive "P") (geiser-expand-region (save-excursion (backward-sexp) (point)) @@ -176,6 +182,7 @@ With prefix, recursively macro-expand the resulting expression." (defun geiser-mode-switch-to-repl (arg) "Switches to Geiser REPL. + With prefix, try to enter the current buffer's module." (interactive "P") (if arg @@ -201,6 +208,7 @@ With prefix, try to enter the current buffer's module." (defun geiser-squarify (n) "Toggle between () and [] for current form. + With numeric prefix, perform that many toggles, forward for positive values and backward for negative." (interactive "p") @@ -251,6 +259,7 @@ positive values and backward for negative." (define-minor-mode geiser-mode "Toggle Geiser's mode. + With no argument, this command toggles the mode. Non-null prefix argument turns on the mode. Null prefix argument turns off the mode. |