I am new to emacs and I met a weird emacs problem, which I don't even know is a feature or what :)
Behavior:
The emacs is in the text-mode and turned off all the plugins, and I want to type ["ls"], but when I finish typing ] and wait for around 1 sec, the cursor will move to the second ". Then if I keep typing, let's say abc, then the text will become ["lsabc. When I switch to another buffer and switch back, the text will be back to normal ["ls"]abc.
Another scenario, in c-mode, when I type #define HI "hhhh, it becomes #dhhhh, which is really weird.
Does anyone have an idea of what happened here?
I am using Emacs (daemon/client) 26.1 under macOS 10.12.6, installed using homebrew, specifically, this binary package.