Autocomplete and camelcase
autocomplete, emacs
Solution
Yup, use `hippie-expand`:
(global-set-key (kbd "M-/") 'hippie-expand)
Check out the wiki page on it, and the terse manual page for it.
`hippie-expand` is like `dabbrev` (the default binding for M-/), but adds more capability, and in the process has fixed the camelcase issue you point out.
Problem
If I use `Meta-/` to autocomplete words like `ThisClass`, emacs gets confused and gives me either `THISCLASS` or `thisclass`. Worse yet, if I have typed `ThisC` and then autocomplete it gives `Thisclass` which is very frustrating. Is there a way to modify this behavior ?