summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-10-16 03:36:49 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-10-16 03:38:07 +0200
commitfb599601205edfcb0d2753f837d563e6ee59fd57 (patch)
treea4eebbfc216efe709e88265ec02e7f8a42e8b55a
parent3be75a9289bed76a1b96363c1a380d9371cf5f66 (diff)
downloadgeiser-fb599601205edfcb0d2753f837d563e6ee59fd57.tar.gz
geiser-fb599601205edfcb0d2753f837d563e6ee59fd57.tar.bz2
Manual: cheat sheet
-rw-r--r--README5
-rw-r--r--doc/Makefile.am2
-rw-r--r--doc/cheat.texi178
-rw-r--r--doc/fun.texi2
-rw-r--r--doc/geiser.texi12
-rw-r--r--doc/index.texi2
-rw-r--r--doc/web.texi2
7 files changed, 194 insertions, 9 deletions
diff --git a/README b/README
index 6793d1e..8134f97 100644
--- a/README
+++ b/README
@@ -121,10 +121,8 @@
| C-c C-m x | Macro-expand definition around point |
| C-c C-m e | Macro-expand sexp before point |
| C-c C-m r | Marcro-expand region |
- | C-u C-c C-m [x,e,r] | (With prefix, macro expansions are recursive) |
|---------------------+-------------------------------------------------|
| C-c C-k | Compile and load current file |
- | C-c C-l | Load current file |
|---------------------+-------------------------------------------------|
| C-c C-d d | See documentation for identifier at point |
| C-c C-d m | See a list of a module's exported identifiers |
@@ -153,7 +151,6 @@
|-------------+----------------------------------------------------|
| C-c C-m | Set current module |
| C-c C-i | Import module into current namespace |
- | C-c C-l | Load scheme file |
|-------------+----------------------------------------------------|
| C-c C-d C-d | See documentation for symbol at point |
| C-c C-d C-m | See documentation for module |
@@ -179,5 +176,5 @@
*** In backtrace (evaluation/compile result) buffers:
- - TAB, M-TAB for error navigation.
+ - M-g n, M-g p, C-x ` for error navigation.
- q to bury buffer.
diff --git a/doc/Makefile.am b/doc/Makefile.am
index ba3d88c..26d2a3f 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -12,7 +12,6 @@
SUFFIXES = .html
EXTRA_DIST = geiser.css site.conf web.texi
-
info_TEXINFOS = geiser.texi
geiser_TEXINFOS = \
macros.texi \
@@ -21,6 +20,7 @@ geiser_TEXINFOS = \
install.texi \
repl.texi \
fun.texi \
+ cheat.texi \
index.texi
output_dir=$(top_builddir)/doc/html
diff --git a/doc/cheat.texi b/doc/cheat.texi
new file mode 100644
index 0000000..92e9136
--- /dev/null
+++ b/doc/cheat.texi
@@ -0,0 +1,178 @@
+@node Cheat sheet, Index, Fun between the parens, Top
+@chapter Cheat sheet
+
+@menu
+* Scheme buffers::
+* REPL::
+* Documentation browser::
+@end menu
+
+@node Scheme buffers, REPL, Cheat sheet, Cheat sheet
+@section Scheme buffers
+
+@multitable @columnfractions .20 .4 .4
+@headitem Key @tab Command @tab Description
+@item C-c C-z
+@tab geiser-mode-switch-to-repl
+@tab Switch to REPL
+@item C-u C-c C-z
+@tab geiser-mode-switch-to-repl
+@tab Switch to REPL and current module
+@item C-c C-s
+@tab geiser-set-scheme
+@tab Specify Scheme implementation for buffer
+@item @tab @tab
+@item M-.
+@tab geiser-edit-symbol-at-point
+@tab Go to definition of identifier at point
+@item M-,
+@tab geiser-pop-symbol-stack
+@tab Go back to where M-. was last invoked
+@item C-c C-e C-m
+@tab geiser-edit-module
+@tab Ask for a module and open its file
+@item @tab @tab
+@item C-M-x
+@tab geiser-eval-definition
+@tab Eval definition around point
+@item C-c M-e
+@tab geiser-eval-definition-and-go
+@tab Eval definition around point and switch to REPL
+@item C-x C-e
+@tab geiser-eval-last-sexp
+@tab Eval sexp before point
+@item C-c C-r
+@tab geiser-eval-region
+@tab Eval region
+@item C-c M-r
+@tab geiser-eval-region-and-go
+@tab Eval region and switch to REPL
+@item @tab @tab
+@item C-c C-m C-x
+@tab geiser-expand-definition
+@tab Macro-expand definition around point
+@item C-c C-m C-e
+@tab geiser-expand-last-sexp
+@tab Macro-expand sexp before point
+@item C-c C-m C-r
+@tab geiser-expand-region
+@tab Macro-expand region
+@item @tab @tab
+@item C-c C-k
+@tab geiser-compile-current-buffer
+@tab Compile and load current file
+@item M-g n, C-x `
+@tab next-error
+@tab Jump to the location of next error
+@item M-g p
+@tab previous-error
+@tab Jump to the location of previous error
+@item @tab @tab
+@item C-c C-d C-d
+@tab geiser-doc-symbol-at-point
+@tab See documentation for identifier at point
+@item C-c C-d C-m
+@tab geiser-doc-module
+@tab See a list of a module's exported identifiers
+@item C-c C-d C-a
+@tab geiser-autodoc-mode
+@tab Toggle autodoc mode
+@item @tab @tab
+@item C-c<
+@tab geiser-xref-callers
+@tab Show callers of procedure at point
+@item C-c>
+@tab geiser-xref-callees
+@tab Show callees of procedure at point
+@item @tab @tab
+@item M-TAB
+@tab geiser-completion--complete-symbol
+@tab Complete identifier at point
+@item M-`, C-.
+@tab geiser-completion--complete-module
+@tab Complete module name at point
+@end multitable
+
+@node REPL, Documentation browser, Scheme buffers, Cheat sheet
+@section REPL
+
+@multitable @columnfractions .20 .4 .4
+@headitem Key @tab Command @tab Description
+@item C-c C-z
+@tab switch-to-geiser
+@tab Start Scheme REPL, or jump to previous buffer
+@item C-c C-q
+@tab geiser-repl-exit
+@tab Kill Scheme process
+@item C-c C-k
+@tab geiser-repl-nuke
+@tab Nuke REPL: use it if the REPL becomes unresponsive
+@item M-.
+@tab geiser-edit-symbol-at-point
+@tab Edit identifier at point
+@item TAB, M-TAB
+@tab geiser-completion--complete-symbol
+@tab Complete identifier at point
+@item M-`, C-.
+@tab geiser-completion--complete-module
+@tab Complete module name at point
+@item M-p, M-n
+@tab (comint commands)
+@tab Prompt history, matching current prefix
+@item C-c M-p, C-c M-n
+@tab (comint commands)
+@tab Previous/next prompt inputs
+@item C-c C-m
+@tab switch-to-geiser-module
+@tab Set current module
+@item C-c C-i
+@tab geiser-repl-import-module
+@tab Import module into current namespace
+@item C-c C-d C-d
+@tab geiser-doc-symbol-at-point
+@tab See documentation for symbol at point
+@item C-c C-d C-m
+@tab geiser-repl--doc-module
+@tab See documentation for module
+@item C-c C-d C-a
+@tab geiser-autodoc-mode
+@tab Toggle autodoc mode
+@end multitable
+
+@node Documentation browser, , REPL, Cheat sheet
+@section Documentation browser
+
+@multitable @columnfractions .20 .4 .4
+@headitem Key @tab Command @tab Description
+@item n, f
+@tab geiser-doc-next @tab Next page
+@item p, b
+@tab geiser-doc-previous @tab Previous page
+@item TAB, S-TAB
+@tab forward-button, backwards-button
+@tab Next/previous link
+@item k
+@tab geiser-doc-kill-page
+@tab Kill current page and go to previous or next
+@item g, r
+@tab geiser-doc-refresh
+@tab Refresh page
+@item c
+@tab geiser-doc-clean-history
+@tab Clear browsing history
+@item ., M-.
+@tab geiser-doc-edit-symbol-at-point
+@tab Edit identifier at point
+@item z
+@tab geiser-doc-switch-to-repl
+@tab Switch to REPL
+@item q
+@tab View-quit
+@tab Bury buffer
+@end multitable
+
+@flushright
+.
+@end flushright
+
+
diff --git a/doc/fun.texi b/doc/fun.texi
index eba54e1..05b7885 100644
--- a/doc/fun.texi
+++ b/doc/fun.texi
@@ -1,4 +1,4 @@
-@node Fun between the parens, Index, The REPL, Top
+@node Fun between the parens, Cheat sheet, The REPL, Top
@chapter Fun between the parens
A good @repl{} is a must, but just about half the story of a good Scheme
diff --git a/doc/geiser.texi b/doc/geiser.texi
index 9f95d9b..d958a01 100644
--- a/doc/geiser.texi
+++ b/doc/geiser.texi
@@ -46,13 +46,12 @@ The document was typeset with
@node Top, Introduction, (dir), (dir)
@top Geiser
-@include top.texi
-
@menu
* Introduction::
* Installation::
* The REPL::
* Fun between the parens::
+* Cheat sheet::
* Index::
@detailmenu
@@ -97,9 +96,17 @@ Fun between the parens
* Jumping around::
* Geiser writes for you::
+Cheat sheet
+
+* Scheme buffers::
+* REPL::
+* Documentation browser::
+
@end detailmenu
@end menu
+@include top.texi
+
@insertcopying
@end ifnottex
@@ -108,6 +115,7 @@ Fun between the parens
@include install.texi
@include repl.texi
@include fun.texi
+@include cheat.texi
@include index.texi
@bye
diff --git a/doc/index.texi b/doc/index.texi
index 5252ec2..68a3040 100644
--- a/doc/index.texi
+++ b/doc/index.texi
@@ -1,4 +1,4 @@
-@c This is part of Geiser's user manual., , Fun between the parens, Top
+@c This is part of Geiser's user manual., , Cheat sheet, Top
@c Copyright (C) 2010 Jose Antonio Ortega Ruiz
@c See the file geiser.texi for copying conditions.
diff --git a/doc/web.texi b/doc/web.texi
index b09aae7..b921347 100644
--- a/doc/web.texi
+++ b/doc/web.texi
@@ -13,6 +13,7 @@
* Installation::
* The REPL::
* Fun between the parens::
+* Cheat sheet::
* Index::
@end menu
@@ -33,6 +34,7 @@ list</a>&nbsp;
@include install.texi
@include repl.texi
@include fun.texi
+@include cheat.texi
@include index.texi
@bye