emacs/test/lisp/erc/resources/fill/snapshots
F. Jason Park 21b372a57b Improve erc-fill-wrap-merge refilling and movement
* lisp/erc/erc-fill.el (erc-fill--wrap-escape-hidden-speaker): Add
parameter to suppress escaping of hidden prefixes.
(erc-fill--wrap-beginning-of-line): Remember original value of point,
and pass it to `erc-fill--wrap-escape-hidden-speaker'.
(erc-fill--wrap-previous-line, erc-fill--wrap-next-line): Guard call
to `erc-fill--wrap-escape-hidden-speaker' with conditional check for
`erc-fill-wrap-merge'.
(erc-fill--wrap-insert-merged-pre): Add additional text property,
`erc-fill--wrap-merge', to help identify `display' regions servicing
`erc-fill-wrap-merge'.  This should make resolving inconsistencies
easier when "splicing" new messages between existing ones.
(erc-fill-wrap): Add `erc-fill--wrap-merge' text property to merged
speaker region.
(erc-fill--wrap-rejigger-region): Remove assertion disallowing a
non-nil `erc-fill--wrap-rejigger-last-message'.  Instead, adopt the
existing value of that variable when shadowing it for the remaining
extent of the function's execution.  When removing the `display'
property, also look for nonempty replacement text, such as values
specified by the option `erc-fill-wrap-merge-indicator'.
(erc-fill--wrap-merged-button-p): Look for `erc-fill--wrap-merge'
property instead of `display'.
* test/lisp/erc/resources/fill/snapshots/merge-01-start.eld: Update.
* test/lisp/erc/resources/fill/snapshots/merge-02-right.eld: Update.
* test/lisp/erc/resources/fill/snapshots/merge-wrap-01.eld: Update.
* test/lisp/erc/resources/fill/snapshots/merge-wrap-indicator-pre-01.eld:
Update.
* test/lisp/erc/resources/fill/snapshots/spacing-01-mono.eld: Update.
(Bug#60936)
2024-04-19 13:54:52 -07:00
..
merge-01-start.eld Improve erc-fill-wrap-merge refilling and movement 2024-04-19 13:54:52 -07:00
merge-02-right.eld Improve erc-fill-wrap-merge refilling and movement 2024-04-19 13:54:52 -07:00
merge-wrap-01.eld Improve erc-fill-wrap-merge refilling and movement 2024-04-19 13:54:52 -07:00
merge-wrap-indicator-pre-01.eld Improve erc-fill-wrap-merge refilling and movement 2024-04-19 13:54:52 -07:00
monospace-01-start.eld Restore leading space to right-margin stamps in ERC 2024-03-23 15:10:32 -07:00
monospace-02-right.eld Restore leading space to right-margin stamps in ERC 2024-03-23 15:10:32 -07:00
monospace-03-left.eld Restore leading space to right-margin stamps in ERC 2024-03-23 15:10:32 -07:00
monospace-04-reset.eld Restore leading space to right-margin stamps in ERC 2024-03-23 15:10:32 -07:00
spacing-01-mono.eld Improve erc-fill-wrap-merge refilling and movement 2024-04-19 13:54:52 -07:00
stamps-left-01.eld Add erc--spkr text property to chat messages 2023-12-17 20:17:55 -08:00