2

I would like w3m in emacs (in a terminal) to show me pictures.

Showing pictures in emacs gui works: images in emacs gui without terminal

Showing pictures in the terminal without emacs works: images in w3m without emacs

But in emacs w3m running in a terminal, no images are shown: no images in w3m in emacs in terminal

Pressing T doesn't help, instead I get the message "Can't display images in this environment".

But since emacs and termite are clearly able to show images from w3m, why not at the same time?

Additional information: I am using x86_64 Arch Linux 4.7 with GNU Emacs 24.5.1 and w3m 0.5.3 and the w3m package 20160727.837 in emacs

4
  • What's your question?
    – Drew
    Commented Aug 30, 2016 at 21:12
  • "But since emacs and termite are clearly able to show images from w3m, why not at the same time?" - Or in other words: What can I do to make it work?
    – Kaligule
    Commented Aug 30, 2016 at 21:38
  • This is a terrible hack that relies on a xterm-compatible terminal emulator and a working framebuffer. I wouldn't expect it to ever work under Emacs and its w3m package.
    – wasamasa
    Commented Aug 31, 2016 at 6:18
  • Some would say it is beautifull. But honestly, I have no idea how it works.
    – Kaligule
    Commented Aug 31, 2016 at 12:43

1 Answer 1

3

From elisp documentation:

Emacs is usually able to display images when it is run on a graphical terminal. Images cannot be displayed in a text terminal, on certain graphical terminals that lack the support for this, or if Emacs is compiled without image support.

So the answer is no.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.