hang is caused by doc-mode, enable semantic, disable doc-mode