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.

25 rivejä
1.1 KiB

4 vuotta sitten
  1. ;;; swank-media.lisp --- insert other media (images)
  2. ;;
  3. ;; Authors: Christophe Rhodes <csr21@cantab.net>
  4. ;;
  5. ;; Licence: GPLv2 or later
  6. ;;
  7. (in-package :swank)
  8. ;; this file is empty of functionality. The slime-media contrib
  9. ;; allows swank to return messages other than :write-string as repl
  10. ;; results; this is used in the R implementation of swank to display R
  11. ;; objects with graphical representations (such as trellis objects) as
  12. ;; image presentations in the swank repl. In R, this is done by
  13. ;; having a hook function for the preparation of the repl results, in
  14. ;; addition to the already-existing hook for sending the repl results
  15. ;; (*send-repl-results-function*, used by swank-presentations.lisp).
  16. ;; The swank-media.R contrib implementation defines a generic function
  17. ;; for use as this hook, along with methods for commonly-encountered
  18. ;; graphical R objects. (This strategy is harder in CL, where methods
  19. ;; can only be defined if their specializers already exist; in R's S3
  20. ;; object system, methods are ordinary functions with a special naming
  21. ;; convention)
  22. (provide :swank-media)