Variable: erc-timestamp-use-align-to
erc-timestamp-use-align-to is a customizable variable defined in
erc-stamp.el.gz.
Value
nil
Documentation
If non-nil, use the :align-to display property to align the stamp.
This gives better results when variable-width characters (like Asian language characters and math symbols) precede a timestamp.
This option only matters when erc-insert-timestamp-function is
set to erc-insert-timestamp-right or that option's default,
erc-insert-timestamp-left-and-right. If the value is a
positive integer, alignment occurs that many columns from the
right edge.
Enabling this option produces a side effect in that stamps aren't indented in saved logs. When its value is an integer, this option adds a space after the end of a message if the stamp doesn't already start with one. And when its value is t, it adds a single space, unconditionally.
This variable was added, or its default value changed, in ERC version
5.6.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-stamp.el.gz
(defcustom erc-timestamp-use-align-to (and (display-graphic-p) t)
"If non-nil, use the :align-to display property to align the stamp.
This gives better results when variable-width characters (like
Asian language characters and math symbols) precede a timestamp.
This option only matters when `erc-insert-timestamp-function' is
set to `erc-insert-timestamp-right' or that option's default,
`erc-insert-timestamp-left-and-right'. If the value is a
positive integer, alignment occurs that many columns from the
right edge.
Enabling this option produces a side effect in that stamps aren't
indented in saved logs. When its value is an integer, this
option adds a space after the end of a message if the stamp
doesn't already start with one. And when its value is t, it adds
a single space, unconditionally."
:type '(choice boolean integer)
:package-version '(ERC . "5.6"))