Variable: erc-keep-place-indicator-truncation

erc-keep-place-indicator-truncation is a customizable variable defined in erc-goodies.el.gz.

Value

nil

Documentation

What to do when truncation occurs and the buffer is trimmed.

If nil, a truncation event moves the indicator, effectively resetting it to point-min. If this option's value is t, the indicator stays put and limits the operation, but only when it resides on an actual message. That is, if it remains at its initial position at or near point-min, truncation will still occur. As of ERC 5.6.1, this option only influences the behavior of the truncate module, rather than truncation resulting from a /CLEAR.

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

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-goodies.el.gz
(defcustom erc-keep-place-indicator-truncation nil
  "What to do when truncation occurs and the buffer is trimmed.
If nil, a truncation event moves the indicator, effectively resetting it
to `point-min'.  If this option's value is t, the indicator stays put
and limits the operation, but only when it resides on an actual message.
That is, if it remains at its initial position at or near `point-min',
truncation will still occur.  As of ERC 5.6.1, this option only
influences the behavior of the `truncate' module, rather than truncation
resulting from a /CLEAR."
  :group 'erc
  :package-version '(ERC . "5.6.1")
  :type 'boolean)