I found this mailing list message about multi-word abbreviations, but still can't get expansion to work.
I have these two abbreviations defined:
"agw" 0 "a great whale"
"a g w" 0 "a great whale"
pressing space after "agw" works, but not "a g w". However if I call
(abbrev-expansion "a g w")
, then the correct expansion is returned.
The question is how to get Emacs to search beyond one word boundary backwards?
Yes, yasnippet exists and I use it, but abbrev is more seamless (e.g. press space after "1/2" turns it into unicode half). I also don't want to change the syntax table.