I recently updated to emacs 25.1, and I'm noticing that sometimes escape sequences like [<8;38;34m
or [<8;20;27m
are being inserted into my document. I use emacs in the terminal (emacs -nw
). I use iTerm2 on macOS.
I haven't yet figured out what I do when this happens (I have thus far only noticed it after it happened). If I do I'll post more here.
Can any shed some light on what might be causing this? I can't figure out what ANSI escape sequence this might be. I haven't found a great list of sequences, but none of the ones I've seen have anything close to this.
ESC [
. It appears that the terminal is sending these escape sequences but Emacs doesn't support them. Are you running Emacs from some other program in the same terminal that might have activated mouse reporting? Can you reproduce this withemacs -q
(and if not post a.emacs
that reproduces the problem)? Withemacs -Q
?