title: Extract emacs c style options from clang-format style
body: <p>A colleague provided me with a clang-format style file for a C++ project we are working on. I installed <a href="https://llvm.org/svn/llvm-project/cfe/trunk/tools/clang-format/clang-format.el" rel="noreferrer">clang-format.el</a> in order to be able to format a buffer from emacs. Reformatting works as expected. Emacs default c-mode indentation is still completely different, though.</p>
  
  <p>I find it quite disturbing to destroy the source code formatting when editing and restore it later. Is there any way to read a clang-format file and apply the corresponding cc-mode options?</p>