I'm totally dumbfounded. I have two users on the same machine running macOS. Both of them have the same
.emacs, same iTerm profile. However the "delete" key works correctly as backspace for on one of them, but doesn't on the other. I know I can use
M-x normal-erase-is-backspace-mode to work around the issue, but it's very annoying. I don't really care whether it behaves one way or the other, as long as it's consistent. Any good suggestions on what might cause the discrepancy?
P.S. this only happens when I run emacs with
-nw. In the normal X window mode the delete/backspace works for both users