1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00
emacs/test/lisp/erc
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
..
resources Improve erc-fill-wrap-merge refilling and movement 2024-04-19 13:54:52 -07:00
erc-button-tests.el ; Load erc-compat before ert-x in ERC tests 2024-02-16 19:58:35 -08:00
erc-dcc-tests.el ; Simplify (with-current-buffer (get-buffer ...) ...) 2024-03-14 12:40:26 +02:00
erc-fill-tests.el Simplify option erc-merge-wrap-merge-indicator 2024-04-19 13:54:52 -07:00
erc-goodies-tests.el Remove unused faces from various erc-goodies tests 2024-03-23 15:10:32 -07:00
erc-join-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-match-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-networks-tests.el ; Simplify (with-current-buffer (get-buffer ...) ...) 2024-03-14 12:40:26 +02:00
erc-nicks-tests.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-sasl-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-auth-source.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-base-association-nick.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-base-association-query.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-base-association-samenet.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-base-association.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-base-attach.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-base-auto-recon.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-base-buffer-display.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-base-chan-modes.el Actually derive channel membership from PREFIX in ERC 2024-01-24 20:58:32 -08:00
erc-scenarios-base-compat-rename-bouncer.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-base-local-module-modes.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-base-local-modules.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-base-misc-regressions.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-base-netid-bouncer-id.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-base-netid-bouncer-recon-base.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-base-netid-bouncer-recon-both.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-base-netid-bouncer-recon-id.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-base-netid-bouncer.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-base-netid-samenet.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-base-reconnect.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-base-renick.el ; Improve erc-services and upgrade documentation 2024-04-19 13:54:52 -07:00
erc-scenarios-base-reuse-buffers.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-base-send-message.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-base-split-line.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-base-statusmsg.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-base-unstable.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-base-upstream-recon-soju.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-base-upstream-recon-znc.el Reassociate erc-networks--id for orphaned queries 2024-02-02 17:08:21 -08:00
erc-scenarios-display-message.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-ignore.el Allow updating of /IGNORE timeouts in ERC 2024-04-07 12:59:21 -07:00
erc-scenarios-internal.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-join-auth-source.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-join-display-context.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-join-netid-newcmd-id.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-join-netid-newcmd.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-join-netid-recon-id.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-join-netid-recon.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-scenarios-keep-place-indicator.el ; Fix typos 2024-01-28 17:11:51 +01:00
erc-scenarios-log.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-match.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-misc-commands.el Make erc-cmd-AMSG session local; add /GMSG, /AME and /GME 2024-02-23 18:45:44 -08:00
erc-scenarios-misc.el Reassociate erc-networks--id for orphaned queries 2024-02-02 17:08:21 -08:00
erc-scenarios-prompt-format.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-sasl.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-scenarios-scrolltobottom-relaxed.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-scrolltobottom.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-services-misc.el ; Simplify (with-current-buffer (get-buffer ...) ...) 2024-03-14 12:40:26 +02:00
erc-scenarios-stamp.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-scenarios-status-sidebar.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-services-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-stamp-tests.el Restore leading space to right-margin stamps in ERC 2024-03-23 15:10:32 -07:00
erc-tests.el Allow updating of /IGNORE timeouts in ERC 2024-04-07 12:59:21 -07:00
erc-track-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00