[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60936: 30.0.50; ERC >5.5: Add erc-fill style based on visual-line-mo
From: |
J.P. |
Subject: |
bug#60936: 30.0.50; ERC >5.5: Add erc-fill style based on visual-line-mode |
Date: |
Tue, 24 Oct 2023 19:17:51 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
"J.P." <jp@neverwas.me> writes:
> v2. Fix date-stamp regression in erc-track. Optionally reinstate old
> "prepended" date-stamp behavior gated by new compat var.
>
> [...]
>
> @@ -665,19 +666,17 @@ erc-stamp--insert-date-stamp-as-phony-message
> (cl-assert string)
> (let ((erc-stamp--skip t)
> (erc--msg-props (map-into `((erc-msg . datestamp)
> - (erc-ts . ,erc-stamp--current-time))
> + (erc-ts . ,(erc-stamp--current-time)))
> 'hash-table))
> - (erc-send-modify-hook `(,@erc-send-modify-hook
> - erc-stamp--propertize-left-date-stamp
> - ,@erc-stamp--insert-date-hook))
> (erc-insert-modify-hook `(,@erc-insert-modify-hook
> - erc-stamp--propertize-left-date-stamp
> - ,@erc-stamp--insert-date-hook)))
> + erc-stamp--propertize-left-date-stamp))
> + ;; Don't run hooks that aren't expecting a narrowed buffer.
This also needs
(erc-insert-pre-hook nil)
> + (erc-insert-done-hook nil))
> (erc-display-message nil nil (current-buffer) string)
> (setq erc-timestamp-last-inserted-left string)))
because any hook member that can't operate in a narrowed buffer will
fail, especially on init, when the narrowed region is empty.
- bug#60936: 30.0.50; ERC >5.5: Add erc-fill style based on visual-line-mode, J.P., 2023/10/06
- bug#60936: 30.0.50; ERC >5.5: Add erc-fill style based on visual-line-mode, J.P., 2023/10/13
- bug#60936: 30.0.50; ERC >5.5: Add erc-fill style based on visual-line-mode, J.P., 2023/10/14
- bug#60936: 30.0.50; ERC >5.5: Add erc-fill style based on visual-line-mode, J.P., 2023/10/16
- bug#60936: 30.0.50; ERC >5.5: Add erc-fill style based on visual-line-mode, J.P., 2023/10/17
- bug#60936: 30.0.50; ERC >5.5: Add erc-fill style based on visual-line-mode, J.P., 2023/10/19
- bug#60936: 30.0.50; ERC >5.5: Add erc-fill style based on visual-line-mode, J.P., 2023/10/23
- bug#60936: 30.0.50; ERC >5.5: Add erc-fill style based on visual-line-mode, J.P., 2023/10/24
- bug#60936: 30.0.50; ERC >5.5: Add erc-fill style based on visual-line-mode, Corwin Brust, 2023/10/24
- bug#60936: 30.0.50; ERC >5.5: Add erc-fill style based on visual-line-mode,
J.P. <=
- bug#60936: 30.0.50; ERC >5.5: Add erc-fill style based on visual-line-mode, J.P., 2023/10/30
- bug#60936: 30.0.50; ERC >5.5: Add erc-fill style based on visual-line-mode, J.P., 2023/10/31