Add ability to open info docs in Emacs.
Refactor handling of specific targets.