[emacs] Fix more byte compilation and other layout issues