legacy emacs urls and cleanup