Ok, so, today I decided to learn abbrev. After wrestling a couple of minutes with the abbrev file because I'm using chemacs2, I finally defined an abbrev, and it worked. Well, kinda worked.
It seems that if I type out the abbrev really quickly and press M-'
, then it works, but inserts a dash after the needed expansion. If I type it out slowly, and then press M-'
, it just places the dash after the thing that I need to expand. Then, if I quickly typed the thing and expanded it with M-'
, I can expand it second time if I type it out and press C-x '
. If I JUST type it out and press C-x '
, nothing happens. I also tried doing it using hippie-expand, and it works, on the second time, printing "Using try-expand-all-abbrevs"
in the echo area.
I tried doing the same thing with completely clean emacs config (emacs -Q
), and the results are the same. My version of emacs is 28.0.50
. What am I doing wrong?