GNU bug report logs -
#60936
30.0.50; ERC >5.5: Add erc-fill style based on visual-line-mode
Previous Next
Reported by: "J.P." <jp <at> neverwas.me>
Date: Wed, 18 Jan 2023 14:55:02 UTC
Severity: normal
Tags: patch
Found in version 30.0.50
Fixed in version 30.1
Done: "J.P." <jp <at> neverwas.me>
Bug is archived. No further changes may be made.
Full log
Message #147 received at 60936 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
v2. Fix date-stamp regression in erc-track. Optionally reinstate old
"prepended" date-stamp behavior gated by new compat var.
Earlier changes for this feature introduced a regression involving date
stamps and the option `erc-track-exclude-types'. Basically, date stamps
aren't supposed to affect the mode line, at least so long as their
inciting message's command appears in `erc-track-exclude-types'.
However, this changed after
c68dc7786fc * Manage some text props for ERC insertion-hook members
To reproduce from -Q:
1. Connect and ensure "JOIN" appears in `erc-track-exclude-types'
2. Join #chan
3. From the server buffer, do
(with-current-buffer "#chan"
(setq erc-timestamp-last-inserted-left nil))
3. Connect and join #chan from another client
4. Notice a [#c] in the mode line of the original client
Thanks to Corwin for pointing this out. The way I'm proposing we tackle
this is to decouple date stamps from `erc-track-exclude-types'
completely. That is, have erc-track completely ignore them, so they
never affect the mode line.
In addition to this fix, I've also added a path for accessing the old
behavior in which date stamps aren't standalone messages.
[0000-v1-v2.diff (text/x-patch, attachment)]
[0001-lisp-erc-erc.el-erc-after-connect-Remove-package-ver.patch (text/x-patch, attachment)]
[0002-5.6-Ignore-date-stamps-in-erc-track.patch (text/x-patch, attachment)]
[0003-5.6-Ensure-marker-for-max-pos-in-erc-traverse-insert.patch (text/x-patch, attachment)]
This bug report was last modified 1 year and 28 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.