1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
|
;;; geiser.el --- GNU Emacs and Scheme talk to each other
;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2015, 2018 Jose Antonio Ortega Ruiz
;; URL: http://www.nongnu.org/geiser/
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
;; have received a copy of the license along with this program. If
;; not, see <http://www.xfree86.org/3.3.6/COPYRIGHT2.html#5>.
;; Autoloads and basic setup for geiser.
;;; Locations:
;;;###autoload
(defconst geiser-elisp-dir (file-name-directory load-file-name)
"Directory containing Geiser's Elisp files.")
;;;###autoload
(defconst geiser-scheme-dir
(let ((d (expand-file-name "./scheme/" geiser-elisp-dir)))
(if (file-directory-p d)
d
(expand-file-name "../scheme/" geiser-elisp-dir)))
"Directory containing Geiser's Scheme files.")
;;;###autoload
(add-to-list 'load-path (directory-file-name geiser-elisp-dir))
;;; Autoloads:
;;;###autoload
(autoload 'geiser-version "geiser-version" "Echo Geiser's version." t)
;;;###autoload
(autoload 'geiser-unload "geiser-reload" "Unload all Geiser code." t)
;;;###autoload
(autoload 'geiser-reload "geiser-reload" "Reload Geiser code." t)
;;;###autoload
(autoload 'geiser "geiser-repl"
"Start a Geiser REPL, or switch to a running one." t)
;;;###autoload
(autoload 'run-geiser "geiser-repl" "Start a Geiser REPL." t)
;;;###autoload
(autoload 'geiser-connect "geiser-repl"
"Start a Geiser REPL connected to a remote server." t)
;;;###autoload
(autoload 'geiser-connect-local "geiser-repl"
"Start a Geiser REPL connected to a remote server over a Unix-domain socket."
t)
;;;###autoload
(autoload 'switch-to-geiser "geiser-repl"
"Switch to a running one Geiser REPL." t)
;;;###autoload
(autoload 'run-chez "geiser-chez" "Start a Geiser Chez REPL." t)
;;;###autoload
(autoload 'switch-to-chez "geiser-chez"
"Start a Geiser Chez REPL, or switch to a running one." t)
;;;###autoload
(autoload 'run-guile "geiser-guile" "Start a Geiser Guile REPL." t)
;;;###autoload
(autoload 'switch-to-guile "geiser-guile"
"Start a Geiser Guile REPL, or switch to a running one." t)
;;;###autoload
(autoload 'connect-to-guile "geiser-guile"
"Connect to a remote Geiser Guile REPL." t)
;;;###autoload
(autoload 'run-gambit "geiser-gambit" "Start a Geiser Gambit REPL." t)
;;;###autoload
(autoload 'switch-to-gambit "geiser-gambit"
"Start a Geiser Gambit REPL, or switch to a running one." t)
;;;###autoload
(autoload 'connect-to-gambit "geiser-gambit"
"Connect to a remote Geiser Gambit REPL." t)
;;;###autoload
(autoload 'run-racket "geiser-racket" "Start a Geiser Racket REPL." t)
;;;###autoload
(autoload 'run-gracket "geiser-racket" "Start a Geiser GRacket REPL." t)
;;;###autoload
(autoload 'switch-to-racket "geiser-racket"
"Start a Geiser Racket REPL, or switch to a running one." t)
;;;###autoload
(autoload 'connect-to-racket "geiser-racket"
"Connect to a remote Geiser Racket REPL." t)
;;;###autoload
(autoload 'run-chicken "geiser-chicken" "Start a Geiser Chicken REPL." t)
;;;###autoload
(autoload 'switch-to-chicken "geiser-chicken"
"Start a Geiser Chicken REPL, or switch to a running one." t)
;;;###autoload
(autoload 'connect-to-chicken "geiser-chicken"
"Connect to a remote Geiser Chicken REPL." t)
;;;###autoload
(autoload 'run-mit "geiser-mit" "Start a Geiser MIT/GNU Scheme REPL." t)
;;;###autoload
(autoload 'switch-to-mit "geiser-mit"
"Start a Geiser MIT/GNU Scheme REPL, or switch to a running one." t)
;;;###autoload
(autoload 'run-chibi "geiser-chibi" "Start a Geiser Chibi Scheme REPL." t)
;;;###autoload
(autoload 'switch-to-chibi "geiser-chibi"
"Start a Geiser Chibi Scheme REPL, or switch to a running one." t)
;;;###autoload
(autoload 'geiser-mode "geiser-mode"
"Minor mode adding Geiser REPL interaction to Scheme buffers." t)
;;;###autoload
(autoload 'turn-on-geiser-mode "geiser-mode"
"Enable Geiser's mode (useful in Scheme buffers)." t)
;;;###autoload
(autoload 'turn-off-geiser-mode "geiser-mode"
"Disable Geiser's mode (useful in Scheme buffers)." t)
;;;###autoload
(autoload 'geiser-mode--maybe-activate "geiser-mode")
;;;###autoload
(mapc (lambda (group)
(custom-add-load group (symbol-name group))
(custom-add-load 'geiser (symbol-name group)))
'(geiser
geiser-repl
geiser-autodoc
geiser-doc
geiser-debug
geiser-faces
geiser-mode
geiser-guile
geiser-gambit
geiser-image
geiser-racket
geiser-chicken
geiser-chez
geiser-chibi
geiser-mit
geiser-implementation
geiser-xref))
;;; Setup:
;;;###autoload
(add-hook 'scheme-mode-hook 'geiser-mode--maybe-activate)
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.rkt\\'" . scheme-mode))
(provide 'geiser)
;;; geiser.el ends here
|