[emacs] dev: enable the semantic mode when a C++ file is opened.