immerrr/lua-mode — Issue #23: revisit word-symbol handling
Author: immerrr
Created: 2012-01-18 20:23:33+00:00
State: open

Reported at lua mailing list. Putting here to be sure I won't forget about it after holidays.

```
lua-mode redefines "_" as a word-component; it shouldn't, as it
really messes with users' instincts, and makes Emacs commands less
useful. Historically this was often done by language-modes as an
simple (though misguided) expedient to allow them to safely use "\<"
and \>" in regexps matching keywords, but nowadays they shouldn't do
that, they should leave "_" alone and use "\_<" and "\_>" instead.
```