detect the emacs version