Re: Ability to disable alternating face in erc-nicks

Trevor Arjeski <[email protected]> Fri, 04 Oct 2024 11:13:55 +0300
Newsgroups gmane.emacs.erc.general
Message-ID <[email protected]>
Trevor Arjeski <[email protected]> writes:

Well, per usual, to make myself look like a complete fool, I immediately
found a hackfix after sending my last email.

  modified   erc-track.el
  @@ -944,7 +944,7 @@ NEW-FACES has a cdr."
       (or (and erc-track--alt-normals-function
                (funcall erc-track--alt-normals-function
                         cur-face choice new-faces normals))
  -        (and (equal choice cur-face)
  +        (and (not (equal choice cur-face))
                (gethash choice normals)
                (catch 'face
                  (progn
  
Simply adding that 'not' and setting `erc-nicks-track-faces t' (to not
override `erc-track--alt-normals-function' but still use nick colors)
seems to sort of do what I want.

Would still be nice to have an actual config to toggle this though!