Re: Ability to disable alternating face in erc-nicks
"J.P." <[email protected]> Fri, 04 Oct 2024 01:34:57 -0700
| Newsgroups | gmane.emacs.erc.general |
|---|---|
| Message-ID | <[email protected]> |
Trevor Arjeski <[email protected]> writes: > 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! One possible implementation: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67767#29 Alternative approaches welcome (though please reply to that bug thread if discussing code in depth). Thanks.