File: erc-stamp.el.html

The code contained in this module is responsible for inserting timestamps into ERC buffers. In order to actually activate this, you must call erc-timestamp-mode.

You can choose between two different ways of inserting timestamps. Customize erc-insert-timestamp-function and erc-insert-away-timestamp-function.

Defined variables (39)

erc-away-timestamp-formatTimestamp format used when marked as being away.
erc-echo-timestamp-formatFormat string to be used when ‘erc-echo-timestamps’ is non-nil.
erc-echo-timestamp-zoneDefault timezone for the option ‘erc-echo-timestamps’.
erc-echo-timestampsIf non-nil, print timestamp in the minibuffer when point is moved.
erc-hide-timestampsIf non-nil, timestamps will be invisible.
erc-insert-away-timestamp-functionFunction to use to insert the away timestamp.
erc-insert-timestamp-functionFunction to use to insert timestamps.
erc-stamp--allow-unmanaged-pNon-nil means run ‘erc-add-timestamp’ almost unconditionally.
erc-stamp--current-timeThe current time when calling ‘erc-insert-timestamp-function’.
erc-stamp--date-format-endTristate value indicating how and whether date stamps have been set up.
erc-stamp--date-modeNon-nil if Erc-Stamp--Date mode is enabled.
erc-stamp--date-mode-hookHook run after entering or leaving ‘erc-stamp--date-mode’.
erc-stamp--date-stampsList of stamps in the current buffer.
erc-stamp--deferred-date-stampActive ‘erc-stamp--date’ instance.
erc-stamp--display-margin-modeNon-nil if Erc-Stamp--Display-Margin mode is enabled.
erc-stamp--display-margin-mode-hookHook run after entering or leaving ‘erc-stamp--display-margin-mode’.
erc-stamp--inherited-propsExtant properties at the start of a message inherited by the stamp.
erc-stamp--insert-date-hookHook run when inserting a date stamp.
erc-stamp--invisible-propertyExisting ‘invisible’ property value and/or symbol ‘timestamp’.
erc-stamp--margin-left-pWhether ‘erc-stamp--display-margin-mode’ uses the left margin.
erc-stamp--margin-widthWidth in columns of margin for ‘erc-stamp--display-margin-mode’.
erc-stamp--omit-properties-on-folded-linesSkip properties before right stamps occupying their own line.
erc-stamp--permanent-cursor-sensor-functionsNon-nil means add ‘cursor-sensor-functions’ unconditionally.
erc-stamp--skip-left-margin-prompt-pDon’t display prompt in left margin.
erc-stamp--skip-when-invisibleEscape hatch for omitting stamps when first char is invisible.
erc-stamp-modeNon-nil if Erc-Stamp mode is enabled.
erc-stamp-mode-hookHook run after entering or leaving ‘erc-stamp-mode’.
erc-stamp-prepend-date-stamps-pWhen non-nil, date stamps are not independent messages.
erc-timestamp-formatIf set to a string, messages will be timestamped.
erc-timestamp-format-leftFormat recognized by ‘format-time-string’ for date stamps.
erc-timestamp-format-rightIf set to a string, messages will be timestamped.
erc-timestamp-intangibleWhether the timestamps should be intangible, i.e. prevent the point
erc-timestamp-last-insertedLast timestamp inserted into the buffer.
erc-timestamp-last-inserted-leftLast "date stamp" inserted into the left side of the buffer.
erc-timestamp-last-inserted-rightLast timestamp inserted into the right side of the buffer.
erc-timestamp-last-window-widthThe width of the last window that showed the current buffer.
erc-timestamp-only-if-changed-flagNon-nil means insert timestamp only if its value changed since last insertion.
erc-timestamp-right-columnIf non-nil, the column at which the timestamp is inserted,
erc-timestamp-use-align-toIf non-nil, use the :align-to display property to align the stamp.

Defined functions (54)

copy-erc-stamp--date(ARG)
erc--echo-ts-csf(WINDOW BEFORE DIR)
erc--insert-timestamp-left(&rest ARGS)
erc-add-timestamp()
erc-echo-timestamp(DIR STAMP &optional ZONE)
erc-format-timestamp(TIME FORMAT)
erc-hide-timestamps()
erc-insert-aligned(STRING POS)
erc-insert-timestamp-left(STRING)
erc-insert-timestamp-left-and-right(STRING)
erc-insert-timestamp-right(STRING)
erc-munge-invisibility-spec()
erc-show-timestamps()
erc-stamp--add-csf-on-post-modify()
erc-stamp--adjust-margin(COLS &optional RESETP)
erc-stamp--current-time()
erc-stamp--date-fn(erc-stamp--date-fn X)
erc-stamp--date-fn--inliner(INLINE--FORM X)
erc-stamp--date-marker(erc-stamp--date-marker X)
erc-stamp--date-marker--inliner(INLINE--FORM X)
erc-stamp--date-mode(&optional ARG)
erc-stamp--date-p(X)
erc-stamp--date-p--inliner(INLINE--FORM X)
erc-stamp--date-str(erc-stamp--date-str X)
erc-stamp--date-str--inliner(INLINE--FORM X)
erc-stamp--date-ts(erc-stamp--date-ts X)
erc-stamp--date-ts--inliner(INLINE--FORM X)
erc-stamp--dedupe-date-stamps(OLD-STAMPS)
erc-stamp--dedupe-date-stamps-from-buffer(OLD-BUFFER)
erc-stamp--dedupe-date-stamps-from-target-buffer(ORIG OLD-BUFFER NEW-BUFFER)
erc-stamp--defer-date-insertion-on-post-modify(HOOK-VAR)
erc-stamp--display-margin-mode(&optional ARG)
erc-stamp--display-prompt-in-left-margin()
erc-stamp--find-insertion-point(P TARGET-TIME)
erc-stamp--format-date-stamp(CT)
erc-stamp--init-margins-on-connect(&rest _)
erc-stamp--manage-local-options-state()
erc-stamp--on-clear-message(&rest _)
erc-stamp--propertize-left-date-stamp(&rest _)
erc-stamp--recover-on-reconnect()
erc-stamp--redo-right-stamp-post-clear(_ END)
erc-stamp--refresh-left-margin-prompt()
erc-stamp--reset-on-clear(ORIG BEG END)
erc-stamp--setup()
erc-stamp--time-as-day(CURRENT-TIME)
erc-stamp-disable()
erc-stamp-enable()
erc-stamp-inserting-date-stamp-p()
erc-stamp-mode(&optional ARG)
erc-stamp-prefix-log-filter(TEXT)
erc-timestamp-mode(&optional ARG)
erc-toggle-timestamps()
make-erc-stamp--date
make-erc-stamp--date--cmacro

Defined faces (1)

erc-timestamp-faceERC timestamp face.