Make do with a single connection
[geiser.git] / doc / cheat.texi
blob68e4274b748f96b62b064fe502f8ac7251d6f3d1
1 @node Cheat sheet, No hacker is an island, Between the parens, Top
2 @chapter Cheat sheet
4 @menu
5 * Scheme buffers::
6 * REPL::
7 * Documentation browser::
8 @end menu
10 @node Scheme buffers, REPL, Cheat sheet, Cheat sheet
11 @section Scheme buffers
13 @multitable @columnfractions .20 .4 .4
14 @headitem Key @tab Command @tab Description
15 @item C-c C-z
16 @tab geiser-mode-switch-to-repl
17 @tab Switch to REPL
18 @item C-u C-c C-z
19 @tab geiser-mode-switch-to-repl
20 @tab Switch to REPL and current module
21 @item C-c C-s
22 @tab geiser-set-scheme
23 @tab Specify Scheme implementation for buffer
24 @item @tab @tab
25 @item M-.
26 @tab geiser-edit-symbol-at-point
27 @tab Go to definition of identifier at point
28 @item M-,
29 @tab geiser-pop-symbol-stack
30 @tab Go back to where M-. was last invoked
31 @item C-c C-e C-m
32 @tab geiser-edit-module
33 @tab Ask for a module and open its file
34 @item C-c C-e C-[
35 @tab geiser-squarify
36 @tab Toggle between () and [] for current form
37 @item @tab @tab
38 @item C-M-x
39 @tab geiser-eval-definition
40 @tab Eval definition around point
41 @item C-c M-e
42 @tab geiser-eval-definition-and-go
43 @tab Eval definition around point and switch to REPL
44 @item C-x C-e
45 @tab geiser-eval-last-sexp
46 @tab Eval sexp before point
47 @item C-c C-r
48 @tab geiser-eval-region
49 @tab Eval region
50 @item C-c M-r
51 @tab geiser-eval-region-and-go
52 @tab Eval region and switch to REPL
53 @item @tab @tab
54 @item C-c C-m C-x
55 @tab geiser-expand-definition
56 @tab Macro-expand definition around point
57 @item C-c C-m C-e
58 @tab geiser-expand-last-sexp
59 @tab Macro-expand sexp before point
60 @item C-c C-m C-r
61 @tab geiser-expand-region
62 @tab Macro-expand region
63 @item @tab @tab
64 @item C-c C-k
65 @tab geiser-compile-current-buffer
66 @tab Compile and load current file
67 @item M-g n, C-x `
68 @tab next-error
69 @tab Jump to the location of next error
70 @item M-g p
71 @tab previous-error
72 @tab Jump to the location of previous error
73 @item @tab @tab
74 @item C-c C-d C-d
75 @tab geiser-doc-symbol-at-point
76 @tab See documentation for identifier at point
77 @item C-c C-d C-m
78 @tab geiser-doc-module
79 @tab See a list of a module's exported identifiers
80 @item C-c C-d C-a
81 @tab geiser-autodoc-mode
82 @tab Toggle autodoc mode
83 @item @tab @tab
84 @item C-c<
85 @tab geiser-xref-callers
86 @tab Show callers of procedure at point
87 @item C-c>
88 @tab geiser-xref-callees
89 @tab Show callees of procedure at point
90 @item @tab @tab
91 @item M-TAB
92 @tab geiser-completion--complete-symbol
93 @tab Complete identifier at point
94 @item M-`, C-.
95 @tab geiser-completion--complete-module
96 @tab Complete module name at point
97 @end multitable
99 @node REPL, Documentation browser, Scheme buffers, Cheat sheet
100 @section REPL
102 @multitable @columnfractions .20 .4 .4
103 @headitem Key @tab Command @tab Description
104 @item C-c C-z
105 @tab switch-to-geiser
106 @tab Start Scheme REPL, or jump to previous buffer
107 @item C-c C-q
108 @tab geiser-repl-exit
109 @tab Kill Scheme process
110 @item M-.
111 @tab geiser-edit-symbol-at-point
112 @tab Edit identifier at point
113 @item TAB
114 @tab geiser-completion--tab
115 @tab Complete, indent or go to next error
116 @item S-TAB (backtab)
117 @tab geiser-completion--previous-error
118 @tab Go to previous error in the REPL buffer
119 @item M-TAB
120 @tab geiser-completion--complete-symbol
121 @tab Complete identifier at point
122 @item M-`, C-.
123 @tab geiser-completion--complete-module
124 @tab Complete module name at point
125 @item M-p, M-n
126 @tab (comint commands)
127 @tab Prompt history, matching current prefix
128 @item C-c M-p, C-c M-n
129 @tab (comint commands)
130 @tab Previous/next prompt inputs
131 @item C-c C-m
132 @tab switch-to-geiser-module
133 @tab Set current module
134 @item C-c C-i
135 @tab geiser-repl-import-module
136 @tab Import module into current namespace
137 @item C-c C-d C-d
138 @tab geiser-doc-symbol-at-point
139 @tab See documentation for symbol at point
140 @item C-c C-d C-m
141 @tab geiser-repl--doc-module
142 @tab See documentation for module
143 @item C-c C-d C-a
144 @tab geiser-autodoc-mode
145 @tab Toggle autodoc mode
146 @end multitable
148 @node Documentation browser,  , REPL, Cheat sheet
149 @section Documentation browser
151 @multitable @columnfractions .20 .4 .4
152 @headitem Key @tab Command @tab Description
153 @item n, f
154 @tab geiser-doc-next @tab Next page
155 @item p, b
156 @tab geiser-doc-previous @tab Previous page
157 @item TAB, S-TAB
158 @tab forward-button, backwards-button
159 @tab Next/previous link
160 @item k
161 @tab geiser-doc-kill-page
162 @tab Kill current page and go to previous or next
163 @item g, r
164 @tab geiser-doc-refresh
165 @tab Refresh page
166 @item c
167 @tab geiser-doc-clean-history
168 @tab Clear browsing history
169 @item ., M-.
170 @tab geiser-doc-edit-symbol-at-point
171 @tab Edit identifier at point
172 @item z
173 @tab geiser-doc-switch-to-repl
174 @tab Switch to REPL
175 @item q
176 @tab View-quit
177 @tab Bury buffer
178 @end multitable
180 @ifhtml
181 @html
182 <hr>
183 @end html
184 @end ifhtml