emacs: prints the type of completed entry on completion.