comint-mime

Homepage: https://github.com/astoff/comint-mime

Author: Augusto Stoffel

Updated:

Summary

Display content of various MIME types in comint buffers

Commentary

This package provides a mechanism to display graphics and other
kinds of "MIME attachments" in comint buffers.  The applications
depend on the type of comint.

In the regular shell, a command `mimecat' becomes available.  It
displays the contents of any file (or standard input) of a
supported format.

In the Python shell, it is possible to display inline plots, images
and, more generally, alternative representations of any object that
implements IPython's rich display interface.

To enable comint-mime, simply call `M-x comint-mime-setup' in the
desired comint buffer.  To enable it permanently, add that same
function to an appropriate hook, e.g.

    (add-hook 'shell-mode-hook 'comint-mime-setup)
    (add-hook 'inferior-python-mode-hook 'comint-mime-setup)

Dependencies