Variable: erc-scrolltobottom-all

erc-scrolltobottom-all is a customizable variable defined in erc-goodies.el.gz.

Value

nil

Documentation

Whether to scroll all windows or just the selected one.

ERC expects this option to be configured before module initialization. A value of nil preserves pre-5.6 behavior, in which scrolling only affects the selected window. A value of t means ERC attempts to recenter all visible windows whose point resides in the input area.

A value of relaxed tells ERC to forgo forcing prompt to the bottom of the window. When point is at the prompt, ERC scrolls the window up when inserting messages, making the prompt appear stationary. Users who find this effect too "stagnant" can adjust the option erc-input-line-position, borrowed here to express a scroll step offset. Setting that value to zero lets the prompt drift toward the bottom by one line per message, which is generally slow enough not to distract while composing input. Of course, this doesn't apply when receiving a large influx of messages, such as after typing "/msg NickServ help".

Note that users should consider this option's non-nil behavior to be experimental. It currently only works with Emacs 28+.

This variable was added, or its default value changed, in ERC version
5.6.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-goodies.el.gz
(defcustom erc-scrolltobottom-all nil
  "Whether to scroll all windows or just the selected one.
ERC expects this option to be configured before module
initialization.  A value of nil preserves pre-5.6 behavior, in
which scrolling only affects the selected window.  A value of t
means ERC attempts to recenter all visible windows whose point
resides in the input area.

A value of `relaxed' tells ERC to forgo forcing prompt to the
bottom of the window.  When point is at the prompt, ERC scrolls
the window up when inserting messages, making the prompt appear
stationary.  Users who find this effect too \"stagnant\" can
adjust the option `erc-input-line-position', borrowed here to
express a scroll step offset.  Setting that value to zero lets
the prompt drift toward the bottom by one line per message, which
is generally slow enough not to distract while composing input.
Of course, this doesn't apply when receiving a large influx of
messages, such as after typing \"/msg NickServ help\".

Note that users should consider this option's non-nil behavior to
be experimental.  It currently only works with Emacs 28+."
  :group 'erc-display
  :package-version '(ERC . "5.6")
  :type '(choice boolean (const relaxed)))