emacs: convert to use format-version 3