File: cider-eval.el.html

This file contains CIDER's interactive evaluation (compilation) functionality.

Although Clojure doesn't really have the concept of evaluation (only compilation), we're using everywhere in the code the term evaluation for brevity (and to be in line with the naming employed by other similar modes).

This files also contains all the logic related to displaying errors and evaluation warnings.

Pretty much all of the commands here are meant to be used mostly from cider-mode(var)/cider-mode(fun), but some of them might make sense in other contexts as well.

Defined variables (17)

cider--eval-pending-overlaysList of pending-evaluation spinner overlays in the current buffer.
cider--image-content-typesMapping from image MIME types to Emacs image types.
cider-auto-inspect-after-evalControls whether to auto-update the inspector buffer after eval.
cider-auto-track-ns-form-changesControls whether to auto-evaluate a source buffer’s ns form when changed.
cider-comment-continued-prefixThe prefix to use on the second and subsequent lines of commented output.
cider-comment-postfixThe postfix to be appended after the final line of commented output.
cider-comment-prefixThe prefix to insert before the first line of commented output.
cider-comment-styleThe style used by the eval-to-comment commands when inserting a result.
cider-eval-output-destinationThe destination for stdout and stderr produced from interactive evaluation.
cider-eval-registerThe text register assigned to the most recent evaluation result.
cider-eval-rich-content-destinationWhere rich (content-typed) interactive evaluation results are rendered.
cider-file-loaded-hookList of functions to call when a load file has completed.
cider-interactive-eval-output-destinationThe destination for stdout and stderr produced from interactive evaluation.
cider-interactive-eval-overrideFunction to call instead of ‘cider-interactive-eval’.
cider-previous-eval-contextThe previous evaluation context if any.
cider-save-file-on-loadControls whether to prompt to save the file when loading a buffer.
cider-to-nrepl-filename-functionFunction to translate Emacs filenames to nREPL namestrings.

Defined functions (104)

cider--auto-inspect-after-eval-p(CONTEXT)
cider--comment-format()
cider--display-rich-content(BODY CONTENT-TYPE POINT)
cider--emit-interactive-eval-output(OUTPUT REPL-EMIT-FUNCTION)
cider--emit-orphaned-output(RESPONSE)
cider--eval-form-to-repl(SWITCH-TO-REPL REQUEST-MAP)
cider--eval-in-context(BOUNDS &optional GUESS)
cider--eval-pending-overlay-p(CALLBACK END)
cider--eval-pending-overlay-remove()
cider--eval-pending-overlay-start(END)
cider--eval-pending-spinner-frames()
cider--external-body-url(CONTENT-TYPE)
cider--file-string(FILE)
cider--guess-eval-context()
cider--insert-closing-delimiters(CODE)
cider--insert-in-comment(FORM)
cider--last-comment-form-bounds()
cider--make-fringe-overlays-for-region(BEG END)
cider--mark-loaded(&optional BUFFER)
cider--matching-delimiter(DELIMITER)
cider--maybe-set-eval-register(RES)
cider--popup-fetch-external-body(BUFFER URL)
cider--popup-insert-rich-content(BUFFER BODY CONTENT-TYPE)
cider--pprint-eval-form(FORM)
cider--prep-interactive-eval(FORM CONNECTION)
cider--prompt-and-insert-inline-dbg()
cider--render-rich-content-inline(BODY CONTENT-TYPE POINT)
cider--render-rich-content-popup(BODY CONTENT-TYPE)
cider--render-rich-content-repl(BODY CONTENT-TYPE)
cider--rich-content-fallback-string(BODY CONTENT-TYPE)
cider-emit-interactive-eval-err-output(OUTPUT)
cider-emit-interactive-eval-output(OUTPUT)
cider-eval-all-files(ARG1 ARG2)
cider-eval-buffer(&optional ARG1 ARG2 ARG3)
cider-eval-defun(&optional DEBUG-IT)
cider-eval-defun-at-point(&optional DEBUG-IT)
cider-eval-defun-to-comment(&optional INSERT-BEFORE)
cider-eval-defun-up-to-point(&optional OUTPUT-TO-CURRENT-BUFFER)
cider-eval-dwim(&optional DEBUG-IT)
cider-eval-file(ARG1 &optional ARG2)
cider-eval-form(&optional OUTPUT-TO-CURRENT-BUFFER)
cider-eval-form-and-replace()
cider-eval-form-in-context(GUESS)
cider-eval-form-to-repl(&optional PREFIX)
cider-eval-last-sexp(&optional OUTPUT-TO-CURRENT-BUFFER)
cider-eval-last-sexp-and-replace()
cider-eval-last-sexp-in-context(GUESS)
cider-eval-last-sexp-to-repl(&optional PREFIX)
cider-eval-list-at-point(&optional OUTPUT-TO-CURRENT-BUFFER)
cider-eval-menu()
cider-eval-ns-form(&optional UNDEF-ALL)
cider-eval-pprint-menu()
cider-eval-pprint-menu--apply-args(ARGS COMMAND)
cider-eval-pprint-menu--defun(ARG1)
cider-eval-pprint-menu--defun-to-comment(ARG1)
cider-eval-pprint-menu--form(ARG1)
cider-eval-pprint-menu--form-to-comment(ARG1)
cider-eval-pprint-menu--form-to-repl(ARG1)
cider-eval-pprint-menu--print-fn(VALUE)
cider-eval-pprint-menu--read-print-fn(PROMPT INITIAL-INPUT HISTORY)
cider-eval-pprint-with-multiline-comment-handler(BUFFER LOCATION COMMENT-PREFIX CONTINUED-PREFIX COMMENT-POSTFIX)
cider-eval-print-form(&optional PRETTY-PRINT)
cider-eval-print-handler(&optional BUFFER)
cider-eval-print-last-sexp(&optional PRETTY-PRINT)
cider-eval-print-with-comment-handler(BUFFER LOCATION COMMENT-PREFIX &optional COMMENT-POSTFIX)
cider-eval-region(START END)
cider-eval-sexp-at-point(&optional OUTPUT-TO-CURRENT-BUFFER)
cider-eval-sexp-at-point-in-context(GUESS)
cider-eval-sexp-up-to-point(&optional OUTPUT-TO-CURRENT-BUFFER)
cider-insert-eval-handler(&optional BUFFER BOUNDS SOURCE-BUFFER ON-SUCCESS-CALLBACK)
cider-interactive-eval(FORM &optional CALLBACK BOUNDS ADDITIONAL-PARAMS)
cider-interactive-eval-handler(&optional BUFFER PLACE)
cider-jump-to-comment()
cider-kill-last-result()
cider-load-all-files(DIRECTORY UNDEF-ALL)
cider-load-all-project-ns()
cider-load-buffer(&optional BUFFER CALLBACK UNDEF-ALL)
cider-load-file(FILENAME &optional UNDEF-ALL)
cider-load-file-handler(&optional BUFFER DONE-HANDLER)
cider-make-eval-handler
cider-maybe-delete-multiline-comment(COMMENT-PREFIX CONTINUED-PREFIX COMMENT-POSTFIX)
cider-maybe-insert-multiline-comment(RESULT COMMENT-PREFIX CONTINUED-PREFIX COMMENT-POSTFIX)
cider-popup-eval-handler(&optional BUFFER BOUNDS SOURCE-BUFFER)
cider-pprint-eval-defun(&optional OUTPUT-TO-CURRENT-BUFFER)
cider-pprint-eval-defun-at-point(&optional OUTPUT-TO-CURRENT-BUFFER)
cider-pprint-eval-defun-to-comment(&optional INSERT-BEFORE)
cider-pprint-eval-form(&optional OUTPUT-TO-CURRENT-BUFFER)
cider-pprint-eval-form-to-comment(&optional INSERT-BEFORE)
cider-pprint-eval-form-to-repl(&optional PREFIX)
cider-pprint-eval-last-sexp(&optional OUTPUT-TO-CURRENT-BUFFER)
cider-pprint-eval-last-sexp-to-comment(&optional INSERT-BEFORE)
cider-pprint-eval-last-sexp-to-repl(&optional PREFIX)
cider-pprint-form-to-comment(FORM-FN INSERT-BEFORE)
cider-read-and-eval(&optional VALUE)
cider-read-and-eval-defun()
cider-read-and-eval-defun-at-point()
cider-send-to-comment(&optional EVAL)
cider-tap-form(&optional OUTPUT-TO-CURRENT-BUFFER)
cider-tap-last-sexp(&optional OUTPUT-TO-CURRENT-BUFFER)
cider-tap-sexp-at-point(&optional OUTPUT-TO-CURRENT-BUFFER)
cider-toggle-form-targeting()
cider-undef()
cider-undef-all(&optional NS)
transient:cider-eval-pprint-menu:--print-fn=()

Defined faces (0)