Add debugging output to get_emacs_version