"Trent W. Buck" writes: > This is a regression from 27.1 to 28.1. > > Steps to reproduce: > > 1. M-x rcirc > 2. /join #emacs RET > 3. > 3. hello world RET > 4. TAB > > Current/undesirable behaviour: > > "twb: " is inserted, since I was the last person to talk. > > Old/desired behaviour: > > "alice: " is inserted, since she was the last person to talk > WHO IS NOT ME. > > This trips me a lot more than you'd expect, because when in a > conversation with 1 other person, I often do "TAB yep RET". > I think most other people do "al TAB yep RET" if they are talking to alice, > i.e. a partial completion. > > I tried to find where this change landed, and > I'm wildly guessing it is here: > > https://github.com/emacs-mirror/emacs/commit/0b367ec39f41825f3eb2ce6acc4d2dd764ecc898 > https://github.com/emacs-mirror/emacs/commit/95fdd4b99bccc11f373c3b9d6cacee8269728344 > > Certainly (rcirc-channel-nicks (rcirc-buffer-process) rcirc-target) > includes my nick, and it is the first element if I talked last. I think that this diff should solve the situation: