Variable: comint-move-point-for-output

comint-move-point-for-output is a customizable variable defined in comint.el.gz.

Value

nil

Documentation

Controls whether interpreter output moves point to the end of the output.

If nil, then output never moves point to the output.
 (If the output occurs at point, it is inserted before point.)
If t or all, move point in all windows showing the buffer. If this, move point only the selected window. If others, move point only in other windows, not in the selected window.

The default is nil.

See the variable comint-scroll-show-maximum-output and the function comint-postoutput-scroll-to-bottom. This variable is buffer-local in all Comint buffers.

View in manual

Aliases

comint-scroll-to-bottom-on-output

Source Code

;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defcustom comint-move-point-for-output nil
  "Controls whether interpreter output moves point to the end of the output.
If nil, then output never moves point to the output.
 (If the output occurs at point, it is inserted before point.)
If t or `all', move point in all windows showing the buffer.
If `this', move point only the selected window.
If `others', move point only in other windows, not in the selected window.

The default is nil.

See the variable `comint-scroll-show-maximum-output' and the function
`comint-postoutput-scroll-to-bottom'.
This variable is buffer-local in all Comint buffers."
  :type '(choice (const :tag "off" nil)
		 (const t)
		 (const all)
		 (const this)
		 (const others))
  :group 'comint)