File: cider-repl.el.html

This functionality concerns cider-repl-mode and REPL interaction. For REPL/connection life-cycle management see cider-connection.el.

Defined variables (43)

cider--repl-done-functionsFunctions to be invoked each time a given REPL interaction is complete.
cider--repl-stderr-functionsFunctions to be invoked each time new stderr is received on a repl buffer.
cider--repl-stdout-functionsFunctions to be invoked each time new stdout is received on a repl buffer.
cider-locref-hoover-overlayOverlay used during hoovering on location references in REPL buffers.
cider-locref-regexp-alistAlist holding regular expressions for inline location references.
cider-repl--ns-forms-plistPlist holding ns->ns-form mappings within each connection.
cider-repl--ns-rootsList holding all past root namespaces seen during interactive eval.
cider-repl--root-ns-highlight-templateRegexp used to highlight root ns in REPL buffers.
cider-repl--root-ns-regexpCache of root ns regexp in REPLs.
cider-repl-auto-detect-typeControl whether to auto-detect the REPL type using track-state information.
cider-repl-buffer-size-limitThe max size of the REPL buffer.
cider-repl-content-type-handler-alistAssociation list from content-types to handlers.
cider-repl-display-help-bannerWhen non-nil a bit of help text will be displayed on REPL start.
cider-repl-display-in-current-windowControls whether the REPL buffer is displayed in the current window.
cider-repl-display-output-before-window-boundariesControls whether to display output emitted before the REPL window boundaries.
cider-repl-history-fileFile to save the persistent REPL history to.
cider-repl-history-patternThe regexp most recently used for finding input history.
cider-repl-history-sizeThe maximum number of items to keep in the REPL history.
cider-repl-image-marginSpecifies the margin to be applied to images displayed in the REPL.
cider-repl-init-codeClojure code to evaluate when starting a REPL.
cider-repl-input-historyHistory list of strings read from the REPL buffer.
cider-repl-input-history-positionNewer items have smaller indices.
cider-repl-mode-abbrev-tableAbbrev table for ‘cider-repl-mode’.
cider-repl-mode-hookHook executed when entering ‘cider-repl-mode’.
cider-repl-mode-mapKeymap for ‘cider-repl-mode’.
cider-repl-mode-menuMenu for CIDER’s REPL mode
cider-repl-mode-syntax-tableSyntax table for ‘cider-repl-mode’.
cider-repl-ns-cacheA dict holding information about all currently loaded namespaces.
cider-repl-old-input-counterCounter used to generate unique ‘cider-old-input’ properties.
cider-repl-output-endMarker for the end of output.
cider-repl-output-startMarker for the start of output.
cider-repl-pop-to-buffer-on-connectControls whether to pop to the REPL buffer on connect.
cider-repl-preoutput-hookHook run on output string before it is inserted into the REPL buffer.
cider-repl-prompt-functionA function that returns a prompt string.
cider-repl-require-ns-on-setControls whether to require the ns before setting it in the REPL.
cider-repl-result-prefixThe prefix displayed in the REPL before a result value.
cider-repl-shortcut-dispatch-charCharacter used to distinguish REPL commands from Lisp forms.
cider-repl-spec-keywords-regexpRegexp matching clojure.spec ‘explain‘ keywords.
cider-repl-tab-commandSelect the command to be invoked by the TAB key.
cider-repl-use-clojure-font-lockNon-nil means to use Clojure mode font-locking for input and result.
cider-repl-use-content-typesControl whether REPL results are presented using content-type information.
cider-repl-use-pretty-printingControl whether results in the REPL are pretty-printed or not.
cider-repl-wrap-historyT to wrap history around when the end is reached.

Defined functions (118)

cider--locref-at-point-1(REG-LIST)
cider--maybe-get-state-cljs()
cider--maybe-get-state-for-figwheel-main(BUFFER OUT)
cider--maybe-get-state-for-shadow-cljs(BUFFER &optional ERR)
cider--repl-request-plist()
cider--sesman-friendly-session-p(SESSION &optional DEBUG)
cider--shadow-cljs-handle-done(BUFFER)
cider--shadow-cljs-handle-stderr(BUFFER ERR)
cider-debug-sesman-friendly-session-p()
cider-end-of-proprange-p(PROPERTY)
cider-history-search-in-progress-p()
cider-jump-to-locref-at-point(&optional POS)
cider-locref-at-point(&optional POS)
cider-locref-help-echo(WIN BUFFER POS)
cider-repl--add-to-input-history(STRING)
cider-repl--ansi-color-apply(STRING)
cider-repl--at-prompt-start-p()
cider-repl--available-shortcuts()
cider-repl--babashka-banner()
cider-repl--banner()
cider-repl--basic-banner()
cider-repl--cache-ns-form(NS-FORM CONNECTION)
cider-repl--clear-region(START END)
cider-repl--clojure-banner()
cider-repl--current-input(&optional UNTIL-POINT-P)
cider-repl--display-image(BUFFER IMAGE &optional SHOW-PREFIX BOL)
cider-repl--emit-interactive-output(STRING FACE)
cider-repl--emit-output(BUFFER STRING FACE)
cider-repl--find-dir-for-history()
cider-repl--find-prompt(&optional BACKWARD)
cider-repl--grab-old-input(REPLACE)
cider-repl--help-banner()
cider-repl--history-read(FILENAME)
cider-repl--history-read-filename()
cider-repl--history-replace(DIRECTION &optional REGEXP)
cider-repl--history-write(FILENAME)
cider-repl--image(DATA TYPE DATAP)
cider-repl--in-input-area-p()
cider-repl--input-complete-p(START END)
cider-repl--insert-banner()
cider-repl--insert-prompt(NAMESPACE)
cider-repl--insert-startup-commands()
cider-repl--mark-input-start()
cider-repl--mark-output-start()
cider-repl--ns-form-changed-p(NS-FORM CONNECTION)
cider-repl--position-in-history(START-POS DIRECTION REGEXP)
cider-repl--replace-input(STRING)
cider-repl--send-input(&optional NEWLINE)
cider-repl--state-handler(RESPONSE)
cider-repl-add-locref-help-echo(STRING)
cider-repl-add-shortcut(NAME HANDLER)
cider-repl-backward-input()
cider-repl-beginning-of-defun()
cider-repl-bol-mark()
cider-repl-clear-banners()
cider-repl-clear-buffer()
cider-repl-clear-help-banner()
cider-repl-clear-output(&optional CLEAR-REPL)
cider-repl-closing-return()
cider-repl-delete-current-input()
cider-repl-emit-interactive-stderr(STRING)
cider-repl-emit-interactive-stdout(STRING)
cider-repl-emit-prompt(BUFFER)
cider-repl-emit-result(BUFFER STRING SHOW-PREFIX &optional BOL)
cider-repl-emit-stderr(BUFFER STRING)
cider-repl-emit-stdout(BUFFER STRING)
cider-repl-end-of-defun()
cider-repl-eval-init-code(&optional CALLBACK)
cider-repl-forward-input()
cider-repl-handle-external-body(TYPE BUFFER _ &optional SHOW-PREFIX BOL)
cider-repl-handle-jpeg(TYPE BUFFER IMAGE &optional SHOW-PREFIX BOL)
cider-repl-handle-shortcut()
cider-repl-handler(BUFFER)
cider-repl-highlight-current-project(STRING)
cider-repl-highlight-spec-keywords(STRING)
cider-repl-history-just-save()
cider-repl-history-load(&optional FILENAME)
cider-repl-history-pattern(&optional USE-CURRENT-INPUT)
cider-repl-history-save(&optional FILENAME)
cider-repl-history-save-all()
cider-repl-indent-and-complete-symbol()
cider-repl-init(BUFFER &optional CALLBACK)
cider-repl-init-eval-handler(&optional CALLBACK)
cider-repl-kill-input()
cider-repl-maybe-trim-buffer(BUFFER)
cider-repl-mode()
cider-repl-mode-beginning-of-defun(&optional ARG)
cider-repl-mode-end-of-defun(&optional ARG)
cider-repl-mode-menu(ARG1)
cider-repl-newline-and-indent()
cider-repl-next-input()
cider-repl-next-matching-input(REGEXP)
cider-repl-next-prompt()
cider-repl-previous-input()
cider-repl-previous-matching-input(REGEXP)
cider-repl-previous-prompt()
cider-repl-prompt-abbreviated(NAMESPACE)
cider-repl-prompt-default(NAMESPACE)
cider-repl-prompt-lastname(NAMESPACE)
cider-repl-require-repl-utils()
cider-repl-reset-markers()
cider-repl-return(&optional END-OF-INPUT)
cider-repl-set-ns(NS)
cider-repl-setup-paredit()
cider-repl-shortcuts-help()
cider-repl-switch-ns-handler(BUFFER)
cider-repl-switch-to-other()
cider-repl-tab()
cider-repl-toggle-clojure-font-lock()
cider-repl-toggle-content-types()
cider-repl-toggle-pretty-printing()
cider-repl-trim-buffer()
cider-repl-trim-top-of-buffer(BUFFER)
cider-repl-wrap-fontify-function(FUNC)
cider-save-marker(MARKER &rest BODY)
cider-search-property-change(PROP &optional BACKWARD)
cider-start-of-next-prompt(POINT)
cider-terminate-history-search()

Defined faces (5)

cider-repl-input-faceFace for previous input in the REPL buffer.
cider-repl-prompt-faceFace for the prompt in the REPL buffer.
cider-repl-result-faceFace for the result of an evaluation in the REPL buffer.
cider-repl-stderr-faceFace for STDERR output in the REPL buffer.
cider-repl-stdout-faceFace for STDOUT output in the REPL buffer.