I'm using ERC (with ZNC) as my IRC client. I'm joined to quite a few channels and when I run
znc-all all my buffers are restored and the logs are replayed. This is all great.
What I find very annoying, however, is that while replaying the logs each channel buffer is popped to the front and I really can't do any other work at that time.
It's even more annoying when I'm reconnecting automatically after being temporarily disconnected. All of a sudden my work is interrupted by these channel buffers that pop to the front while the channel logs are replayed.
How can I tell ERC/ZNC to keep the buffers in the background when replaying chat logs? I don't want Emacs to ever switch buffers unless I explicitly ask it to switch buffers.