Variable: eshell-smart-space-goes-to-end

eshell-smart-space-goes-to-end is a customizable variable defined in em-smart.el.gz.

Value

t

Documentation

If non-nil, space will go to end of buffer when point-max is visible.

That is, if a command is running and the user presses SPACE at a time when the end of the buffer is visible, point will go to the end of the buffer and smart-display will be turned off (that is, subsequently pressing backspace will not cause the buffer to scroll down).

This feature is provided to make it very easy to watch the output of a long-running command, such as make, where it's more desirable to see the output go by than to review it afterward.

Setting this variable to nil means that space and backspace will always have a consistent behavior, which is to move back and forth through displayed output. But it also means that enabling output tracking requires the user to manually move point to the end of the buffer using M-> (end-of-buffer).

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-smart.el.gz
(defcustom eshell-smart-space-goes-to-end t
  "If non-nil, space will go to end of buffer when `point-max' is visible.
That is, if a command is running and the user presses SPACE at a time
when the end of the buffer is visible, point will go to the end of the
buffer and smart-display will be turned off (that is, subsequently
pressing backspace will not cause the buffer to scroll down).

This feature is provided to make it very easy to watch the output of a
long-running command, such as make, where it's more desirable to see
the output go by than to review it afterward.

Setting this variable to nil means that space and backspace will
always have a consistent behavior, which is to move back and forth
through displayed output.  But it also means that enabling output
tracking requires the user to manually move point to the end of the
buffer using \\[end-of-buffer]."
  :type 'boolean
  :group 'eshell-smart)