Better connection logs
[geiser.git] / doc / cheat.texi
blobadcc4d8416195b7281c1ced273b7cc647a208203
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 @tab @tab
35 @item C-M-x
36 @tab geiser-eval-definition
37 @tab Eval definition around point
38 @item C-c M-e
39 @tab geiser-eval-definition-and-go
40 @tab Eval definition around point and switch to REPL
41 @item C-x C-e
42 @tab geiser-eval-last-sexp
43 @tab Eval sexp before point
44 @item C-c C-r
45 @tab geiser-eval-region
46 @tab Eval region
47 @item C-c M-r
48 @tab geiser-eval-region-and-go
49 @tab Eval region and switch to REPL
50 @item @tab @tab
51 @item C-c C-m C-x
52 @tab geiser-expand-definition
53 @tab Macro-expand definition around point
54 @item C-c C-m C-e
55 @tab geiser-expand-last-sexp
56 @tab Macro-expand sexp before point
57 @item C-c C-m C-r
58 @tab geiser-expand-region
59 @tab Macro-expand region
60 @item @tab @tab
61 @item C-c C-k
62 @tab geiser-compile-current-buffer
63 @tab Compile and load current file
64 @item M-g n, C-x `
65 @tab next-error
66 @tab Jump to the location of next error
67 @item M-g p
68 @tab previous-error
69 @tab Jump to the location of previous error
70 @item @tab @tab
71 @item C-c C-d C-d
72 @tab geiser-doc-symbol-at-point
73 @tab See documentation for identifier at point
74 @item C-c C-d C-m
75 @tab geiser-doc-module
76 @tab See a list of a module's exported identifiers
77 @item C-c C-d C-a
78 @tab geiser-autodoc-mode
79 @tab Toggle autodoc mode
80 @item @tab @tab
81 @item C-c<
82 @tab geiser-xref-callers
83 @tab Show callers of procedure at point
84 @item C-c>
85 @tab geiser-xref-callees
86 @tab Show callees of procedure at point
87 @item @tab @tab
88 @item M-TAB
89 @tab geiser-completion--complete-symbol
90 @tab Complete identifier at point
91 @item M-`, C-.
92 @tab geiser-completion--complete-module
93 @tab Complete module name at point
94 @end multitable
96 @node REPL, Documentation browser, Scheme buffers, Cheat sheet
97 @section REPL
99 @multitable @columnfractions .20 .4 .4
100 @headitem Key @tab Command @tab Description
101 @item C-c C-z
102 @tab switch-to-geiser
103 @tab Start Scheme REPL, or jump to previous buffer
104 @item C-c C-q
105 @tab geiser-repl-exit
106 @tab Kill Scheme process
107 @item C-c C-k
108 @tab geiser-repl-nuke
109 @tab Soft restart for unresponsive REPL
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