finally discovered why emacs was printing filenames