simple geiser-chez--display-error
[geiser.git] / doc / cheat.texi
blob793d20fd6239c5b66fc7cf7c8b2afaae05ad867a
1 @node Cheat sheet, No hacker is an island, Between the parens, Top
2 @chapter Cheat sheet
4 In the tables below, triple chords always accept a variant with the
5 third key not modified by @key{Control}; e.g.,
6 @code{geiser-autodoc-show} is bound both to @kbd{C-c C-d C-s} and
7 @kbd{C-c C-d s}.
9 @menu
10 * Scheme buffers::
11 * REPL::
12 * Documentation browser::
13 @end menu
15 @node Scheme buffers, REPL, Cheat sheet, Cheat sheet
16 @section Scheme buffers
18 @multitable @columnfractions .20 .4 .4
19 @headitem Key @tab Command @tab Description
20 @item C-c C-z
21 @tab @code{geiser-mode-switch-to-repl}
22 @tab Switch to REPL
23 @item C-c C-a
24 @tab @code{geiser-mode-switch-to-repl-and-enter}
25 @tab Switch to REPL and current module (also @kbd{C-u C-c C-z})
26 @item C-c C-s
27 @tab @code{geiser-set-scheme}
28 @tab Specify Scheme implementation for buffer
29 @item @tab @tab
30 @item M-.
31 @tab @code{geiser-edit-symbol-at-point}
32 @tab Go to definition of identifier at point
33 @item M-,
34 @tab @code{geiser-pop-symbol-stack}
35 @tab Go back to where M-. was last invoked
36 @item C-c C-e C-m
37 @tab @code{geiser-edit-module}
38 @tab Ask for a module and open its file
39 @item C-c C-e C-l
40 @tab @code{geiser-add-to-load-path}
41 @tab Ask for a directory and add to Scheme load path
42 @item C-c C-e C-[
43 @tab @code{geiser-squarify}
44 @tab Toggle between () and [] for current form
45 @item C-c C-\
46 @tab @code{geiser-insert-lambda}
47 @tab Insert greek lambda or, with prefix, a lambda form
48 @item @tab @tab
49 @item C-M-x
50 @tab @code{geiser-eval-definition}
51 @tab Eval definition around point
52 @item C-c C-c
53 @tab @code{geiser-eval-definition}
54 @tab Eval definition around point
55 @item C-c M-e
56 @tab @code{geiser-eval-definition-and-go}
57 @tab Eval definition around point and switch to REPL
58 @item C-c M-c
59 @tab @code{geiser-eval-definition-and-go}
60 @tab Eval definition around point and switch to REPL
61 @item C-x C-e
62 @tab @code{geiser-eval-last-sexp}
63 @tab Eval sexp before point
64 @item C-c C-r
65 @tab @code{geiser-eval-region}
66 @tab Eval region
67 @item C-c M-r
68 @tab @code{geiser-eval-region-and-go}
69 @tab Eval region and switch to REPL
70 @item C-c C-b
71 @tab @code{geiser-eval-buffer}
72 @tab Eval buffer
73 @item C-c M-b
74 @tab @code{geiser-eval-buffer-and-go}
75 @tab Eval buffer and switch to REPL
76 @item @tab @tab
77 @item C-c C-m C-x
78 @tab @code{geiser-expand-definition}
79 @tab Macro-expand definition around point
80 @item C-c C-m C-e
81 @tab @code{geiser-expand-last-sexp}
82 @tab Macro-expand sexp before point
83 @item C-c C-m C-r
84 @tab @code{geiser-expand-region}
85 @tab Macro-expand region
86 @item @tab @tab
87 @item C-c C-k
88 @tab @code{geiser-compile-current-buffer}
89 @tab Compile and load current file
90 @item C-c C-l
91 @tab @code{geiser-load-file}
92 @tab Load scheme file
93 @item M-g n, C-x `
94 @tab @code{next-error}
95 @tab Jump to the location of next error
96 @item M-g p
97 @tab @code{previous-error}
98 @tab Jump to the location of previous error
99 @item @tab @tab
100 @item C-c C-d C-d
101 @tab @code{geiser-doc-symbol-at-point}
102 @tab See documentation for identifier at point
103 @item C-c C-d C-s
104 @tab @code{geiser-autodoc-show}
105 @tab Show signature or value for identifier at point in echo area
106 @item C-c C-d C-m
107 @tab @code{geiser-doc-module}
108 @tab See a list of a module's exported identifiers
109 @item C-c C-d C-i
110 @tab @code{geiser-doc-look-up-manual}
111 @tab Look up manual for symbol at point
112 @item C-c C-d C-a
113 @tab @code{geiser-autodoc-mode}
114 @tab Toggle autodoc mode
115 @item @tab @tab
116 @item C-c <
117 @tab @code{geiser-xref-callers}
118 @tab Show callers of procedure at point
119 @item C-c >
120 @tab @code{geiser-xref-callees}
121 @tab Show callees of procedure at point
122 @item @tab @tab
123 @item M-TAB
124 @tab @code{completion-at-point}
125 @tab Complete identifier at point
126 @item M-`, C-.
127 @tab @code{geiser-completion--complete-module}
128 @tab Complete module name at point
129 @end multitable
131 @node REPL, Documentation browser, Scheme buffers, Cheat sheet
132 @section REPL
134 @multitable @columnfractions .20 .4 .4
135 @headitem Key @tab Command @tab Description
136 @item C-c C-z
137 @tab @code{switch-to-geiser}
138 @tab Start Scheme REPL, or jump to previous buffer
139 @item C-c M-o
140 @tab @code{geiser-repl-clear-buffer}
141 @tab Clear REPL buffer
142 @item C-c C-k
143 @tab @code{geiser-repl-interrupt}
144 @tab Interrupt REPL evaluation (signalling inferior scheme)
145 @item C-c C-q
146 @tab @code{geiser-repl-exit}
147 @tab Kill Scheme process
148 @item M-.
149 @tab @code{geiser-edit-symbol-at-point}
150 @tab Edit identifier at point
151 @item C-c C-l
152 @tab @code{geiser-load-file}
153 @tab Load scheme file
154 @item TAB
155 @tab @code{geiser-repl-tab-dwim}
156 @tab Complete, indent, or go to next error
157 @item S-TAB (backtab)
158 @tab @code{geiser-repl--previous-error}
159 @tab Go to previous error in the REPL buffer
160 @item M-TAB
161 @tab @code{completion-at-point}
162 @tab Complete indentifier at point
163 @item M-`, C-.
164 @tab @code{geiser-completion--complete-module}
165 @tab Complete module name at point
166 @item C-c C-r
167 @tab @code{geiser-add-to-load-path}
168 @tab Ask for a directory and add to Scheme load path
169 @item M-p, M-n
170 @tab (comint commands)
171 @tab Prompt history, matching current prefix
172 @item C-c M-p, C-c M-n
173 @tab (comint commands)
174 @tab Previous/next prompt inputs
175 @item C-c C-m
176 @tab @code{switch-to-geiser-module}
177 @tab Set current module
178 @item C-c C-i
179 @tab @code{geiser-repl-import-module}
180 @tab Import module into current namespace
181 @item C-c C-d C-d
182 @tab @code{geiser-doc-symbol-at-point}
183 @tab See documentation for symbol at point
184 @item C-c C-d C-i
185 @tab @code{geiser-doc-look-up-manual}
186 @tab Look up manual for symbol at point
187 @item C-c C-d C-m
188 @tab @code{geiser-repl--doc-module}
189 @tab See documentation for module
190 @item C-c C-d C-a
191 @tab @code{geiser-autodoc-mode}
192 @tab Toggle autodoc mode
193 @end multitable
195 @node Documentation browser,  , REPL, Cheat sheet
196 @section Documentation browser
198 @multitable @columnfractions .20 .4 .4
199 @headitem Key @tab Command @tab Description
200 @item TAB, n
201 @tab @code{forward-button}
202 @tab Next link
203 @item S-TAB, p
204 @tab @code{backward-button}
205 @tab Previous link
206 @item N
207 @tab @code{geiser-doc-next-section}
208 @tab Next section
209 @item P
210 @tab @code{geiser-doc-previous-section}
211 @tab Previous section
212 @item f
213 @tab @code{geiser-doc-next}
214 @tab Next page
215 @item b
216 @tab @code{geiser-doc-previous}
217 @tab Previous page
218 @item k
219 @tab @code{geiser-doc-kill-page}
220 @tab Kill current page and go to previous or next
221 @item g, r
222 @tab @code{geiser-doc-refresh}
223 @tab Refresh page
224 @item c
225 @tab @code{geiser-doc-clean-history}
226 @tab Clear browsing history
227 @item ., M-.
228 @tab @code{geiser-doc-edit-symbol-at-point}
229 @tab Edit identifier at point
230 @item z
231 @tab @code{geiser-doc-switch-to-repl}
232 @tab Switch to REPL
233 @item q
234 @tab @code{View-quit}
235 @tab Bury buffer
236 @end multitable
238 @ifhtml
239 @html
240 <hr>
241 @end html
242 @end ifhtml