Kelvin White writes: > In the Emacs 24.5 release there is an option to use network name as > the buffer name. Can you install this version and see if it solves the > issue? I'm still not quite sure where what your issue is specifically, > where you're seeing the problem exactly I tried emacs-git-25.0.50.r120726 now (without my patched erc-join.el), and tried setting the new option `erc-rename-buffers' to t, but that doesn't fix my problem. From what I can tell, the erc-join code doesn't care about buffer names (or the mode-line format), only erc-server-announced-name/erc-session-server, when choosing what channels to join. The problem is that the erc-server-announced-name/erc-session-server returned from my Weechat relay is "relay.irc" (while erc-network is the more useful 'freenode or 'Bitlbee). So say that I first join the freenode network through my relay, then join #fsf; now erc-autojoin-channels-alist will contain an entry ("relay.irc" "#fsf") Then I join the BitlBee network though my relay, which also has that same server-name "relay.irc", and erc tries to autojoin #fsf on the BitlBee network since it doesn't know how to tell that they're different From each other. (Similarly, I would have to use "relay.irc" as the key in erc-autojoin-channels-alist in order to autojoin anything at all on the first connect.) -- Kevin Brubeck Unhammer GPG: 0x766AC60C