Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

202 rivejä
5.6 KiB

4 vuotta sitten
  1. (defpackage swank/backend
  2. (:use cl)
  3. (:nicknames swank-backend)
  4. (:export *debug-swank-backend*
  5. *log-output*
  6. sldb-condition
  7. compiler-condition
  8. original-condition
  9. message
  10. source-context
  11. condition
  12. severity
  13. with-compilation-hooks
  14. make-location
  15. location
  16. location-p
  17. location-buffer
  18. location-position
  19. location-hints
  20. position-p
  21. position-pos
  22. print-output-to-string
  23. quit-lisp
  24. references
  25. unbound-slot-filler
  26. declaration-arglist
  27. type-specifier-arglist
  28. with-struct
  29. when-let
  30. defimplementation
  31. converting-errors-to-error-location
  32. make-error-location
  33. deinit-log-output
  34. ;; interrupt macro for the backend
  35. *pending-slime-interrupts*
  36. check-slime-interrupts
  37. *interrupt-queued-handler*
  38. ;; inspector related symbols
  39. emacs-inspect
  40. label-value-line
  41. label-value-line*
  42. boolean-to-feature-expression
  43. with-symbol
  44. choose-symbol
  45. ;; package helper for backend
  46. import-to-swank-mop
  47. import-swank-mop-symbols
  48. ;;
  49. default-directory
  50. set-default-directory
  51. frame-source-location
  52. restart-frame
  53. gdb-initial-commands
  54. sldb-break-on-return
  55. buffer-first-change
  56. profiled-functions
  57. unprofile-all
  58. profile-report
  59. profile-reset
  60. profile-package
  61. with-collected-macro-forms
  62. auto-flush-loop
  63. *auto-flush-interval*))
  64. (defpackage swank/rpc
  65. (:use :cl)
  66. (:export
  67. read-message
  68. read-packet
  69. swank-reader-error
  70. swank-reader-error.packet
  71. swank-reader-error.cause
  72. write-message))
  73. (defpackage swank/match
  74. (:use cl)
  75. (:export match))
  76. ;; FIXME: rename to sawnk/mop
  77. (defpackage swank-mop
  78. (:use)
  79. (:export
  80. ;; classes
  81. standard-generic-function
  82. standard-slot-definition
  83. standard-method
  84. standard-class
  85. eql-specializer
  86. eql-specializer-object
  87. ;; standard-class readers
  88. class-default-initargs
  89. class-direct-default-initargs
  90. class-direct-slots
  91. class-direct-subclasses
  92. class-direct-superclasses
  93. class-finalized-p
  94. class-name
  95. class-precedence-list
  96. class-prototype
  97. class-slots
  98. specializer-direct-methods
  99. ;; generic function readers
  100. generic-function-argument-precedence-order
  101. generic-function-declarations
  102. generic-function-lambda-list
  103. generic-function-methods
  104. generic-function-method-class
  105. generic-function-method-combination
  106. generic-function-name
  107. ;; method readers
  108. method-generic-function
  109. method-function
  110. method-lambda-list
  111. method-specializers
  112. method-qualifiers
  113. ;; slot readers
  114. slot-definition-allocation
  115. slot-definition-documentation
  116. slot-definition-initargs
  117. slot-definition-initform
  118. slot-definition-initfunction
  119. slot-definition-name
  120. slot-definition-type
  121. slot-definition-readers
  122. slot-definition-writers
  123. slot-boundp-using-class
  124. slot-value-using-class
  125. slot-makunbound-using-class
  126. ;; generic function protocol
  127. compute-applicable-methods-using-classes
  128. finalize-inheritance))
  129. (defpackage swank
  130. (:use cl swank/backend swank/match swank/rpc)
  131. (:export #:startup-multiprocessing
  132. #:start-server
  133. #:create-server
  134. #:stop-server
  135. #:restart-server
  136. #:ed-in-emacs
  137. #:inspect-in-emacs
  138. #:print-indentation-lossage
  139. #:invoke-slime-debugger
  140. #:swank-debugger-hook
  141. #:emacs-inspect
  142. ;;#:inspect-slot-for-emacs
  143. ;; These are user-configurable variables:
  144. #:*communication-style*
  145. #:*dont-close*
  146. #:*fasl-pathname-function*
  147. #:*log-events*
  148. #:*use-dedicated-output-stream*
  149. #:*dedicated-output-stream-port*
  150. #:*configure-emacs-indentation*
  151. #:*readtable-alist*
  152. #:*globally-redirect-io*
  153. #:*global-debugger*
  154. #:*sldb-quit-restart*
  155. #:*backtrace-printer-bindings*
  156. #:*default-worker-thread-bindings*
  157. #:*macroexpand-printer-bindings*
  158. #:*swank-pprint-bindings*
  159. #:*record-repl-results*
  160. #:*inspector-verbose*
  161. ;; This is SETFable.
  162. #:debug-on-swank-error
  163. ;; These are re-exported directly from the backend:
  164. #:buffer-first-change
  165. #:frame-source-location
  166. #:gdb-initial-commands
  167. #:restart-frame
  168. #:sldb-step
  169. #:sldb-break
  170. #:sldb-break-on-return
  171. #:profiled-functions
  172. #:profile-report
  173. #:profile-reset
  174. #:unprofile-all
  175. #:profile-package
  176. #:default-directory
  177. #:set-default-directory
  178. #:quit-lisp
  179. #:eval-for-emacs
  180. #:eval-in-emacs
  181. #:ed-rpc
  182. #:ed-rpc-no-wait
  183. #:y-or-n-p-in-emacs
  184. #:*find-definitions-right-trim*
  185. #:*find-definitions-left-trim*
  186. #:*after-toggle-trace-hook*
  187. #:unreadable-result
  188. #:unreadable-result-p
  189. #:unreadable-result-string
  190. #:parse-string
  191. #:from-string
  192. #:to-string
  193. #:*swank-debugger-condition*
  194. #:run-hook-with-args-until-success
  195. #:make-output-function-for-target
  196. #:make-output-stream-for-target))