"J.P." writes: > Oof. Looks like `erc-get-fg-color-face' sets `erc-control-default-bg' in > its catch-all `cond' case. As you say, this produces: > > #("THIS TEXT IS FORMATTED" > 0 22 (font-lock-face (erc-control-default-bg bg:erc-color-face4))) > > And `erc-get-bg-color-face' sets `erc-control-default-fg'. Clearly, > whoever's responsible for this outrage should be banished. (Thanks.) Yes, that's part of the issue. However, `erc-controls-propertize' should also avoid adding the default fg/bg to the font lock face if n=99 to avoid overriding an existing fg,bg setting if fg=99,bg=x or bg=99,fg=x. This is trivially fixable and it's possible you already have a fix, but I'm attaching a patchset that works for me FWIW, just to illustrate what I had to change in order to make it work. Cheers, -A