Daniel Colascione writes: > On 05/23/2014 02:19 AM, Dima Kogan wrote: >> Hi. I'm using a very recent build of emacs from the VCS. With this build >> ERC gets very confused if global-subword-mode is on. I believe it worked >> fine just a few months ago. >> >> Recipe: >> >> 1. emacs -Q >> 2. (global-subword-mode) >> 3. M-x erc >> 4. Default values for the server, nickname, password, etc are fine to >> show the issue > > Thanks for the repro. This bug is probably due to my changing how > subword-mode works: now, forward-word will stop at subword boundaries, > and I'm guessing ERC was relying on the old behavior. I can try to take > a look at it if nobody who knows ERC better wants to try first. Here's a patch. It works, but I don't like how un-future-proof it is. An uncareful coder can simply use (forward-word) somewhere and get things to break again. Is there a better way?