Max Nikulin <maniku...@gmail.com> writes: >>> run-mailcap --norun ~/path/to/script >> >> Note that mailcap.el does _not_ use run-mailcap or anything external. It >> is written purely in elisp. >> >> So, can you please report the output of M-: (mailcap-mime-info nil)? > > view-mode
Sorry, I did not consider that you customised mailcap-user-mime-data (I guess). No doubt your Emacs opens the script in other window. What about using emacs -Q? Best, Ihor